issue 157 - Updated code so that no queries will execute when DB is not set and removed default escape char hack.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9129 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-09-08 14:57:31 +00:00
parent 662b3f0915
commit 02c7587226
2 changed files with 4 additions and 8 deletions

View file

@ -166,8 +166,6 @@
Context::setDBInfo($db_info);
// Create DB Instance
$oDB = &DB::getInstance();
// Force update dbParser
XmlQueryParser::getDBParser(true);
// Check if available to connect to the DB
if(!$oDB->isConnected()) return $oDB->getError();
// When installing firebire DB, transaction will not be used