sqlite: a minor fix

pull/3271/head
Charles WANG 2019-12-30 17:49:36 +08:00 committed by Alexander Medvednikov
parent 25beb7b3f4
commit ca62b66665
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ pub fn (db DB) q_string(query string) string {
stmt := &C.sqlite3_stmt(0)
C.sqlite3_prepare_v2(db.conn, query.str, - 1, &stmt, 0)
C.sqlite3_step(stmt)
f := C.sqlite3_column_text(stmt, 0)
res := tos_clone(C.sqlite3_column_text(stmt, 0))
C.sqlite3_finalize(stmt)
return res