mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +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:
parent
9de5aa9980
commit
3337350b48
@ -218,7 +218,7 @@ void Field::SetIndex(const Object & field)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Object Field::GetStatement() const
|
Object Field::GetResultSet() const
|
||||||
{
|
{
|
||||||
return Object();
|
return Object();
|
||||||
}
|
}
|
||||||
@ -505,7 +505,7 @@ void Register_Field(Table & sqlns)
|
|||||||
.Prop(_SC("IsValid"), &Field::IsValid)
|
.Prop(_SC("IsValid"), &Field::IsValid)
|
||||||
.Prop(_SC("References"), &Field::GetRefCount)
|
.Prop(_SC("References"), &Field::GetRefCount)
|
||||||
.Prop(_SC("Index"), &Field::GetIndex)
|
.Prop(_SC("Index"), &Field::GetIndex)
|
||||||
.Prop(_SC("Statement"), &Field::GetStatement)
|
.Prop(_SC("ResultSet"), &Field::GetResultSet)
|
||||||
.Prop(_SC("Connection"), &Field::GetConnection)
|
.Prop(_SC("Connection"), &Field::GetConnection)
|
||||||
.Prop(_SC("Bool"), &Field::GetBoolean)
|
.Prop(_SC("Bool"), &Field::GetBoolean)
|
||||||
.Prop(_SC("Boolean"), &Field::GetBoolean)
|
.Prop(_SC("Boolean"), &Field::GetBoolean)
|
||||||
|
@ -94,7 +94,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------
|
||||||
static const Uint32 INVALID_INDEX;
|
static const Uint32 INVALID_INDEX; // Value that represents an invalid index.
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Default constructor (null).
|
* 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.
|
* Retrieve the referenced database connection.
|
||||||
@ -268,7 +268,7 @@ public:
|
|||||||
Object GetConnection() const;
|
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()
|
void Release()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user