mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-20 17:17:13 +02: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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user