mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 01:09:57 +09:00
revert to revision 8456
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8464 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d6a81c6ba9
commit
4b3e591956
4 changed files with 121 additions and 12 deletions
|
|
@ -5,14 +5,16 @@
|
|||
|
||||
function _test($xml_file, $argsString, $expected){
|
||||
$tester = new QueryTester();
|
||||
$outputString = $tester->getNewParserOutputString($xml_file, '"', $argsString);
|
||||
$outputString = $tester->getNewParserOutputString($xml_file, '"', $argsString, 'cubrid');
|
||||
|
||||
//echo $outputString;
|
||||
$output = eval($outputString);
|
||||
|
||||
if(!is_a($output, 'Query')){
|
||||
if(!$output->toBool()) $querySql = "Date incorecte! Query-ul nu a putut fi executat.";
|
||||
}else {
|
||||
$db = new DBCubrid();
|
||||
//$db = new DBCubrid();
|
||||
$db = &DB::getInstance('cubrid');
|
||||
$querySql = $db->getSelectSql($output);
|
||||
|
||||
// Remove whitespaces, tabs and all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue