mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Return something.
This commit is contained in:
parent
42a0d2ed62
commit
48005a98f0
@ -2671,6 +2671,8 @@ Array ResultSet::FetchFieldsArray(Array & fields) const
|
|||||||
field.SetIndex(Object(-1, vm));
|
field.SetIndex(Object(-1, vm));
|
||||||
// Insert a copy of the field instance into the array
|
// Insert a copy of the field instance into the array
|
||||||
arr.SetValue(i, field);
|
arr.SetValue(i, field);
|
||||||
|
// We're good
|
||||||
|
return SQ_OK;
|
||||||
});
|
});
|
||||||
// Return the resulted array
|
// Return the resulted array
|
||||||
return arr;
|
return arr;
|
||||||
@ -2726,6 +2728,8 @@ Table ResultSet::FetchFieldsTable(Array & fields) const
|
|||||||
field.SetIndex(Object(-1, vm));
|
field.SetIndex(Object(-1, vm));
|
||||||
// Insert a copy of the field instance into the table
|
// Insert a copy of the field instance into the table
|
||||||
tbl.SetValue((pfields[field.GetIndex()].name == nullptr) ? ToStrF("<field_%ld>", field.GetIndex()) : pfields[field.GetIndex()].name, field);
|
tbl.SetValue((pfields[field.GetIndex()].name == nullptr) ? ToStrF("<field_%ld>", field.GetIndex()) : pfields[field.GetIndex()].name, field);
|
||||||
|
// We're good
|
||||||
|
return SQ_OK;
|
||||||
});
|
});
|
||||||
// Return the resulted array
|
// Return the resulted array
|
||||||
return tbl;
|
return tbl;
|
||||||
|
Loading…
Reference in New Issue
Block a user