Fix the range checks for column indexes in the SQLite module.

This commit is contained in:
Sandu Liviu Catalin
2016-08-25 23:50:11 +03:00
parent 11d5cff63b
commit e02014088b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ public:
*/
bool CheckColumn(Int32 idx) const
{
return (idx >= 0) && (idx <= mColumns);
return (idx >= 0) && (idx < mColumns);
}
/* --------------------------------------------------------------------------------------------