We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
The text was updated successfully, but these errors were encountered:
Fixing incorrect bind call in db.prepare
67d20d3
https://github.com/kripken/sql.js/issues/115
This test passes in the latest version of Emscripten used in #255
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
issue55 is failing when compiling with latest Emscripten at
Error: NOT NULL constraint failed: networklocation.x
But if I run with the prepared statement:
Everything works fine.
The text was updated successfully, but these errors were encountered: