Fixed issue 3513: wrong setupQuery realization

This commit is contained in:
Anatoly Galiulin
2015-11-06 10:24:23 +06:00
parent ae60f4ae76
commit c017904363
2 changed files with 5 additions and 7 deletions

View File

@@ -9,5 +9,7 @@ let name = "Dom"
db.exec(sql"INSERT INTO myTable (id, name) VALUES (0, ?)",
name)
doAssert db.getValue(sql"SELECT name FROM myTable") == name
# Check issue #3513
doAssert db.getValue(sql"SELECT name FROM myTable") == name
db.close()
db.close()