1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00

Do not wipe table upon initialization, else will lose data after xomp_resume [#456]

This commit is contained in:
gnosygnu 2019-05-24 19:31:11 -04:00
parent 05e8c11338
commit cca043dff6

View File

@ -34,7 +34,6 @@ public class Xomp_stat_tbl implements Rls_able {
public Xomp_stat_tbl(Db_conn conn) {
this.conn = conn;
this.Create_tbl();
conn.Stmt_delete(tbl_name).Exec_delete(); // always zap table
conn.Rls_reg(this);
}
public void Create_tbl() {conn.Meta_tbl_create(Dbmeta_tbl_itm.New(tbl_name, flds, Dbmeta_idx_itm.new_unique_by_tbl(tbl_name, "pkey", fld_page_id)));}