oscar-broman/sqlitei — pull request #2 by Jessyy (2013-08-28 15:30:04+00:00)
Title: Fixed some tags and a debug print when the query is packed

Added tag 'bool:' for these functions (I asked you few days ago about them - "You're right - they should be tagged with bool."):
stock db_rewind(DBResult:dbrResult) {
stock db_set_row_index(DBResult:dbrResult, iRow) {
stock db_free_result_hook(DBResult:dbrResult) {
stock db_set_synchronous(DB:db, DB::e_SYNCHRONOUS_MODE:iValue) {
stock stmt_bind_value(&DBStatement:stStatement, iParam, DBDataType:iType, {Float, _}:...) {
stock stmt_skip_row(&DBStatement:stStatement) {
stock db_dump_table(DB:db, const szTable[], const szFilename[]) {
Fixed a debug problem when using 'db_prepare':
gs_dbsAccountLoadLastIP = db_prepare(gDB_ServerData, !"SELECT Ipv4, Autolog FROM ACCOUNTS WHERE Name = ?");
Before fix: 'SQLitei Debug: (db_prepare=2) Preparing statement with 1 params: EI,tgOCNWEm '
After fix: 'SQLitei Debug: (db_prepare=2) Preparing statement with 1 params: SELECT Ipv4, Autolog FROM ACCOUNTS WHERE Name = ?'
Removed the tag ('DBResult:') from this function 'stmt_free_result' because is not return any value.