aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-03-26 17:40:53 +0000
committerdrh <drh@noemail.net>2018-03-26 17:40:53 +0000
commitf0119b2e1bfc0457b61d4b00d73bafef9274cf17 (patch)
treeece6219dab62b0750f795ca54ca9b777215fd327 /src/sqliteInt.h
parent80262896d6d2103cd25499b4a3c61eb82c2df290 (diff)
downloadsqlite-f0119b2e1bfc0457b61d4b00d73bafef9274cf17.tar.gz
sqlite-f0119b2e1bfc0457b61d4b00d73bafef9274cf17.zip
Add infrastructure to support for using F_SETLKW with a timeout on system
that support that functionality. Requires SQLITE_ENABLE_SETLK_TIMEOUT. FossilOrigin-Name: 2e54a7433ece4eb27e71bda6f2d121d5aa46ddd5a481357d8543d1432aaad689
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index b10fe9432..d932ae87d 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -964,6 +964,7 @@ struct BusyHandler {
int (*xBusyHandler)(void *,int); /* The busy callback */
void *pBusyArg; /* First arg to busy callback */
int nBusy; /* Incremented with each busy call */
+ u8 bExtraFileArg; /* Include sqlite3_file as callback arg */
};
/*
@@ -4103,7 +4104,7 @@ void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
CollSeq *sqlite3GetCollSeq(Parse*, u8, CollSeq *, const char*);
char sqlite3AffinityType(const char*, u8*);
void sqlite3Analyze(Parse*, Token*, Token*);
-int sqlite3InvokeBusyHandler(BusyHandler*);
+int sqlite3InvokeBusyHandler(BusyHandler*, sqlite3_file*);
int sqlite3FindDb(sqlite3*, Token*);
int sqlite3FindDbName(sqlite3 *, const char *);
int sqlite3AnalysisLoad(sqlite3*,int iDB);