...
 
Commits (2)
......@@ -272,7 +272,7 @@ first_existing_file (const std::vector<String> &files)
* {PKGDATADIR}/db/android.db
*
* In ibus-pinyin context those are:
* ~/.cache/ibus/pinyin/local.db
* ~/.cache/ibus/pinyin/main.db
* /usr/share/pyzy/db/local.db
* /usr/share/pyzy/db/open-phrase.db
* /usr/share/pyzy/db/android.db
......@@ -745,7 +745,7 @@ Database::phraseSql (const Phrase &p, String &sql)
sql << ");\n";
sql << "UPDATE userdb.py_phrase_" << p.len - 1
<< " SET user_freq=user_freq+1";
<< " SET user_freq=MIN(user_freq+1, 65535)";
phraseWhereSql (p, sql);
sql << ";\n";
......
......@@ -52,7 +52,7 @@ lib_src = [
shared_library('pyzy-1.0',
lib_src,
soversion: '0',
version: '0.101.0',
version: '0.101.1',
dependencies: shared_dep,
install: true)
......
......@@ -43,7 +43,7 @@ lib_src = [
shared_library('pinyin_parser',
lib_src,
dependencies: [shared_dep, dependency('python3')],
install: true, install_dir: '/home/sylecn/c/gtk-im-module/sogou/')
install: true, install_dir: '/home/sylecn/c/gtk-im-module/sogou/scelexport/')
main_src = [
'../PinyinParser.cc',
......