Update ODBCDriver2BlockOutputFormat.

This commit is contained in:
Nikolai Kochetov 2019-07-31 18:10:51 +03:00
parent 1347cf1359
commit 9c4aefe2ae

View File

@ -39,7 +39,7 @@ void ODBCDriver2BlockOutputFormat::writeRow(const Block & header, const Columns
{
{
WriteBufferFromString text_out(buffer);
header.getByPosition(row_idx).type->serializeAsText(*column, row_idx, text_out, format_settings);
header.getByPosition(column_idx).type->serializeAsText(*column, row_idx, text_out, format_settings);
}
writeODBCString(out, buffer);
}