another fix (LIMIT is not a good idea to have in inband queries)

This commit is contained in:
Miroslav Stampar 2011-01-20 21:13:28 +00:00
parent ff1a44c335
commit f6d79f58bc

View File

@ -319,7 +319,7 @@
<blind query="SELECT tbl_name FROM sqlite_master WHERE type='table' LIMIT %d, 1" count="SELECT COUNT(tbl_name) FROM sqlite_master WHERE type='table'"/>
</tables>
<columns>
<inband query="SELECT sql FROM sqlite_master WHERE tbl_name='%s' LIMIT 1"/>
<inband query="SELECT MIN(sql) FROM sqlite_master WHERE tbl_name='%s'"/>
<blind query="SELECT sql FROM sqlite_master WHERE tbl_name='%s' LIMIT 1" condition=""/>
</columns>
<dump_table>