mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
Db Bug fix - skip condition if value is empty string.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9546 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9890b889ca
commit
82f117e32b
2 changed files with 17 additions and 1 deletions
|
|
@ -358,6 +358,18 @@
|
|||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function test_file_getFileList_Not_In_Empty_String_Value(){
|
||||
$xml_file = _XE_PATH_ . "modules/file/queries/getFileList.xml";
|
||||
$argsString = '$args->exclude_module_srl = ""; $args->s_module_srl = array(12); ';
|
||||
$expected = 'select "files".*
|
||||
from "xe_files" as "files"
|
||||
left join "xe_member" as "member" on "files"."member_srl" = "member"."member_srl"
|
||||
where "files"."module_srl" in (12)
|
||||
order by "files"."file_srl" desc
|
||||
limit 0, 20';
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
function test_document_getDeclaredList_In_Query(){
|
||||
$xml_file = _XE_PATH_ . "modules/document/queries/getDeclaredList.xml";
|
||||
$argsString = "\$args->list_count = 30;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue