Commit dcc7fea4 authored by Aurel's avatar Aurel

min & max are not always defined

parent 53c45200
...@@ -59,11 +59,13 @@ BEGIN\n ...@@ -59,11 +59,13 @@ BEGIN\n
SELECT path \n SELECT path \n
FROM syncml\n FROM syncml\n
WHERE\n WHERE\n
gid >= <dtml-sqlvar min_gid type="string">\n
AND\n
gid <= <dtml-sqlvar max_gid type="string">\n
AND\n
path like <dtml-sqlvar path type="string">\n path like <dtml-sqlvar path type="string">\n
<dtml-if min_gid>\n
AND gid >= <dtml-sqlvar min_gid type="string">\n
</dtml-if>\n
<dtml-if max_gid>\n
AND gid <= <dtml-sqlvar max_gid type="string">\n
</dtml-if>\n
<dtml-var sql_delimiter>\n <dtml-var sql_delimiter>\n
COMMIT COMMIT
......
102 103
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment