Fix - read table prefix from db_config file instead of always using default "xe_".

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8700 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-07-29 07:51:15 +00:00
parent 4ead81754f
commit abf5a1f5a3
5 changed files with 70 additions and 70 deletions

View file

@ -685,7 +685,7 @@
} }
function getParser(){ function getParser(){
return new DBParser('"'); return new DBParser('"', '"', $this->prefix);
} }
} }

View file

@ -715,7 +715,7 @@
} }
function getParser() { function getParser() {
return new DBParser('"'); return new DBParser('"', '"', $this->prefix);
} }
function getSelectSql($query, $with_values = true) { function getSelectSql($query, $with_values = true) {

View file

@ -515,7 +515,7 @@
} }
function getParser(){ function getParser(){
return new DBParser("[", "]"); return new DBParser("[", "]", $this->prefix);
} }
function queryError($queryObject){ function queryError($queryObject){

View file

@ -453,7 +453,7 @@
} }
function getParser(){ function getParser(){
return new DBParser('`'); return new DBParser('`', '`', $this->prefix);
} }
function queryError($queryObject){ function queryError($queryObject){

View file

@ -627,7 +627,7 @@ class DBPostgresql extends DB
} }
function getParser(){ function getParser(){
return new DBParser('"'); return new DBParser('"', '"', $this->prefix);
} }
} }