|
From: John L. <jo...@na...> - 2004-08-11 11:07:17
|
Download: http://sourceforge.net/project/showfiles.php?group_id=42718 FEATURES ======= 1) New $ADODB_FORCE_TYPE support in GetUpdateSQL/GetInsertSQL. Thx to Niko. The behaviour of GetUpdateSQL() and GetInsertSQL() when converting empty or null PHP variables to SQL is controlled by the global $ADODB_FORCE_TYPE variable. Set it to one of the values below. Default is ADODB_FORCE_VALUE (3): 0 = ignore empty fields. All empty fields in array are ignored. 1 = force null. All empty, php null and string 'null' fields are changed to sql NULL values. 2 = force empty. All empty, php null and string 'null' fields are changed to sql empty '' or 0 values. 3 = force value. Value is left as it is. Php null and string 'null' are set to sql NULL values and empty fields '' are set to empty '' sql values. define('ADODB_FORCE_IGNORE',0); define('ADODB_FORCE_NULL',1); define('ADODB_FORCE_EMPTY',2); define('ADODB_FORCE_VALUE',3); 2) Bug fixes in Replace(). Thx to Alex. 3) Added ADODB_ASSOC_CASE support to postgres/postgres7 driver. 4) Support for DECLARE in oci8. Changes ======= Bug found in Replace() when performance logging enabled, introduced in ADOdb 4.50. Fixed. Replace() checks update stmt. If update stmt fails, we now return immediately. Thx to alex. Added support for $ADODB_FORCE_TYPE in GetUpdateSQL/GetInsertSQL. Thx to niko. Added ADODB_ASSOC_CASE support to postgres/postgres7 driver. Support for DECLARE in oci8. |