Fixed a bug for caching invalid queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9127 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-09-08 09:54:05 +00:00
parent d1524e95b9
commit 338b70f0b3

View file

@ -166,7 +166,8 @@
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