mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
What is dead may never live.
This commit is contained in:
parent
1edc1930a3
commit
3e7adb8fea
@ -1361,7 +1361,7 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Index constructor.
|
||||
*/
|
||||
SQLiteColumn(StmtRef stmt, Int32 idx)
|
||||
SQLiteColumn(StmtRef stmt, Int32 idx)
|
||||
: m_Index(idx), m_Handle(std::move(stmt))
|
||||
{
|
||||
SQMOD_VALIDATE_COLUMN(*this, m_Index);
|
||||
@ -1379,7 +1379,7 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Dynamic constructor.
|
||||
*/
|
||||
SQLiteColumn(StmtRef stmt, const Object & column)
|
||||
SQLiteColumn(StmtRef stmt, const Object & column)
|
||||
: m_Index(-1), m_Handle(std::move(stmt))
|
||||
{
|
||||
if (!m_Handle)
|
||||
|
@ -394,6 +394,8 @@ public:
|
||||
void Terminate()
|
||||
{
|
||||
GetValid().Terminate();
|
||||
s_Intervals[m_Slot] = 0;
|
||||
m_Slot = SQMOD_MAX_ROUTINES;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user