Add a pragma for activating proprietary extensions. (CVS 3441)
FossilOrigin-Name: c63d34ce0c7412852fdcf047bc388d2f9710f297
This commit is contained in:
parent
b1f1e6ebd7
commit
21e2cab932
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Fix\sa\sround-off\sproblem\sin\sthe\s%f\sconversion\sof\sstrftime().\sTicket\s#1991.\s(CVS\s3443)
|
||||
D 2006-09-25T18:01:32
|
||||
C Add\sa\spragma\sfor\sactivating\sproprietary\sextensions.\s(CVS\s3441)
|
||||
D 2006-09-25T18:01:57
|
||||
F Makefile.in cabd42d34340f49260bc2a7668c38eba8d4cfd99
|
||||
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
@ -79,7 +79,7 @@ F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
|
||||
F src/pager.c 0f966f7fa225c377da2021fbbfdd50a48d877000
|
||||
F src/pager.h 0cff9de5e9019cb695a04d18df8caaaff933a272
|
||||
F src/parse.y 8c79a1debbd92a4f5609511e9bf0222de78f5ecb
|
||||
F src/pragma.c eac5926df7e10b68fd6ff7bb9188fb296883502c
|
||||
F src/pragma.c 2ef4353448e202961a22312f34695128bbb6d69a
|
||||
F src/prepare.c 3d9a1bb0644e8bccb3b78cb0833d269719237f4e
|
||||
F src/printf.c b179b6ed12f793e028dd169e2e2e2b2a37eedc63
|
||||
F src/random.c d40f8d356cecbd351ccfab6eaedd7ec1b54f5261
|
||||
@ -399,7 +399,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
|
||||
P c037403bae0d78f9dd2703ff05cc3cd3ac54e062
|
||||
R 3473a6882a327cc3359dff5512fe210a
|
||||
P bf4608406a3246fe7a214cb31b79e51f86b7ee18
|
||||
R 9b8867776e153910d7e25ce6cb35824f
|
||||
U drh
|
||||
Z 164dbbe3708d0b9bc91dc413e902e635
|
||||
Z de7d1c8e1819c6ae6685f009829a8d65
|
||||
|
@ -1 +1 @@
|
||||
bf4608406a3246fe7a214cb31b79e51f86b7ee18
|
||||
c63d34ce0c7412852fdcf047bc388d2f9710f297
|
18
src/pragma.c
18
src/pragma.c
@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file contains code used to implement the PRAGMA command.
|
||||
**
|
||||
** $Id: pragma.c,v 1.123 2006/09/25 13:48:30 drh Exp $
|
||||
** $Id: pragma.c,v 1.124 2006/09/25 18:01:57 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
@ -947,6 +947,22 @@ void sqlite3Pragma(
|
||||
sqlite3_key(db, zRight, strlen(zRight));
|
||||
}else
|
||||
#endif
|
||||
#if SQLITE_HAS_CODEC || defined(SQLITE_ENABLE_CEROD)
|
||||
if( sqlite3StrICmp(zLeft, "activate_extensions")==0 ){
|
||||
#if SQLITE_HAS_CODEC
|
||||
if( sqlite3StrNICmp(zRight, "see-", 4)==0 ){
|
||||
extern void sqlite3_activate_see(const char*);
|
||||
sqlite3_activate_see(&zRight[4]);
|
||||
}
|
||||
#endif
|
||||
#ifdef SQLITE_ENABLE_CEROD
|
||||
if( sqlite3StrNICmp(zRight, "cerod-", 6)==0 ){
|
||||
extern void sqlite3_activate_cerod(const char*);
|
||||
sqlite3_activate_cerod(&zRight[6]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user