1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Initial implementation of the sqlite3_file_control() interface.

Compiles and passes all historical tests but the new method is itself
untested. (CVS 4353)

FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82
This commit is contained in:
drh
2007-08-31 16:11:35 +00:00
parent 3570ad93d8
commit cc6bb3eaeb
13 changed files with 124 additions and 45 deletions

View File

@@ -977,9 +977,9 @@ static int winUnlock(sqlite3_file *id, int locktype){
}
/*
** Currently unimplemented
** No xFileControl operations are currently implemented.
*/
static int winBreakLock(sqlite3_file *id){
static int winFileControl(sqlite3_file *id){
return SQLITE_ERROR;
}
@@ -1028,8 +1028,8 @@ static const sqlite3_io_methods winIoMethod = {
winLock,
winUnlock,
winCheckReservedLock,
winBreakLock,
winLockState,
winFileControl,
winSectorSize,
winDeviceCharacteristics
};