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