1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Fixed a range error in the SQLite plugin when validating column indexes.

Added an extra flush overload to flush all elements in a handled manner.
Prefixed the Server table to not clutter the user space.
This commit is contained in:
Sandu Liviu Catalin
2016-03-13 13:39:17 +02:00
parent a00e8c964f
commit bab8146c89
5 changed files with 18 additions and 6 deletions

View File

@ -526,6 +526,17 @@ public:
*/
Int32 Flush(Uint32 num);
/* --------------------------------------------------------------------------------------------
* Flush all queries from the queue and handle errors manually.
*/
Int32 Flush(Object & env, Function & func)
{
// Validate the handle
Validate();
// Return the requested information
return Flush(m_Handle->mQueue.size(), env, func);
}
/* --------------------------------------------------------------------------------------------
* Flush a specific amount of queries from the queue and handle errors manually.
*/