Hi,

In the documentation for the .dump command for the sqlite3 shell
(http://www.sqlite.org/sqlite.html) there is an ellipsis after the name of
the table, implying that it is possible to specify multiple tables and
have more than one table dumped at once. However in the shell.c source
code, the line that checks for the dump command also requires less than 3
arguments, preventing multiple tables from being dumped:

   if( c=='d' && strncmp(azArg[0], "dump", n)==0 && nArg<3 ){

If this line was modified to be:

   if( c=='d' && strncmp(azArg[0], "dump", n)==0 ){

then it appears that the following of the code would already support
dumping multiple tables at once.


Regards,

Chris.



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to