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:
ucorina 2012-03-15 12:41:20 +00:00
parent ae99536662
commit d116d633c8
3 changed files with 189 additions and 186 deletions

View file

@ -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';