mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
Issue 344 - error occurrence when using substr() in XML Query condition.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9483 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
36211cb65b
commit
c368fa189c
3 changed files with 19 additions and 1 deletions
|
|
@ -80,4 +80,11 @@
|
|||
and `item`.`item_srl` = 10';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function testSubstring(){
|
||||
$xml_file = _TEST_PATH_ . "db/xml_query/mysql/data/substring.xml";
|
||||
$argsString = '$args->var_start_mmdd = "1102"; ';
|
||||
$expected = 'select * from `xe_member` as `member` where substr(`extra_vars_t1`.`value`,5,4) >= 1102';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue