mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-02 05:54:29 +03:00
Fix harmless compiler warnings.
FossilOrigin-Name: 7f8802bb7be61fdf7c7a591945d533d848bc46d2989f7739dd9ad89e1b6a9c65
This commit is contained in:
@@ -1 +1 @@
|
||||
d6fac8a1d3efeb2c4f03dae437b5b314765c93770a70603803a8039291dbcabb
|
||||
7f8802bb7be61fdf7c7a591945d533d848bc46d2989f7739dd9ad89e1b6a9c65
|
||||
@@ -3706,14 +3706,16 @@ static int dump_callback(void *pArg, int nArg, char **azArg, char **azNotUsed){
|
||||
const char *zType;
|
||||
const char *zSql;
|
||||
ShellState *p = (ShellState *)pArg;
|
||||
int dataOnly;
|
||||
int noSys;
|
||||
|
||||
UNUSED_PARAMETER(azNotUsed);
|
||||
if( nArg!=3 || azArg==0 ) return 0;
|
||||
zTable = azArg[0];
|
||||
zType = azArg[1];
|
||||
zSql = azArg[2];
|
||||
int dataOnly = (p->shellFlgs & SHFLG_DumpDataOnly)!=0;
|
||||
int noSys = (p->shellFlgs & SHFLG_DumpNoSys)!=0;
|
||||
dataOnly = (p->shellFlgs & SHFLG_DumpDataOnly)!=0;
|
||||
noSys = (p->shellFlgs & SHFLG_DumpNoSys)!=0;
|
||||
|
||||
if( strcmp(zTable, "sqlite_sequence")==0 && !noSys ){
|
||||
if( !dataOnly ) raw_printf(p->out, "DELETE FROM sqlite_sequence;\n");
|
||||
|
||||
Reference in New Issue
Block a user