Skip to content

Commit bd04b15

Browse files
committed
Removing a stat and fixing new stat in clause data
1 parent f8cd000 commit bd04b15

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

cmsat_tablestructure.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ CREATE TABLE `clauseStats` (
151151
`decision_level` int(20) NOT NULL,
152152
`trail_depth_level` int(20) NOT NULL,
153153
`cur_restart_type` char(20) NOT NULL,
154-
`cur_confl_in_restart` int(20) NOT NULL,
155154

156155
`atedecents_binIrred` int(20) NOT NULL,
157156
`atedecents_binRed` int(20) NOT NULL,

src/searcher.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,6 @@ void Searcher::dump_sql_clause_data(
14871487
, trail.size()
14881488
, params.conflictsDoneThisRestart
14891489
, restart_type_to_short_string(params.rest_type)
1490-
, stats
14911490
, hist
14921491
);
14931492
}

src/sqlitestats.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ void SQLiteStats::reduceDB(
921921

922922
void SQLiteStats::init_clause_stats_STMT()
923923
{
924-
const size_t numElems = 48;
924+
const size_t numElems = 49;
925925

926926
std::stringstream ss;
927927
ss << "insert into `clauseStats`"
@@ -945,7 +945,6 @@ void SQLiteStats::init_clause_stats_STMT()
945945
<< " `decision_level`,"
946946
<< " `trail_depth_level`,"
947947
<< " `cur_restart_type` ,"
948-
<< " `cur_confl_in_restart` ,"
949948

950949
<< " `atedecents_binIrred`,"
951950
<< " `atedecents_binRed`,"
@@ -1018,7 +1017,6 @@ void SQLiteStats::dump_clause_stats(
10181017
, size_t trail_depth
10191018
, uint64_t conflicts_this_restart
10201019
, const std::string& restart_type
1021-
, const SearchStats& stats
10221020
, const SearchHist& hist
10231021
) {
10241022
uint32_t num_overlap_literals = antec_data.sum_size()-(antec_data.num()-1)-size;
@@ -1047,7 +1045,6 @@ void SQLiteStats::dump_clause_stats(
10471045
sqlite3_bind_int64(stmt_clause_stats, bindAt++, decision_level);
10481046
sqlite3_bind_int64(stmt_clause_stats, bindAt++, trail_depth);
10491047
sqlite3_bind_text(stmt_clause_stats, bindAt++, restart_type.c_str(), -1, NULL);
1050-
sqlite3_bind_int64(stmt_clause_stats, bindAt++, stats.conflStats.numConflicts);
10511048

10521049
sqlite3_bind_int(stmt_clause_stats, bindAt++, antec_data.binIrred);
10531050
sqlite3_bind_int(stmt_clause_stats, bindAt++, antec_data.binRed);

src/sqlitestats.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class SQLiteStats: public SQLStats
9090
, size_t trail_depth
9191
, uint64_t conflicts_this_restart
9292
, const std::string& rest_type
93-
, const SearchStats& stats
9493
, const SearchHist& hist
9594
) override;
9695

src/sqlstats.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ class SQLStats
9292
, size_t trail_depth
9393
, uint64_t conflicts_this_restart
9494
, const std::string& rest_type
95-
, const SearchStats& stats
9695
, const SearchHist& hist
9796
) = 0;
9897

0 commit comments

Comments
 (0)