diff options
author | drh <drh@noemail.net> | 2013-01-16 20:33:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-01-16 20:33:02 +0000 |
commit | 7fe18b41052f11f68d21672f2ec65db0a1f761cf (patch) | |
tree | 153b132a3db71f6ab6c6ea0feee19ba2d78f43be /src | |
parent | 3bd5ab863810d4d8397e84742db1d6349e754406 (diff) | |
download | sqlite-7fe18b41052f11f68d21672f2ec65db0a1f761cf.tar.gz sqlite-7fe18b41052f11f68d21672f2ec65db0a1f761cf.zip |
Fix the activate_extensions pragma so that it is a no-op when the required
argument is omitted.
FossilOrigin-Name: 6195ebd83323eaad92a0aa095cce1094bf8e2ba6
Diffstat (limited to 'src')
-rw-r--r-- | src/pragma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pragma.c b/src/pragma.c index 7e8b59b8e..7d116d5bb 100644 --- a/src/pragma.c +++ b/src/pragma.c @@ -1733,7 +1733,7 @@ void sqlite3Pragma( }else #endif #if defined(SQLITE_HAS_CODEC) || defined(SQLITE_ENABLE_CEROD) - if( sqlite3StrICmp(zLeft, "activate_extensions")==0 ){ + if( sqlite3StrICmp(zLeft, "activate_extensions")==0 && zRight ){ #ifdef SQLITE_HAS_CODEC if( sqlite3StrNICmp(zRight, "see-", 4)==0 ){ sqlite3_activate_see(&zRight[4]); |