aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-08-14 01:20:37 +0000
committerdrh <drh@noemail.net>2005-08-14 01:20:37 +0000
commit55ef4d9758ed27c332f07ca56fc9ba61cadfe2e7 (patch)
tree8f59d79014cb49e92d37a1ebe548537b6bdbadf1 /src/main.c
parent3d94662a062a5da6340568b5ad656c3057f053c5 (diff)
downloadsqlite-55ef4d9758ed27c332f07ca56fc9ba61cadfe2e7.tar.gz
sqlite-55ef4d9758ed27c332f07ca56fc9ba61cadfe2e7.zip
The case_sensitive_like pragma added.
Test cases added for the LIKE optimization. (CVS 2592) FossilOrigin-Name: 72ee21c05e618b6f46f5460f8c85779c72fe32d7
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 23dcd245f..a84f94f49 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.297 2005/08/11 02:10:19 drh Exp $
+** $Id: main.c,v 1.298 2005/08/14 01:20:39 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -471,6 +471,7 @@ int sqlite3_create_function(
p = sqlite3FindFunction(db, zFunctionName, nName, nArg, enc, 1);
if( p==0 ) return SQLITE_NOMEM;
+ p->flags = 0;
p->xFunc = xFunc;
p->xStep = xStep;
p->xFinalize = xFinal;