add some unit tests for CUBRID

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
lickawtl 2011-06-07 16:21:55 +00:00
parent d7cf3cb731
commit e41c45433e
10 changed files with 814 additions and 9 deletions

View file

@ -29,14 +29,14 @@
}
// singleton
function &getDBParser(){
/* function &getDBParser(){
static $dbParser;
if(!$dbParser){
$oDB = &DB::getInstance();
$dbParser = $oDB->getParser();
}
return $dbParser;
}
}*/
function getXmlFileContent($xml_file){
$buff = FileHandler::readFile($xml_file);
@ -45,7 +45,11 @@
unset($buff);
return $xml_obj;
}
function &getDBParser(){
if(!$this->dbParser)
$this->dbParser = new DBParser('"');
return $this->dbParser;
}
}
?>