Version 12.5.1 provides the following new features:
Date and time datatypes. See “Commands” in Chapter 2 in the Open Client Client-Library/C Reference Manual.
Extend High Availability failover to Embedded SQL™. See the “High-availability failover” section in Chapter 2 in the Open Client Client-Library/C Reference Manual.
Identity Update option. See ct_options in “Routines” in Chapter 3 in the Open Client Client-Library/C Reference Manual.
Support for the Chinese character set to follow the standard GB18030-2000. For additional information on directory services, see the chapters of the configuration guide for your platform.
Upgrade to Secure Socket Layer (SSL) 3.1.5. For additional information on security services, see the release bulletin for version 12.5.1 and the chapters of the Open Client/Server Configuration Guide for your platform.
BCP support for character set expansion when character set conversion is requested on the client’s side. See the bcp utility in Appendix A of the Open Client/Server Programmer’s Supplemental Guide for your platform.
To allow these features, you must set the cs_context structure with version CS_VERSION_125, using cs_ctx_alloc, as follows:
retcode = cs_ctx_alloc (CS_VERSION_125, context);
if (retcode != CS_SUCCEED)