mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-07-30 20:37:13 +02:00
Fix the range checks for column indexes in the SQLite module.
This commit is contained in:
@@ -94,7 +94,7 @@ public:
|
||||
*/
|
||||
bool CheckColumn(Int32 idx) const
|
||||
{
|
||||
return (idx >= 0) && (idx <= mColumns);
|
||||
return (idx >= 0) && (idx < mColumns);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user