Release file sql-wasm.js doesn't support JSON1 after rebuilding, but debug one does.
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 13.7k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I clone the project and did the modification in makefile to support JSON1.
CFLAGS = \
-O2 \
-DSQLITE_OMIT_LOAD_EXTENSION \
-DSQLITE_DISABLE_LFS \
-DSQLITE_ENABLE_FTS3 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_FTS5 \
-DSQLITE_ENABLE_JSON1 \
-DSQLITE_THREADSAFE=0 \
-DSQLITE_ENABLE_NORMALIZE
Then rebuild
npm run rebuild
The output files in dist folder, I found that only debug one (sql-wasm-debug.js) supports JSON1 by running some test code. But the release file sql-wasm.js doesn't support JSON1.
Is there any idea how to resolve this issue? Thank you
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start with the Makefile CFLAGS and the npm run rebuild entry point, then compare how sql-wasm.js and sql-wasm-debug.js are produced in dist. Reproduce the JSON1 test against both outputs and trace the release build configuration; done means the rebuilt release file supports JSON1 as the debug file does.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, sqlite, wasm
- 領域
- build-system, databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100