Fixed bug at29628

This commit is contained in:
David Anderson 2006-05-16 21:20:14 +00:00
parent a7de50a4bb
commit dc785a4369

View File

@ -229,7 +229,9 @@ const char *SQLResult::GetField(unsigned int field)
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)