Skip to content
New issue

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

Test failures on compiling with latest Emscripten #115

Closed
sunnygoyal opened this issue Jul 26, 2015 · 1 comment · Fixed by #255
Closed

Test failures on compiling with latest Emscripten #115

sunnygoyal opened this issue Jul 26, 2015 · 1 comment · Fixed by #255

Comments

@sunnygoyal
Copy link

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)
@Taytay
Copy link
Contributor

Taytay commented Apr 26, 2019

This test passes in the latest version of Emscripten used in #255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants