Closed
Description
issue55 is failing when compiling with latest Emscripten at
db.run("INSERT INTO networklocation (x, y, network_id, floor_id) VALUES (?, ?, ?, ?)", [123, 123, 1, 1]);
Error: NOT NULL constraint failed: networklocation.x
But if I run with the prepared statement:
var stmt = db.prepare("INSERT INTO networklocation (x, y, network_id, floor_id) VALUES (?, ?, ?, ?)");
stmt.bind([123, 123, 1, 1]);
stmt.step();
stmt.free();
Everything works fine.
coffee -v
CoffeeScript version 1.9.3
emcc -v
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.34.3
clang version 3.7.0
Target: x86_64-apple-darwin14.4.0
Thread model: posix
INFO root: (Emscripten: Running sanity checks)
Metadata
Metadata
Assignees
Labels
No labels