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

* SET CHARACTER SET -> SET NAMES

* %p bug
This commit is contained in:
David Grudl
2007-01-30 21:50:04 +00:00
parent 6536dfb7dd
commit a2b1036a66
6 changed files with 12 additions and 12 deletions

View File

@@ -84,10 +84,10 @@ class DibiTranslator
}
// simple string means SQL
if (is_string($arg) && (!$mod || 'p' == $mod)) {
if (is_string($arg) && (!$mod || 'sql' == $mod)) {
$mod = FALSE;
// will generate new mod
$sql[] = $this->formatValue($arg, 'p');
$sql[] = $this->formatValue($arg, 'sql');
continue;
}