1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

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

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)

View File

@ -94,7 +94,7 @@ protected:
public:
// --------------------------------------------------------------------------------------------
static const Uint32 INVALID_INDEX;
static const Uint32 INVALID_INDEX; // Value that represents an invalid index.
/* --------------------------------------------------------------------------------------------
* Default constructor (null).
@ -258,9 +258,9 @@ public:
}
/* --------------------------------------------------------------------------------------------
* Retrieve the referenced database statement.
* Retrieve the referenced database result-set.
*/
Object GetStatement() const;
Object GetResultSet() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the referenced database connection.
@ -268,7 +268,7 @@ public:
Object GetConnection() const;
/* --------------------------------------------------------------------------------------------
* Release the reference to the referenced database statement and field index.
* Release the reference to the referenced database result-set and field index.
*/
void Release()
{