diff options
author | drh <> | 2025-05-12 11:48:39 +0000 |
---|---|---|
committer | drh <> | 2025-05-12 11:48:39 +0000 |
commit | a0b34dcfc00f5dfb80d699dbe98875be15fb9e34 (patch) | |
tree | 6393ec87ebab4507fae1b977fa72c5d4ea591749 /ext/misc | |
parent | eb55814c62adecfcb586263c11e60fb24973b1ef (diff) | |
download | sqlite-a0b34dcfc00f5dfb80d699dbe98875be15fb9e34.tar.gz sqlite-a0b34dcfc00f5dfb80d699dbe98875be15fb9e34.zip |
Fix a coding mistake in vfstrace.
FossilOrigin-Name: f0054cc0bce4ed735796da1ea68b7773a582042bdd60fdae4e1af4c592104d15
Diffstat (limited to 'ext/misc')
-rw-r--r-- | ext/misc/vfstrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/vfstrace.c b/ext/misc/vfstrace.c index a3cb12197..9d75a8b64 100644 --- a/ext/misc/vfstrace.c +++ b/ext/misc/vfstrace.c @@ -581,7 +581,7 @@ static int vfstraceFileControl(sqlite3_file *pFile, int op, void *pArg){ const char *const* a = (const char*const*)pArg; if( a[1] && strcmp(a[1],"vfstrace")==0 && a[2] ){ const u8 *zArg = (const u8*)a[2]; - if( zArg[0]>='0' && zArg[0]<=9 ){ + if( zArg[0]>='0' && zArg[0]<='9' ){ pInfo->mTrace = (sqlite3_uint64)strtoll(a[2], 0, 0); }else{ static const struct { |