mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
Make a cosmetic adjustment
This commit is contained in:
parent
cbc5544a3b
commit
0a6ed63a04
@ -55,7 +55,7 @@ fn connection_set_busy_handler() {
|
||||
thread::spawn(move || {
|
||||
let mut connection = ok!(sqlite::open(&path));
|
||||
ok!(connection.set_busy_handler(|_| true));
|
||||
let statement = "INSERT INTO `users` (id, name, age, photo) VALUES (?, ?, ?, ?)";
|
||||
let statement = "INSERT INTO users (id, name, age, photo) VALUES (?, ?, ?, ?)";
|
||||
let mut statement = ok!(connection.prepare(statement));
|
||||
ok!(statement.bind(1, 2i64));
|
||||
ok!(statement.bind(2, "Bob"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user