mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
update DB::ExecResult#rows_affected to Int64
This commit is contained in:
parent
3b4b32e4e6
commit
bf26cdc24f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class SQLite3::Statement < DB::Statement
|
|||
rs.move_next
|
||||
rs.close
|
||||
|
||||
rows_affected = LibSQLite3.changes(connection)
|
||||
rows_affected = LibSQLite3.changes(connection).to_i64
|
||||
last_id = LibSQLite3.last_insert_rowid(connection)
|
||||
|
||||
DB::ExecResult.new rows_affected, last_id
|
||||
|
|
Loading…
Reference in a new issue