From 3a5563820ddfd6f5157aefb901f873b93c5f0ae0 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 15 Jul 2018 21:32:30 +0300 Subject: [PATCH] Fix the .FieldsTable property of the mysql ResultSet type which did not create a table but rather initialize a null object. --- modules/mysql/ResultSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mysql/ResultSet.cpp b/modules/mysql/ResultSet.cpp index f0d6f40f..f7648aa6 100644 --- a/modules/mysql/ResultSet.cpp +++ b/modules/mysql/ResultSet.cpp @@ -223,7 +223,7 @@ Table ResultSet::GetFieldsTable() const // Create a field instance to insert as copy Field field(m_Handle); // Allocate a table to be populated with field instances - Table tbl; + Table tbl(DefaultVM::Get(), fcount); // Iterate over all the available fields and insert them into the created table for (SQInteger n = 0; n < fcount; ++n) {