mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 18:07: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:
parent
13d5a3af3f
commit
3a5563820d
@ -223,7 +223,7 @@ Table ResultSet::GetFieldsTable() const
|
|||||||
// Create a field instance to insert as copy
|
// Create a field instance to insert as copy
|
||||||
Field field(m_Handle);
|
Field field(m_Handle);
|
||||||
// Allocate a table to be populated with field instances
|
// 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
|
// Iterate over all the available fields and insert them into the created table
|
||||||
for (SQInteger n = 0; n < fcount; ++n)
|
for (SQInteger n = 0; n < fcount; ++n)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user