X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fdb%2Fsqlite3recordset.cpp;h=2ec07912f10d10fe15eac1e9209ba54e7d4061e8;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=e9cdf5fa572d382b4c44ab8c9979f50ef0cba8c1;hpb=d8f51eac91f86a1e00a05a5058a8fa9eb8732464;p=fms.git diff --git a/src/db/sqlite3recordset.cpp b/src/db/sqlite3recordset.cpp index e9cdf5f..2ec0791 100644 --- a/src/db/sqlite3recordset.cpp +++ b/src/db/sqlite3recordset.cpp @@ -1,5 +1,7 @@ #include "../../include/db/sqlite3db/sqlite3recordset.h" +#include + #ifdef XMEM #include #endif @@ -40,6 +42,18 @@ const char *Recordset::Get(const int row, const int field) } } +const char *Recordset::GetColumnName(const int column) +{ + if(column>=0 && column g(DB::instance()->m_mutex); if(sqlite3_get_table(db->GetDB(),sql.c_str(),&m_rs,&m_rows,&m_cols,NULL)==SQLITE_OK) { }