aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-01-22 19:44:03 +0000
committerdrh <drh@noemail.net>2016-01-22 19:44:03 +0000
commitc3dfa5eba74db8eae0dddff1424b24e7f5873dbe (patch)
tree387d638ae976d875530362edbc23c0c34f4ff1ea /src/os_unix.c
parent40aced5c654a3f3322f49fa9e4b2116f43167790 (diff)
downloadsqlite-c3dfa5eba74db8eae0dddff1424b24e7f5873dbe.tar.gz
sqlite-c3dfa5eba74db8eae0dddff1424b24e7f5873dbe.zip
Reenable the xCurrentTime and xGetLastError methods on the unix VFSes as long
as SQLITE_OMIT_DEPRECATED is not defined. FossilOrigin-Name: c11c85fdb6514cae54bb44945cc197dcaba72307
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5bd611694..ee9b55674 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6187,7 +6187,7 @@ static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
return rc;
}
-#if 0 /* Not used */
+#ifndef SQLITE_OMIT_DEPRECATED
/*
** Find the current time (in Universal Coordinated Time). Write the
** current time and date as a Julian Day number into *prNow and
@@ -6205,7 +6205,7 @@ static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
# define unixCurrentTime 0
#endif
-#if 0 /* Not used */
+#ifndef SQLITE_OMIT_DEPRECATED
/*
** We added the xGetLastError() method with the intention of providing
** better low-level error messages when operating-system problems come up