Skip to content

Commit

Permalink
for apache#1316, add select_in_with_geography test case 2th.
Browse files Browse the repository at this point in the history
  • Loading branch information
haocao committed Oct 1, 2018
1 parent 91a047e commit 00bf551
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions sharding-core/src/test/resources/parser/select.xml
Original file line number Diff line number Diff line change
Expand Up @@ -432,18 +432,21 @@
</or-condition>
</parser-result>

<parser-result sql-case-id="select_in_with_geography" parameters="'{&quot;rule2&quot;:&quot;null2&quot;}', '{&quot;rule3&quot;:&quot;null3&quot;}', 100, 200, 1">
<parser-result sql-case-id="select_in_with_geography" parameters="'{&quot;rule2&quot;:&quot;null2&quot;}', '{&quot;rule3&quot;:&quot;null3&quot;}', 100, 200, 1, 2">
<tables>
<table name="t_place" />
<table name="t_order" />
</tables>
<tokens>
<table-token begin-position="14" original-literals="t_place" />
<table-token begin-position="14" original-literals="t_order" />
</tokens>
<or-condition>
<and-condition>
<condition column-name="user_new_id" table-name="t_place" operator="EQUAL">
<condition column-name="user_id" table-name="t_order" operator="EQUAL">
<value index="4" literal="1" type="int" />
</condition>
<condition column-name="order_id" table-name="t_order" operator="EQUAL">
<value index="5" literal="2" type="int" />
</condition>
</and-condition>
</or-condition>
</parser-result>
Expand Down

0 comments on commit 00bf551

Please sign in to comment.