1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-11 08:34:59 +02:00

- MS drivers: bool TRUE is now +1

- DibiDatabaseInfo: LONGTEXT is recognized as TEXT
This commit is contained in:
David Grudl
2009-08-13 12:08:31 +00:00
parent c2a2a4cd18
commit 8cc1d8b948
5 changed files with 5 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ class DibiFirebirdDriver extends DibiObject implements IDibiDriver
return $value;
case dibi::BOOL:
return $value ? -1 : 0;
return $value ? 1 : 0;
case dibi::DATE:
return date("'Y-m-d'", $value);