From 48005a98f0a4a29d08d714f04e3f85766fc79570 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 27 Apr 2020 11:42:21 +0300 Subject: [PATCH] Return something. --- module/Library/MySQL.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/Library/MySQL.cpp b/module/Library/MySQL.cpp index 57e17a42..6a5d417d 100644 --- a/module/Library/MySQL.cpp +++ b/module/Library/MySQL.cpp @@ -2671,6 +2671,8 @@ Array ResultSet::FetchFieldsArray(Array & fields) const field.SetIndex(Object(-1, vm)); // Insert a copy of the field instance into the array arr.SetValue(i, field); + // We're good + return SQ_OK; }); // Return the resulted array return arr; @@ -2726,6 +2728,8 @@ Table ResultSet::FetchFieldsTable(Array & fields) const field.SetIndex(Object(-1, vm)); // Insert a copy of the field instance into the table tbl.SetValue((pfields[field.GetIndex()].name == nullptr) ? ToStrF("", field.GetIndex()) : pfields[field.GetIndex()].name, field); + // We're good + return SQ_OK; }); // Return the resulted array return tbl;