diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-10-28 17:52:39 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-10-28 17:52:39 +0000 |
commit | 0f3f072d9f7e9d0f9e86dcb28e630ce5dad7a6ea (patch) | |
tree | 6e299a24209de47cbbb968b0ba6f95c681e3617b /src/func.c | |
parent | 52bd7912af9c4ced1b98f3d836f9543f7bcad29b (diff) | |
download | sqlite-0f3f072d9f7e9d0f9e86dcb28e630ce5dad7a6ea.tar.gz sqlite-0f3f072d9f7e9d0f9e86dcb28e630ce5dad7a6ea.zip |
Avoid exposing internal interfaces sqlite_attach() and sqlite_detach() as SQL scalar functions. Ticket #3466. (CVS 5846)
FossilOrigin-Name: 679c0b35aaa1ea488a205cc03802e7078a2bcf29
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/func.c b/src/func.c index 794950518..37338c680 100644 --- a/src/func.c +++ b/src/func.c @@ -16,7 +16,7 @@ ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** -** $Id: func.c,v 1.203 2008/09/03 17:11:16 drh Exp $ +** $Id: func.c,v 1.204 2008/10/28 17:52:39 danielk1977 Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -1217,9 +1217,6 @@ void sqlite3RegisterBuiltinFunctions(sqlite3 *db){ #ifndef SQLITE_OMIT_ALTERTABLE sqlite3AlterFunctions(db); #endif -#ifndef SQLITE_OMIT_PARSER - sqlite3AttachFunctions(db); -#endif if( !db->mallocFailed ){ int rc = sqlite3_overload_function(db, "MATCH", 2); assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); |