mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
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:
parent
4ead81754f
commit
abf5a1f5a3
5 changed files with 70 additions and 70 deletions
|
|
@ -685,7 +685,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getParser(){
|
function getParser(){
|
||||||
return new DBParser('"');
|
return new DBParser('"', '"', $this->prefix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -515,7 +515,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getParser(){
|
function getParser(){
|
||||||
return new DBParser("[", "]");
|
return new DBParser("[", "]", $this->prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
function queryError($queryObject){
|
function queryError($queryObject){
|
||||||
|
|
|
||||||
|
|
@ -452,8 +452,8 @@
|
||||||
return mysql_fetch_object($result);
|
return mysql_fetch_object($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getParser(){
|
function getParser(){
|
||||||
return new DBParser('`');
|
return new DBParser('`', '`', $this->prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
function queryError($queryObject){
|
function queryError($queryObject){
|
||||||
|
|
|
||||||
|
|
@ -627,7 +627,7 @@ class DBPostgresql extends DB
|
||||||
}
|
}
|
||||||
|
|
||||||
function getParser(){
|
function getParser(){
|
||||||
return new DBParser('"');
|
return new DBParser('"', '"', $this->prefix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue