Rebase to latest DB version and upgrade to Crystal 0.18

This commit is contained in:
Santiago Palladino 2016-07-04 12:13:39 -03:00
parent 7fcedc6711
commit 552b6e12b4
6 changed files with 48 additions and 9 deletions

View file

@ -41,15 +41,15 @@ describe DB::ResultSet do
end
the_rs.closed?.should be_true
end
end
it "should enumerate columns" do
cols = [] of String
with_dummy do |db|
db.query "3,4 1,2" do |rs|
rs.each_column do |col, col_type|
rs.each_column do |col|
cols << col
col_type.should eq(Slice(UInt8))
end
end
end