We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8eb33 commit a5fc4d4Copy full SHA for a5fc4d4
lib/sqlite3/resultset.rb
@@ -123,7 +123,9 @@ def next
123
@driver.data_count( @stmt.handle ).times do |column|
124
type = @driver.column_type( @stmt.handle, column )
125
126
- if type == Constants::ColumnType::NULL
+ if type == Constants::ColumnType::TEXT
127
+ row << @driver.column_text( @stmt.handle, column )
128
+ elsif type == Constants::ColumnType::NULL
129
row << nil
130
elsif type == Constants::ColumnType::BLOB
131
row << @driver.column_blob( @stmt.handle, column )
0 commit comments