1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-19 16:47:14 +02:00

Added options to control the memory allocated for the query queue.

Fixed const-correctness in several methods of the SQLite connection.
This commit is contained in:
Sandu Liviu Catalin
2016-03-23 05:50:58 +02:00
parent 1a312f7e7f
commit 41f5cfe663
3 changed files with 31 additions and 4 deletions

View File

@ -217,6 +217,8 @@ void RegisterAPI(HSQUIRRELVM vm)
.Overload< Int32 (Connection::*)(Int32) >(_SC("GetInfo"), &Connection::GetInfo)
.Overload< Int32 (Connection::*)(Int32, bool) >(_SC("GetInfo"), &Connection::GetInfo)
.Overload< Int32 (Connection::*)(Int32, bool, bool) >(_SC("GetInfo"), &Connection::GetInfo)
.Func(_SC("ReserveQueue"), &Connection::ReserveQueue)
.Func(_SC("CompactQueue"), &Connection::CompactQueue)
.Func(_SC("ClearQueue"), &Connection::ClearQueue)
.Func(_SC("PopQueue"), &Connection::PopQueue)
.Overload< Int32 (Connection::*)(void) >(_SC("Flush"), &Connection::Flush)