mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 03:39:56 +09:00
Issue 364 - Query error related escape characters.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9494 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0a9bfa02f
commit
0016c7963a
3 changed files with 21 additions and 13 deletions
|
|
@ -162,12 +162,10 @@
|
|||
$expected = 'select count(*) as [count]
|
||||
from [xe_module_grants] as [module_grants]
|
||||
where [module_srl] = ?
|
||||
and [name] in (?,?,?)
|
||||
and (
|
||||
[group_srl] >= ?
|
||||
or [group_srl] = ?
|
||||
or [group_srl] = ?
|
||||
)';
|
||||
$this->_test($xml_file, $argsString, $expected, array(67, array('\'access\'', '\'view\'', '\'list\''), 1, -1, -2));
|
||||
and [name] in (\'access\',\'view\',\'list\')
|
||||
and ([group_srl] >= 1
|
||||
or [group_srl] = -1
|
||||
or [group_srl] = -2)';
|
||||
$this->_test($xml_file, $argsString, $expected, array(67));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue