1
0
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:
Sandu Liviu Catalin
2016-06-03 22:25:06 +03:00
parent 525148ccd1
commit 201a6e0016
4 changed files with 51 additions and 1 deletions

View File

@ -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()