mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Added support for CUBRID 8.4.1. "RLIKE" statement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10070 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
353a842d68
commit
2ceea18a77
5 changed files with 52 additions and 7 deletions
|
|
@ -392,5 +392,13 @@
|
|||
where "expired" <= \'' . date("YmdHis") . '\'';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function test_rlike_1(){
|
||||
$xml_file = _TEST_PATH_ . "db/xml_query/cubrid/data/rlike1.xml";
|
||||
$argsString = '$args->title = "aaa";';
|
||||
$expected = 'select * from "xe_modules" as "modules" where "title" rlike \'aaa\'';
|
||||
define('__CUBRID_VERSION__', '8.4.1');
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
}
|
||||
11
tests/classes/db/db/xml_query/cubrid/data/rlike1.xml
Normal file
11
tests/classes/db/db/xml_query/cubrid/data/rlike1.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="testRlike1" action="select">
|
||||
<tables>
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="like" column="title" var="title" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue