mirror of
https://github.com/dg/dibi.git
synced 2025-08-18 20:02:20 +02:00
* quoteName -> delimite
* fixed mysql_connect bug
This commit is contained in:
@@ -112,7 +112,7 @@ class DibiPdoDriver extends DibiDriver
|
||||
}
|
||||
|
||||
|
||||
public function escape($value, $appendQuotes = FALSE)
|
||||
public function escape($value, $appendQuotes=TRUE)
|
||||
{
|
||||
if (!$appendQuotes) {
|
||||
trigger_error('dibi: escaping without qoutes is not supported by PDO', E_USER_WARNING);
|
||||
@@ -122,7 +122,7 @@ class DibiPdoDriver extends DibiDriver
|
||||
}
|
||||
|
||||
|
||||
public function quoteName($value)
|
||||
public function delimite($value)
|
||||
{
|
||||
// quoting is not supported by PDO
|
||||
return $value;
|
||||
|
Reference in New Issue
Block a user