diff --git a/modules/mysql/ResultSet.cpp b/modules/mysql/ResultSet.cpp index 87e27a34..f0d6f40f 100644 --- a/modules/mysql/ResultSet.cpp +++ b/modules/mysql/ResultSet.cpp @@ -157,7 +157,7 @@ void ResultSet::ValidateField(Int32 idx) const #endif // _DEBUG // ------------------------------------------------------------------------------------------------ -Array ResultSet::FieldNames() const +Array ResultSet::GetFieldNames() const { SQMOD_VALIDATE_CREATED(*this); // Grab the number of available fields @@ -251,7 +251,7 @@ void Register_ResultSet(Table & sqlns) .Func(_SC("_tostring"), &ResultSet::ToString) // Properties .Prop(_SC("IsValid"), &ResultSet::IsValid) - .Prop(_SC("FieldNames"), &ResultSet::FieldNames) + .Prop(_SC("FieldNames"), &ResultSet::GetFieldNames) .Prop(_SC("FieldsArray"), &ResultSet::GetFieldsArray) .Prop(_SC("FieldsTable"), &ResultSet::GetFieldsTable) .Prop(_SC("RowIndex"), &ResultSet::RowIndex) diff --git a/modules/mysql/ResultSet.hpp b/modules/mysql/ResultSet.hpp index 94ebd614..9f2d8b3c 100644 --- a/modules/mysql/ResultSet.hpp +++ b/modules/mysql/ResultSet.hpp @@ -195,7 +195,7 @@ public: /* -------------------------------------------------------------------------------------------- * Returns an array with all the field names available in the managed result set. */ - Array FieldNames() const; + Array GetFieldNames() const; /* -------------------------------------------------------------------------------------------- * Returns an array with wrapper instances for all the field available in the managed result set.