mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Issue 1677: XML Query - If default value is column name, value should not be wrapped in quotes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10439 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ae99536662
commit
d116d633c8
3 changed files with 189 additions and 186 deletions
|
|
@ -200,11 +200,13 @@ class MysqlSelectTest extends MysqlTest {
|
|||
from `xe_modules` as `modules`
|
||||
, `xe_documents` as `documents`
|
||||
where (
|
||||
`documents`.`module_srl` in (566036,3777868)
|
||||
`documents`.`module_srl` not in (0)
|
||||
and `documents`.`module_srl` in (566036,3777868)
|
||||
and `modules`.`module_srl` = `documents`.`module_srl`)
|
||||
and `documents`.`list_order` <= 2100000000
|
||||
order by `documents`.`list_order` asc
|
||||
limit 20';
|
||||
|
||||
$this->_test($xml_file, $argsString, $expected);
|
||||
}
|
||||
|
||||
|
|
@ -253,7 +255,7 @@ class MysqlSelectTest extends MysqlTest {
|
|||
and `documents`.`document_srl` = `comments`.`document_srl`
|
||||
and `documents`.`status` in (\'public\',\'secret\')
|
||||
and `comments`.`content` like \'%dfsds%\')
|
||||
and comments.list_order <= 2100000000
|
||||
and `comments`.`list_order` <= 2100000000
|
||||
group by `documents`.`document_srl`
|
||||
order by `comments`.`list_order` asc
|
||||
limit 0, 20';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue