1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.

FossilOrigin-Name: 48fdec22c966003f5577e0bf52906ef90df11e4e395723a646304e67ed976f37
This commit is contained in:
dan
2021-06-22 18:32:05 +00:00
parent 020c4f3830
commit 2c7188732d
14 changed files with 63 additions and 42 deletions

View File

@@ -2207,7 +2207,7 @@ static int SQLITE_TCLAPI DbObjCmd(
return TCL_ERROR;
}
pResult = Tcl_GetObjResult(interp);
Tcl_SetIntObj(pResult, sqlite3_changes(pDb->db));
Tcl_SetWideIntObj(pResult, sqlite3_changes64(pDb->db));
break;
}
@@ -3255,7 +3255,7 @@ deserialize_error:
return TCL_ERROR;
}
pResult = Tcl_GetObjResult(interp);
Tcl_SetIntObj(pResult, sqlite3_total_changes(pDb->db));
Tcl_SetWideIntObj(pResult, sqlite3_total_changes64(pDb->db));
break;
}