aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--captain/db.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/captain/db.f90 b/captain/db.f90
index 315bd10..1f9bc01 100644
--- a/captain/db.f90
+++ b/captain/db.f90
@@ -398,7 +398,7 @@ contains
type(sqlite3_stmt)::stmt
str = " "
- Print *, id
+
if(stmt%prepare(db, "SELECT name FROM instructions WHERE id=?") == SQLITE_OK) then
if(stmt%bind_int(1, id) == SQLITE_OK) then
if(stmt%step() == SQLITE_ROW) then