Added support to external hpfs per instance (#16)

This commit is contained in:
Chalith Desaman
2021-06-21 11:09:02 +05:30
committed by GitHub
parent d1b86ee173
commit ef74c6c92c
13 changed files with 267 additions and 10 deletions

View File

@@ -347,8 +347,8 @@ namespace sqlite
{
// Populate only the necessary fields.
info.status = std::string(reinterpret_cast<const char *>(sqlite3_column_text(stmt, 2)));
info.assigned_ports.peer_port = sqlite3_column_int64(stmt, 5);
info.assigned_ports.user_port = sqlite3_column_int64(stmt, 6);
info.assigned_ports.peer_port = sqlite3_column_int64(stmt, 6);
info.assigned_ports.user_port = sqlite3_column_int64(stmt, 7);
// Finalize and distroys the statement.
sqlite3_finalize(stmt);