diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-06-06 15:49:29 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-06-06 15:49:29 +0000 |
commit | bcb97fe95e5d66750156602a01a1c96f8aa18fbe (patch) | |
tree | b7a32dc5321d9635f080ee2b395864a06e767ee5 /src/os_unix.c | |
parent | 2eb95377ef7498a5ed48525ab1d75e68ae78aefa (diff) | |
download | sqlite-bcb97fe95e5d66750156602a01a1c96f8aa18fbe.tar.gz sqlite-bcb97fe95e5d66750156602a01a1c96f8aa18fbe.zip |
Add the xGetLastError() member function to the sqlite3_vfs structure. It is neither called nor implemented at this point. (CVS 5192)
FossilOrigin-Name: b8f1da52c303de20d40aa20a7a031728d5d69af5
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 9 |
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; |