mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Avoid union for step variable
This commit is contained in:
parent
d18bf51109
commit
2f68113e4a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class SQLite3::Statement < DB::Statement
|
||||||
end
|
end
|
||||||
|
|
||||||
# exec
|
# exec
|
||||||
step = nil
|
step = uninitialized LibSQLite3::Code
|
||||||
loop do
|
loop do
|
||||||
step = LibSQLite3::Code.new LibSQLite3.step(self)
|
step = LibSQLite3::Code.new LibSQLite3.step(self)
|
||||||
break unless step == LibSQLite3::Code::ROW
|
break unless step == LibSQLite3::Code::ROW
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue