diff options
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/func.c b/src/func.c index 807b4574a..bb2f6c7b4 100644 --- a/src/func.c +++ b/src/func.c @@ -572,7 +572,7 @@ static void last_insert_rowid( ** Implementation of the changes() SQL function. ** ** IMP: R-62073-11209 The changes() SQL function is a wrapper -** around the sqlite3_changes() C/C++ function and hence follows the same +** around the sqlite3_changes64() C/C++ function and hence follows the same ** rules for counting changes. */ static void changes( @@ -587,7 +587,7 @@ static void changes( /* ** Implementation of the total_changes() SQL function. The return value is -** the same as the sqlite3_total_changes() API function. +** the same as the sqlite3_total_changes64() API function. */ static void total_changes( sqlite3_context *context, @@ -596,9 +596,9 @@ static void total_changes( ){ sqlite3 *db = sqlite3_context_db_handle(context); UNUSED_PARAMETER2(NotUsed, NotUsed2); - /* IMP: R-52756-41993 This function is a wrapper around the + /* IMP: R-52756-41993 This function was a wrapper around the ** sqlite3_total_changes() C/C++ interface. */ - sqlite3_result_int(context, sqlite3_total_changes(db)); + sqlite3_result_int64(context, sqlite3_total_changes64(db)); } /* |