mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sqlite: a minor fix
This commit is contained in:
parent
25beb7b3f4
commit
ca62b66665
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user