aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-10 19:01:14 +0000
committerdrh <drh@noemail.net>2014-09-10 19:01:14 +0000
commitf442e33e3a794b198071a9c5f76aa33eb74c3327 (patch)
treedac5fa82690fd0d639ad40c31cda70567b6a0aa7 /src/func.c
parente933b83f029d0c749346391c86a47217f7e294cb (diff)
downloadsqlite-f442e33e3a794b198071a9c5f76aa33eb74c3327.tar.gz
sqlite-f442e33e3a794b198071a9c5f76aa33eb74c3327.zip
Add the ".user" shell command and implement the sqlite3_user_add()
routine. Incremental check-in. The code compiles but does not work. FossilOrigin-Name: a0455f9deb603bf91684158d911269622720fc1a
Diffstat (limited to 'src/func.c')
-rw-r--r--src/func.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c
index e338ab842..94ad1b62d 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1695,6 +1695,9 @@ void sqlite3RegisterGlobalFunctions(void){
FUNCTION(sqlite_version, 0, 0, 0, versionFunc ),
FUNCTION(sqlite_source_id, 0, 0, 0, sourceidFunc ),
FUNCTION(sqlite_log, 2, 0, 0, errlogFunc ),
+#if SQLITE_USER_AUTHENTICATION
+ FUNCTION(sqlite_crypt, 2, 0, 0, sqlite3CryptFunc ),
+#endif
#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
FUNCTION(sqlite_compileoption_used,1, 0, 0, compileoptionusedFunc ),
FUNCTION(sqlite_compileoption_get, 1, 0, 0, compileoptiongetFunc ),