|
|
|
@ -175,8 +175,8 @@ int main()
|
|
|
|
ResultSet *res = prep_stmt->executeQuery();
|
|
|
|
ResultSet *res = prep_stmt->executeQuery();
|
|
|
|
|
|
|
|
|
|
|
|
int i = 0;
|
|
|
|
int i = 0;
|
|
|
|
res->afterLast();
|
|
|
|
while (res->next()) {
|
|
|
|
while (res->previous()) {
|
|
|
|
|
|
|
|
int id = res->getInt("id");
|
|
|
|
int id = res->getInt("id");
|
|
|
|
string description = res->getString("description");
|
|
|
|
string description = res->getString("description");
|
|
|
|
int seconds = res->getInt("seconds");
|
|
|
|
int seconds = res->getInt("seconds");
|
|
|
|
|