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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user