[sqlite] Issue: Inconsistency of sqlite3_dbstat_register declaration

2015-05-11 Thread Jan Nijtmans
2015-05-11 16:33 GMT+02:00 Roger Binns : > On 05/11/2015 01:34 AM, Jan Nijtmans wrote: >> 2) If sqlite is not compiled with -DSQLITE_ENABLE_DBSTAT_VTAB=1, >> or the function is renamed (as it should) it wouldn't even work. > > That was my scenario. I just -DSQLITE_ENABLE_DBSTAT_VTAB and the code >

[sqlite] Issue: Inconsistency of sqlite3_dbstat_register declaration

2015-05-11 Thread Jan Nijtmans
2015-05-10 21:06 GMT+02:00 Roger Binns : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > There is a forward declaration of sqlite3_dbstat_register (currently > line 130871 in the 3.8.10.1 amalgamation): > > int sqlite3_dbstat_register(sqlite3*); > > Later is the actual implementation (curre

[sqlite] Issue: Inconsistency of sqlite3_dbstat_register declaration

2015-05-11 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/11/2015 01:34 AM, Jan Nijtmans wrote: > 2) If sqlite is not compiled with -DSQLITE_ENABLE_DBSTAT_VTAB=1, > or the function is renamed (as it should) it wouldn't even work. That was my scenario. I just -DSQLITE_ENABLE_DBSTAT_VTAB and the code di

[sqlite] Issue: Inconsistency of sqlite3_dbstat_register declaration

2015-05-10 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a forward declaration of sqlite3_dbstat_register (currently line 130871 in the 3.8.10.1 amalgamation): int sqlite3_dbstat_register(sqlite3*); Later is the actual implementation (currently line 155838 in the 3.8.10.1 amalgamation): SQLIT