diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-06-06 11:11:25 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-06-06 11:11:25 +0000 |
commit | 17b90b5316d385494415d2f4826fafda772e82b5 (patch) | |
tree | 50b7f9967da6bf20afa154f76cccc97e7e3c9468 /src/test_async.c | |
parent | 4b5255ac3140226c4bf9dfdf8eb3c7515a40cb32 (diff) | |
download | sqlite-17b90b5316d385494415d2f4826fafda772e82b5.tar.gz sqlite-17b90b5316d385494415d2f4826fafda772e82b5.zip |
Remove the xGetTempname() method from the vfs structure. Temp files are now opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190)
FossilOrigin-Name: 5173b3e816c7eb711cd21a9068bbafb9ebb7cff1
Diffstat (limited to 'src/test_async.c')
-rw-r--r-- | src/test_async.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test_async.c b/src/test_async.c index a2671fe68..5c02a9fe6 100644 --- a/src/test_async.c +++ b/src/test_async.c @@ -10,7 +10,7 @@ ** ************************************************************************* ** -** $Id: test_async.c,v 1.43 2008/06/05 11:39:11 danielk1977 Exp $ +** $Id: test_async.c,v 1.44 2008/06/06 11:11:26 danielk1977 Exp $ ** ** This file contains an example implementation of an asynchronous IO ** backend for SQLite. @@ -1167,11 +1167,6 @@ static int asyncAccess( return rc; } -static int asyncGetTempname(sqlite3_vfs *pAsyncVfs, int nBufOut, char *zBufOut){ - sqlite3_vfs *pVfs = (sqlite3_vfs *)pAsyncVfs->pAppData; - return pVfs->xGetTempname(pVfs, nBufOut, zBufOut); -} - /* ** Fill in zPathOut with the full path to the file identified by zPath. */ @@ -1271,7 +1266,6 @@ static sqlite3_vfs async_vfs = { asyncOpen, /* xOpen */ asyncDelete, /* xDelete */ asyncAccess, /* xAccess */ - asyncGetTempname, /* xGetTempName */ asyncFullPathname, /* xFullPathname */ asyncDlOpen, /* xDlOpen */ asyncDlError, /* xDlError */ |