mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 08:37:14 +02:00
Fix the range checks for column indexes in the SQLite module.
This commit is contained in:
@ -88,7 +88,7 @@ Int32 StmtHnd::GetColumnIndex(CSStr name)
|
||||
for (Int32 i = 0; i < mColumns; ++i)
|
||||
{
|
||||
// Get the column name at the current index
|
||||
CSStr name = (CSStr)sqlite3_column_name(mPtr, i);
|
||||
CSStr name = static_cast< CSStr >(sqlite3_column_name(mPtr, i));
|
||||
// Validate the name
|
||||
if (!name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user