mirror of
https://github.com/dg/dibi.git
synced 2025-08-16 19:14:17 +02:00
- MS drivers: bool TRUE is now +1
- DibiDatabaseInfo: LONGTEXT is recognized as TEXT
This commit is contained in:
@@ -221,7 +221,7 @@ class DibiOdbcDriver extends DibiObject implements IDibiDriver
|
||||
return '[' . str_replace('.', '].[', $value) . ']';
|
||||
|
||||
case dibi::BOOL:
|
||||
return $value ? -1 : 0;
|
||||
return $value ? 1 : 0;
|
||||
|
||||
case dibi::DATE:
|
||||
return date("#m/d/Y#", $value);
|
||||
|
Reference in New Issue
Block a user