diff options
author | drh <drh@noemail.net> | 2013-01-03 22:22:55 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-01-03 22:22:55 +0000 |
commit | 89ded43b3602fee3a703b7ca28b7536e9f8d6a03 (patch) | |
tree | bfed6cb44a3e38bbd7e5c0fd2abf4905b83e7963 /src/shell.c | |
parent | bd36911f4d3449cdcac15db56bb1bf5684e779d4 (diff) | |
parent | 26de1e99568c0f04a7956f2503bd9fcf007d85e6 (diff) | |
download | sqlite-89ded43b3602fee3a703b7ca28b7536e9f8d6a03.tar.gz sqlite-89ded43b3602fee3a703b7ca28b7536e9f8d6a03.zip |
Merge recent trunk changes into the sessions branch.
FossilOrigin-Name: 7e068e39b3b31364271664e0afb1cd95a235c26f
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c index 7dd741b2d..4c50feb46 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1480,6 +1480,12 @@ static void open_db(struct callback_data *p){ #ifndef SQLITE_OMIT_LOAD_EXTENSION sqlite3_enable_load_extension(p->db, 1); #endif +#ifdef SQLITE_ENABLE_REGEXP + { + extern int sqlite3_add_regexp_func(sqlite3*); + sqlite3_add_regexp_func(db); + } +#endif } } |