mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Update crystal-db for logging support
This commit is contained in:
parent
5f6055f4bd
commit
59210df9ba
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
class SQLite3::Statement < DB::Statement
|
||||
def initialize(connection, sql)
|
||||
super(connection)
|
||||
check LibSQLite3.prepare_v2(sqlite3_connection, sql, sql.bytesize + 1, out @stmt, nil)
|
||||
def initialize(connection, command)
|
||||
super(connection, command)
|
||||
check LibSQLite3.prepare_v2(sqlite3_connection, command, command.bytesize + 1, out @stmt, nil)
|
||||
end
|
||||
|
||||
protected def perform_query(args : Enumerable) : DB::ResultSet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue