aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 13c0ee257..63e1950cc 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -12,7 +12,7 @@
**
** This file contains code that is specific to Unix systems.
**
-** $Id: os_unix.c,v 1.185 2008/06/06 11:11:26 danielk1977 Exp $
+** $Id: os_unix.c,v 1.186 2008/06/06 15:49:30 danielk1977 Exp $
*/
#include "sqliteInt.h"
#if OS_UNIX /* This file is used on unix only */
@@ -2775,6 +2775,10 @@ static int unixCurrentTime(sqlite3_vfs *pVfs, double *prNow){
return 0;
}
+static int unixGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){
+ return 0;
+}
+
/*
** Return a pointer to the sqlite3DefaultVfs structure. We use
** a function rather than give the structure global scope because
@@ -2800,7 +2804,8 @@ sqlite3_vfs *sqlite3OsDefaultVfs(void){
unixDlClose, /* xDlClose */
unixRandomness, /* xRandomness */
unixSleep, /* xSleep */
- unixCurrentTime /* xCurrentTime */
+ unixCurrentTime, /* xCurrentTime */
+ unixGetLastError /* xGetLastError */
};
return &unixVfs;