1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Minor changes in the SQLite module comments.

This commit is contained in:
Sandu Liviu Catalin 2016-04-14 03:09:12 +03:00
parent 4eddf466f2
commit 25cc612855

View File

@ -201,22 +201,22 @@ protected:
*/ */
struct Handle struct Handle
{ {
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
Pointer mPtr; // The connection handle resource. Pointer mPtr; // The connection handle resource.
Counter mRef; // Reference count to the managed handle. Counter mRef; // Reference count to the managed handle.
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
Int32 mStatus; // The last status code of this connection handle. Int32 mStatus; // The last status code of this connection handle.
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
QueryList mQueue; // A queue of queries to be executed in groups. QueryList mQueue; // A queue of queries to be executed in groups.
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
Int32 mFlags; // The flags used to create the database connection handle. Int32 mFlags; // The flags used to create the database connection handle.
String mName; // The specified name to be used as the database file. String mName; // The specified name to be used as the database file.
String mVFS; // The specified virtual file system. String mVFS; // The specified virtual file system.
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
bool mMemory; // Whether the database exists in memory and not disk. bool mMemory; // Whether the database exists in memory and not disk.
bool mTrace; // Whether tracing was activated on the database. bool mTrace; // Whether tracing was activated on the database.
bool mProfile; // Whether profiling was activated on the database. bool mProfile; // Whether profiling was activated on the database.
@ -239,17 +239,17 @@ protected:
/* ... */ /* ... */
} }
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Destructor. * Destructor.
*/ */
~Handle(); ~Handle();
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Create the database connection resource. * Create the database connection resource.
*/ */
void Create(CSStr name, Int32 flags, CSStr vfs); void Create(CSStr name, Int32 flags, CSStr vfs);
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Execute a specific amount of queries from the queue. * Execute a specific amount of queries from the queue.
*/ */
Int32 Flush(Uint32 num, Object & env, Function & func); Int32 Flush(Uint32 num, Object & env, Function & func);
@ -593,7 +593,7 @@ protected:
*/ */
struct Handle struct Handle
{ {
// -------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
Pointer mPtr; // The statement handle resource. Pointer mPtr; // The statement handle resource.
Counter mRef; // Reference count to the managed handle. Counter mRef; // Reference count to the managed handle.
@ -631,17 +631,17 @@ protected:
/* ... */ /* ... */
} }
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Destructor. * Destructor.
*/ */
~Handle(); ~Handle();
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Create the database statement resource. * Create the database statement resource.
*/ */
void Create(CSStr query); void Create(CSStr query);
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Check whether a specific index is in range. * Check whether a specific index is in range.
*/ */
bool CheckIndex(Int32 idx) const bool CheckIndex(Int32 idx) const
@ -649,7 +649,7 @@ protected:
return (idx >= 0) && (idx <= mColumns); return (idx >= 0) && (idx <= mColumns);
} }
/* -------------------------------------------------------------------------------------------- /* ----------------------------------------------------------------------------------------
* Retrieve the column index associated with the specified name. * Retrieve the column index associated with the specified name.
*/ */
Int32 GetColumnIndex(CSStr name); Int32 GetColumnIndex(CSStr name);