mirror of
https://github.com/dg/dibi.git
synced 2025-08-16 02:54:25 +02:00
- Oracle driver: implemented applyLimit() & getTables()
- DibiDataSource: removed key word AS - DibiProfiler: fixed bug with unbuffered queries - DibiTranslator: empty %and generates '1=1'
This commit is contained in:
@@ -210,7 +210,7 @@ final class DibiTranslator extends DibiObject
|
||||
case 'and':
|
||||
case 'or': // key=val AND key IS NULL AND ...
|
||||
if (empty($value)) {
|
||||
return $this->driver->escape(TRUE, 'b');
|
||||
return '1=1';
|
||||
}
|
||||
|
||||
foreach ($value as $k => $v) {
|
||||
|
Reference in New Issue
Block a user