Fixed bug at29628
This commit is contained in:
parent
a7de50a4bb
commit
dc785a4369
@ -229,7 +229,9 @@ const char *SQLResult::GetField(unsigned int field)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return m_data[(m_currentRow + 1) * m_columnCount + field];
|
char *data = m_data[(m_currentRow + 1) * m_columnCount + field];
|
||||||
|
|
||||||
|
return (data ? data : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *SQLResult::GetField(const char *field)
|
const char *SQLResult::GetField(const char *field)
|
||||||
|
Loading…
Reference in New Issue
Block a user