mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.4.2.1'
This commit is contained in:
@@ -25,7 +25,7 @@ class Xofc_cfg_mgr {
|
||||
public long Cache_min() {return cache_min;} public void Cache_min_(long v) {cache_min = v;} private long cache_min = Io_mgr.Len_mb * 75;
|
||||
public long Cache_max() {return cache_max;} public void Cache_max_(long v) {cache_max = v;} private long cache_max = Io_mgr.Len_mb * 100;
|
||||
public void Conn_(Db_conn v, boolean created, boolean schema_is_1) {
|
||||
tbl = new Db_cfg_tbl(v, schema_is_1 ? "xowa_cfg" : "file_cache_cfg");
|
||||
tbl = new Db_cfg_tbl(v, schema_is_1 ? gplx.xowa.wikis.data.Xowd_cfg_tbl_.Tbl_name : "file_cache_cfg");
|
||||
if (created) {
|
||||
tbl.Create_tbl();
|
||||
tbl.Insert_int(Cfg_grp, Cfg_key__next_id, 1);
|
||||
|
||||
@@ -85,7 +85,7 @@ class Fs_root_dir {
|
||||
conn = Db_conn_bldr.Instance.New(db_url);
|
||||
created = true;
|
||||
}
|
||||
cfg_tbl = new Db_cfg_tbl(conn, schema_is_1 ? "fsdb_cfg" : "xowa_cfg");
|
||||
cfg_tbl = new Db_cfg_tbl(conn, schema_is_1 ? "fsdb_cfg" : gplx.xowa.wikis.data.Xowd_cfg_tbl_.Tbl_name);
|
||||
fil_tbl.Conn_(conn, created, schema_is_1);
|
||||
if (created) {
|
||||
cfg_tbl.Create_tbl();
|
||||
|
||||
Reference in New Issue
Block a user