Skip to content

Commit

Permalink
sqliterepo: on corruption, display the name of the base
Browse files Browse the repository at this point in the history
  • Loading branch information
fvennetier committed Nov 5, 2021
1 parent 89be978 commit 67f6bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sqliterepo/replication_dispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ _replicate_now(struct sqlx_sqlite3_s *sq3, TableSequence_t *seq)
for (i=0; !err && i<seq->list.count ;i++) {
Table_t *table = seq->list.array[i];
if (table && (err = replicate_table(sq3, table))) {
GRID_WARN("Replication failed on table [%.*s] : (%d) %s",
GRID_WARN("Replication failed on table [%.*s] of [%s.%s]: (%d) %s",
table->name.size, table->name.buf,
sq3->name.base, sq3->name.type,
err->code, err->message);
}
}
Expand Down

0 comments on commit 67f6bad

Please sign in to comment.