mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 10:02:12 +09:00
Added unit tests for correlated subqueries - select, from, where.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8556 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5d1eb1c21e
commit
1353ade0c2
41 changed files with 661 additions and 256 deletions
|
|
@ -12,8 +12,8 @@
|
|||
return _XE_PATH_ . $type ."/".$name."/queries/" . $query_name . ".xml";
|
||||
}
|
||||
|
||||
function getNewParserOutput($xml_file, $escape_char = '"', $db_type = NULL){
|
||||
$newXmlQueryParser = new XmlQueryParser($db_type);
|
||||
function getNewParserOutput($xml_file){
|
||||
$newXmlQueryParser = new XmlQueryParser();
|
||||
$xml_obj = $newXmlQueryParser->getXmlFileContent($xml_file);
|
||||
|
||||
$parser = new QueryParser($xml_obj->query);
|
||||
|
|
@ -58,9 +58,9 @@
|
|||
.'</pre>';
|
||||
}
|
||||
|
||||
function getNewParserOutputString($xml_file, $escape_char, $argsString, $db_type = NULL){
|
||||
function getNewParserOutputString($xml_file, $argsString){
|
||||
$outputString = '';
|
||||
$outputString = $this->getNewParserOutput($xml_file, $escape_char, $db_type);
|
||||
$outputString = $this->getNewParserOutput($xml_file);
|
||||
$outputString = $this->cleanOutputAndAddArgs($outputString, $argsString);
|
||||
return $outputString;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue