Make "test_regexp.c" into a loadable extension and move it over to

ext/misc/regexp.c.  Add the "load_static_extension" command for testing
purposes.

FossilOrigin-Name: 860fc393bff27045e0593c3c51bf5577accd0b79
This commit is contained in:
drh
2013-04-23 20:10:13 +00:00
parent da8caa0b2d
commit 248f2be91a
7 changed files with 89 additions and 63 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ set testdir [file dirname $argv0]
source $testdir/tester.tcl
do_test regexp1-1.1 {
sqlite3_add_regexp_func db
load_static_extension db regexp
db eval {
CREATE TABLE t1(x INTEGER PRIMARY KEY, y TEXT);
INSERT INTO t1 VALUES(1, 'For since by man came death,');