Fix wrong name in MySQL field wrapper since the field does not come from a statement but from a result-set.

This commit is contained in:
Sandu Liviu Catalin
2016-07-27 22:53:58 +03:00
parent 9de5aa9980
commit 3337350b48
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ void Field::SetIndex(const Object & field)
}
// ------------------------------------------------------------------------------------------------
Object Field::GetStatement() const
Object Field::GetResultSet() const
{
return Object();
}
@@ -505,7 +505,7 @@ void Register_Field(Table & sqlns)
.Prop(_SC("IsValid"), &Field::IsValid)
.Prop(_SC("References"), &Field::GetRefCount)
.Prop(_SC("Index"), &Field::GetIndex)
.Prop(_SC("Statement"), &Field::GetStatement)
.Prop(_SC("ResultSet"), &Field::GetResultSet)
.Prop(_SC("Connection"), &Field::GetConnection)
.Prop(_SC("Bool"), &Field::GetBoolean)
.Prop(_SC("Boolean"), &Field::GetBoolean)