mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
Moved call to getDBParser from XmlQueryParser.class.php to DB.class.php - because otherwise the XmlQueryParser would have been included even when it was not needed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9139 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b012937719
commit
e1bf4523c7
15 changed files with 17 additions and 18 deletions
|
|
@ -21,7 +21,6 @@
|
|||
require(_XE_PATH_.'classes/xml/xmlquery/argument/Argument.class.php');
|
||||
require(_XE_PATH_.'classes/xml/xmlquery/argument/SortArgument.class.php');
|
||||
require(_XE_PATH_.'classes/xml/xmlquery/argument/ConditionArgument.class.php');
|
||||
require(_XE_PATH_.'classes/xml/XmlQueryParser.class.php');
|
||||
|
||||
require(_XE_PATH_.'classes/db/queryparts/expression/Expression.class.php');
|
||||
require(_XE_PATH_.'classes/db/queryparts/expression/SelectExpression.class.php');
|
||||
|
|
@ -76,7 +75,7 @@
|
|||
var $cache_file = 'files/cache/queries/'; ///< location of query cache
|
||||
|
||||
var $db_type; ///< stores database type: 'mysql','cubrid','mssql' etc. or 'db' when database is not yet set
|
||||
|
||||
|
||||
/**
|
||||
* @brief returns instance of certain db type
|
||||
* @param[in] $db_type type of db
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
$this->columnList = $columnList;
|
||||
if(count($this->columnList) > 0) {
|
||||
$selectColumns = array();
|
||||
$dbParser = XmlQueryParser::getDBParser();
|
||||
$dbParser = DB::getParser();
|
||||
|
||||
foreach($this->columnList as $columnName){
|
||||
$columnName = $dbParser->escapeColumn($columnName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue