diff options
author | jinqiang zhang <peeweep@0x0.ee> | 2023-02-27 03:48:53 +0000 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2023-02-27 11:51:48 +0800 |
commit | ffe471c94e951ca0a78f8fd69c60db4a65e1cb95 (patch) | |
tree | dc52c94eacf3afa8c2eafa98193cb7f3a3fd385c | |
parent | b0f045843e9fdd7b9bf3dc62332f50748837cce3 (diff) | |
download | ibus-pinyin-ffe471c94e951ca0a78f8fd69c60db4a65e1cb95.tar.gz |
Fix sqlite 3.41.0 build failed
As sqlite 3.41.0 release note say:
The double-quoted string misfeature is now disabled by default for CLI
builds. Legacy use cases can reenable the misfeature at run-time using
the ".dbconfig dqs_dml on" and ".dbconfig dqs_ddl on" commands.
We should change this double quote to single quote
Ref: https://bugs.gentoo.org/896366
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
-rw-r--r-- | data/db/english/english.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/db/english/english.awk b/data/db/english/english.awk index 1828d2c..16b58a7 100644 --- a/data/db/english/english.awk +++ b/data/db/english/english.awk @@ -16,7 +16,7 @@ BEGIN { } # Insert data into english table - { printf "INSERT INTO english (word, freq) VALUES (\"%s\", \"%f\");\n", $1, $2} + { printf "INSERT INTO english (word, freq) VALUES (\'%s\', %f);\n", $1, $2} #quit sqlite3 END { |