Skip to content

Commit

Permalink
Fix filesize is nagative number
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Feb 2, 2024
1 parent f53f086 commit 80ad61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class EhDb {
this.#use_ffi = parse_bool(Deno.env.get("DB_USE_FFI") ?? "false");
if (this.#use_ffi) {
const DB = (await import("./utils/db_ffi.ts")).DbFfi;
this.db = new DB(this.#db_path);
this.db = new DB(this.#db_path, { int64: true });
} else {
const DB = (await import("./utils/db_wasm.ts")).DbWasm;
this.db = new DB(this.#db_path);
Expand Down

0 comments on commit 80ad61f

Please sign in to comment.