mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-25 11:15:54 +08:00
Ensure restored base msgs are marked as stored.
This commit is contained in:
@@ -797,6 +797,8 @@ BROKER_EXPORT int mosquitto_persist_base_msg_add(struct mosquitto_evt_persist_ba
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
base_msg->stored = true;
|
||||
rc = db__message_store(&context, base_msg, message_expiry_interval, msg->store_id, mosq_mo_broker);
|
||||
return rc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user