mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-08 01:47:11 +02:00
Empty registration of the MySQL statement and result set.
This commit is contained in:
@ -33,6 +33,18 @@ Int32 Statement::Cmp(const Statement & o) const
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
CSStr Statement::ToString() const
|
||||
{
|
||||
// Do we have a valid handle?
|
||||
if (m_Handle)
|
||||
{
|
||||
m_Handle->mQuery.c_str();
|
||||
}
|
||||
// Default to an empty string
|
||||
return _SC("");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
Statement::Statement()
|
||||
: m_Handle()
|
||||
|
Reference in New Issue
Block a user