Skip to content

Test failures on compiling with latest Emscripten #115

@sunnygoyal

Description

@sunnygoyal

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions