forked from extern/egroupware
fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix
This commit is contained in:
parent
3918f2606c
commit
13bcf73178
@ -613,7 +613,7 @@ class ADODB_DataDict {
|
|||||||
|
|
||||||
|
|
||||||
// return string must begin with space
|
// return string must begin with space
|
||||||
function _CreateSuffix($fname,$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint)
|
function _CreateSuffix($fname,$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint,$funsigned)
|
||||||
{
|
{
|
||||||
$suffix = '';
|
$suffix = '';
|
||||||
if (strlen($fdefault)) $suffix .= " DEFAULT $fdefault";
|
if (strlen($fdefault)) $suffix .= " DEFAULT $fdefault";
|
||||||
|
@ -272,7 +272,7 @@ class ADODB2_postgres extends ADODB_DataDict {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// return string must begin with space
|
// return string must begin with space
|
||||||
function _CreateSuffix($fname, &$ftype, $fnotnull,$fdefault,$fautoinc,$fconstraint)
|
function _CreateSuffix($fname, &$ftype, $fnotnull,$fdefault,$fautoinc,$fconstraint,$funsigned)
|
||||||
{
|
{
|
||||||
if ($fautoinc) {
|
if ($fautoinc) {
|
||||||
$ftype = 'SERIAL';
|
$ftype = 'SERIAL';
|
||||||
|
Loading…
Reference in New Issue
Block a user