mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Add the xGetLastError() member function to the sqlite3_vfs structure. It is neither called nor implemented at this point. (CVS 5192)
FossilOrigin-Name: b8f1da52c303de20d40aa20a7a031728d5d69af5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user