mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
User_wiki: Simplify creation of wiki database file and tables
This commit is contained in:
@@ -29,7 +29,7 @@ public class Xobc_data_db {
|
||||
this.tbl__host_regy = new Xobc_host_regy_tbl(conn);
|
||||
this.tbl__version_regy = new Xobc_version_regy_tbl(conn);
|
||||
this.tbl__lang_regy = new Xobc_lang_regy_tbl(conn);
|
||||
conn.Meta_tbl_assert(tbl__task_regy, tbl__step_regy, tbl__step_map, tbl__import_step, tbl__host_regy, tbl__version_regy);
|
||||
conn.Meta_tbl_assert(tbl__task_regy, tbl__step_regy, tbl__step_map, tbl__import_step, tbl__host_regy, tbl__version_regy, tbl__lang_regy);
|
||||
}
|
||||
public Db_conn Conn() {return conn;} private final Db_conn conn;
|
||||
public Io_url Url() {return url;} private final Io_url url;
|
||||
|
||||
@@ -30,9 +30,7 @@ public class Xobc_lang_regy_tbl implements Db_tbl {
|
||||
conn.Rls_reg(this);
|
||||
}
|
||||
public String Tbl_name() {return tbl_name;} private final String tbl_name;
|
||||
public void Create_tbl() {
|
||||
conn.Meta_tbl_create(Dbmeta_tbl_itm.New(tbl_name, flds));
|
||||
}
|
||||
public void Create_tbl() {conn.Meta_tbl_create(Dbmeta_tbl_itm.New(tbl_name, flds));}
|
||||
public Xobc_lang_regy_itm[] Select_all() {
|
||||
List_adp list = List_adp_.New();
|
||||
Db_rdr rdr = conn.Stmt_select(tbl_name, flds).Exec_select__rls_auto();
|
||||
|
||||
@@ -38,7 +38,6 @@ public class Xobc_filter_mgr {
|
||||
if ( Xow_domain_itm_.Match_lang(task_domain, lang_key_str)
|
||||
&& Xow_domain_itm_.Match_type(task_domain, type_key_str)
|
||||
)
|
||||
|
||||
tmp.Add(task);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user