kopia lustrzana https://gitlab.com/tomaszg/geostat
Fix a bug introduced while reworking ocdb code
rodzic
70d6da5747
commit
5c37309c3d
2
ocdb.cpp
2
ocdb.cpp
|
@ -329,7 +329,7 @@ Caches OCdb::get_user_caches_not_found(const std::string& uuid) const {
|
||||||
while (res == SQLITE_ROW) {
|
while (res == SQLITE_ROW) {
|
||||||
Cache c;
|
Cache c;
|
||||||
if (sqlite3_column_text(stmt, 0)) c.code = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 0));
|
if (sqlite3_column_text(stmt, 0)) c.code = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 0));
|
||||||
if (sqlite3_column_text(stmt, 1)) c.name = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 1));
|
if (sqlite3_column_text(stmt, 1)) c.pos = Position(reinterpret_cast<const char*>(sqlite3_column_text(stmt, 1)));
|
||||||
if (sqlite3_column_text(stmt, 2)) c.region = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 2));
|
if (sqlite3_column_text(stmt, 2)) c.region = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 2));
|
||||||
c.status = ok;
|
c.status = ok;
|
||||||
cc.push_back(c);
|
cc.push_back(c);
|
||||||
|
|
Ładowanie…
Reference in New Issue