aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-03-06 21:43:19 +0000
committerdrh <drh@noemail.net>2018-03-06 21:43:19 +0000
commit9c6396ecc788531b166dcbba833ab65a39abf501 (patch)
tree258d891647e68be03aee06d5c50debe8f8802fb1 /src/tclsqlite.c
parent8784efaea94ea2ad37549db66e2c2b596223c26b (diff)
downloadsqlite-9c6396ecc788531b166dcbba833ab65a39abf501.tar.gz
sqlite-9c6396ecc788531b166dcbba833ab65a39abf501.zip
Improved documentation for sqlite3_serialize() and sqlite3_deserialize().
Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. FossilOrigin-Name: f07e97aed435b02e1473053c0257ec5c89bf0b3e46076b7a9382de432bbc2497
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r--src/tclsqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c
index 878cdd961..285fbbda2 100644
--- a/src/tclsqlite.c
+++ b/src/tclsqlite.c
@@ -2420,7 +2420,7 @@ static int SQLITE_TCLAPI DbObjCmd(
** Reopen DATABASE (default "main") using the content in $VALUE
*/
case DB_DESERIALIZE: {
-#ifndef SQLITE_ENABLE_MEMDB
+#ifndef SQLITE_ENABLE_DESERIALIZE
Tcl_AppendResult(interp, "MEMDB not available in this build",
(char*)0);
rc = TCL_ERROR;
@@ -2942,7 +2942,7 @@ static int SQLITE_TCLAPI DbObjCmd(
** Return a serialization of a database.
*/
case DB_SERIALIZE: {
-#ifndef SQLITE_ENABLE_MEMDB
+#ifndef SQLITE_ENABLE_DESERIALIZE
Tcl_AppendResult(interp, "MEMDB not available in this build",
(char*)0);
rc = TCL_ERROR;