aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in2
-rw-r--r--src/sqliteInt.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index 4c9e60769..1421ab419 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -4272,7 +4272,7 @@ static int expertDotCommand(
char *z = azArg[i];
int n;
if( z[0]=='-' && z[1]=='-' ) z++;
- n = strlen(z);
+ n = strlen30(z);
if( n>=2 && 0==strncmp(z, "-verbose", n) ){
pState->expert.bVerbose = 1;
}
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 35074ee81..757cfcb99 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1365,9 +1365,9 @@ struct sqlite3 {
int newTnum; /* Rootpage of table being initialized */
u8 iDb; /* Which db file is being initialized */
u8 busy; /* TRUE if currently initializing */
- u8 orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */
- u8 imposterTable : 1; /* Building an imposter table */
- u8 reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */
+ unsigned orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */
+ unsigned imposterTable : 1; /* Building an imposter table */
+ unsigned reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */
} init;
int nVdbeActive; /* Number of VDBEs currently running */
int nVdbeRead; /* Number of active VDBEs that read or write */