forked from extern/egroupware
[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:
parent
257aa829a3
commit
7ab746e386
@ -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 (2000–2049), and years over 50 as years in
|
||||
the 20th century (1950–1999). 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;
|
||||
|
Loading…
Reference in New Issue
Block a user