mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-06 15:49:35 +03:00
Clean up some compiler warnings (CVS 200)
FossilOrigin-Name: 490d08a8c19d52ebb41999371e2664e29bcb1164
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
** This file contains code to implement the "sqlite" command line
|
||||
** utility for accessing SQLite databases.
|
||||
**
|
||||
** $Id: shell.c,v 1.29 2001/01/04 14:27:08 drh Exp $
|
||||
** $Id: shell.c,v 1.30 2001/04/04 21:22:14 drh Exp $
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -584,6 +584,7 @@ static void do_meta_command(char *zLine, sqlite *db, struct callback_data *p){
|
||||
data.showHeader = 0;
|
||||
data.mode = MODE_Semi;
|
||||
if( nArg>1 ){
|
||||
extern int sqliteStrICmp(const char*,const char*);
|
||||
if( sqliteStrICmp(azArg[1],"sqlite_master")==0 ){
|
||||
char *new_argv[2], *new_colv[2];
|
||||
new_argv[0] = "CREATE TABLE sqlite_master (\n"
|
||||
|
||||
Reference in New Issue
Block a user