mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix #1422 incorrect quoting of expressions in XML queries
This commit is contained in:
parent
57b356f5fa
commit
28b3c2ef34
4 changed files with 35 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<query id="selectTest" action="select">
|
||||
<query id="selectTest1" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
12
tests/_data/dbquery/selectTest2.xml
Normal file
12
tests/_data/dbquery/selectTest2.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="selectTest2" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="readed_count + trackback_count" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="more" column="voted_count + blamed_count" var="voted_count" notnull="notnull" />
|
||||
<condition operation="equal" column="LEFT(regdate, 8)" var="date" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue