Skip to content

Commit 4e88f52

Browse files
Address rest of Robert's comments
1 parent a80f2ee commit 4e88f52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
#define CHECKM(COND, M, ...) \
6969
if (!(COND)) { \
70-
LOG_ERROR("Check failure: %s \n" M, #COND, ##__VA_ARGS__); \
70+
LOG_FATAL("Check failure: %s \n" M, #COND, ##__VA_ARGS__); \
7171
}
7272

7373
#define CHECK(COND) CHECKM(COND, "")

src/common/state/table.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ int64_t table_timeout_handler(event_loop *loop,
6969
if (callback_data->retry.num_retries == 0) {
7070
/* We didn't get a response from the database after exhausting all retries;
7171
* let user know, cleanup the state, and remove the timer. */
72-
LOG_WARN("Table command %s with timer ID %ld failed", callback_data->label,
73-
timer_id);
72+
LOG_WARN("Table command %s with timer ID %" PRId64 " failed",
73+
callback_data->label, timer_id);
7474
if (callback_data->retry.fail_callback) {
7575
callback_data->retry.fail_callback(
7676
callback_data->id, callback_data->user_context, callback_data->data);

0 commit comments

Comments
 (0)