[Oracle Support]

- Enable $noNullString in oci8 driver, this solves inserts blanks on NOT NULL columns that are not part of the 
primary key
- Fixes problems as group creation, and others
This commit is contained in:
José Luis Gordo Romero 2007-10-21 07:53:22 +00:00
parent 257aa829a3
commit 7ab746e386

View File

@ -30,8 +30,8 @@ For Oracle the default is dd-mon-yy or dd-mon-yyyy, and for SQL-92 the default i
yy-mm-dd or yyyy-mm-dd.
Using 'RR' in the format forces two-digit years less than or equal to 49 to be
interpreted as years in the 21st century (20002049), and years over 50 as years in
the 20th century (19501999). Setting the RR format as the default for all two-digit
interpreted as years in the 21st century (2000<EFBFBD>2049), and years over 50 as years in
the 20th century (1950<EFBFBD>1999). Setting the RR format as the default for all two-digit
year entries allows you to become year-2000 compliant. For example:
NLS_DATE_FORMAT='RR-MM-DD'
@ -72,7 +72,7 @@ class ADODB_oci8 extends ADOConnection {
var $_dropSeqSQL = "DROP SEQUENCE %s";
var $hasAffectedRows = true;
var $random = "abs(mod(DBMS_RANDOM.RANDOM,10000001)/10000000)";
var $noNullStrings = false;
var $noNullStrings = true;
var $connectSID = false;
var $_bind = false;
var $_hasOCIFetchStatement = false;