Better code

This commit is contained in:
Alexey Milovidov 2020-05-10 02:33:11 +03:00
parent 715b6f3617
commit 45b65a462e

View File

@ -14,7 +14,6 @@ namespace mysqlxx
StoreQueryResult::StoreQueryResult(MYSQL_RES * res_, Connection * conn_, const Query * query_) : ResultBase(res_, conn_, query_)
{
UInt64 rows = mysql_num_rows(res);
UInt32 num_fields = getNumFields();
reserve(rows);
lengths.resize(rows * num_fields);