rename types

This commit is contained in:
Brian J. Cardiff 2016-02-03 21:52:45 -03:00
parent 1d52f93879
commit 07ba7d6d51
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ class SQLite3::Connection < DB::Connection
end
def build_statement(query)
Statement2.new(self, query)
Statement.new(self, query)
end
def do_close

View file

@ -1,4 +1,4 @@
class SQLite3::ResultSet2 < DB::ResultSet
class SQLite3::ResultSet < DB::ResultSet
@column_index = 0
protected def do_close

View file

@ -1,4 +1,4 @@
class SQLite3::Statement2 < DB::Statement
class SQLite3::Statement < DB::Statement
def initialize(connection, sql)
super(connection)
check LibSQLite3.prepare_v2(@connection, sql, sql.bytesize + 1, out @stmt, nil)
@ -9,7 +9,7 @@ class SQLite3::Statement2 < DB::Statement
args.each_with_index(1) do |arg, index|
bind_arg(index, arg)
end
ResultSet2.new(self)
ResultSet.new(self)
end
protected def perform_exec(args : Slice(DB::Any))