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:
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user