BUG Fix PostgreSQL error when creating a table for namespaced data object.

This issue is caused by the presence of backslash characters (PHP namespace delimiter) in entity names
This commit is contained in:
Saophalkun Ponlu 2012-07-18 14:36:08 +12:00
parent bb07e6cfd5
commit eeaa32a148

View File

@ -234,6 +234,7 @@ class PostgreSQLDatabase extends SS_Database {
$starttime = microtime(true);
}
$sql = str_replace("\\", "_", $sql);
$handle = pg_query($this->dbConn, $sql);
if(isset($_REQUEST['showqueries'])) {