1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Fix the .FieldsTable property of the mysql ResultSet type which did not create a table but rather initialize a null object.

This commit is contained in:
Sandu Liviu Catalin 2018-07-15 21:32:30 +03:00
parent 13d5a3af3f
commit 3a5563820d

View File

@ -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)
{