The tables help says:
<pre>
.tables ?PATTERN? List names of tables matching a LIKE pattern
</pre>
However the code does this:
<pre>
"WHERE type IN ('table','view') AND name LIKE '%'||shellstatic()||'%' "
</pre>
This means the wildcard % is added on either side of what the user supplied. The help should either be corrected to say "List names of tables with PATTERN in their name" (matches the code) or the code shouldn't be adding % (ie match the doc).
<hr><i>rogerb added on 2009-10-05 04:16:17:</i><br>
dump treats the table names as a like pattern but doesn't mention it in the help/usage
<hr><i>shane added on 2009-10-24 02:00:11:</i><br>
Check-in [7201244e67].
|