mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
Fixed bug at18615 (Lazarus Long)
This commit is contained in:
parent
e3afe22a48
commit
eeb77395cd
@ -158,6 +158,8 @@ int SQLResult::Query(SQL *cn, const char *query)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (!m_rowCount)
|
||||||
|
return -1;
|
||||||
m_hasData = true;
|
m_hasData = true;
|
||||||
this->m_fieldNames = new String[m_columnCount];
|
this->m_fieldNames = new String[m_columnCount];
|
||||||
for (unsigned int i = 0; i < m_columnCount; i++)
|
for (unsigned int i = 0; i < m_columnCount; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user