mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
* quoteName -> delimite
* fixed mysql_connect bug
This commit is contained in:
@@ -125,7 +125,7 @@ class DibiSqliteDriver extends DibiDriver
|
||||
}
|
||||
|
||||
|
||||
public function escape($value, $appendQuotes = FALSE)
|
||||
public function escape($value, $appendQuotes=TRUE)
|
||||
{
|
||||
return $appendQuotes
|
||||
? "'" . sqlite_escape_string($value) . "'"
|
||||
@@ -133,7 +133,7 @@ class DibiSqliteDriver extends DibiDriver
|
||||
}
|
||||
|
||||
|
||||
public function quoteName($value)
|
||||
public function delimite($value)
|
||||
{
|
||||
return '[' . $value . ']';
|
||||
}
|
||||
|
Reference in New Issue
Block a user