Commit Graph

11 Commits (53644106152b02615438220f610011ffb8125a38)

Author SHA1 Message Date
Roger A. Light 5364410615 Rename members 3 years ago
Roger A. Light 100fd31530 Refactor base_msg structs. 3 years ago
Roger A. Light 9bb389dda1 Avoid compile error.
"a label can only be part of a statement and a declaration is not a
statement"
3 years ago
Roger A. Light 1a5cd9e849 Fix Coverity Scan 1499794. 3 years ago
Roger A. Light a872c0466f Fix leak 3 years ago
Roger A. Light bdf8493e81 sqlite: base_msg can never have these properties 3 years ago
Roger A. Light 16feb14a57 Persistence interface updates and sqlite plugin fixes
The MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR event has been removed, due to
never being called. It is the responsibility of the plugin to remove
client subscriptions and client messages when the client is removed.

Lots of persist test improvements and additions - mostly checking item
counts.
3 years ago
Roger A. Light d4960d0ead sqlite: Save/restore binary properties. 3 years ago
Roger A. Light 27b4a6aa33 Fix Coverity Scan 1487012 Resource leak 4 years ago
Roger A. Light b3096982b5 Fix Coverity Scan 1486953 Use after free 4 years ago
Roger A. Light 2d3b152a22 Rename of mosquitto_msg_store struct.
struct mosquitto_msg_store -> struct mosquitto_base_msg

This is the base message which client messages and retained messages
refer to. The base messages are still held in the message store.

This change comes about because the persistence interface exposes these
message types. Prior to this commit the different messages were "msg",
"client_msg", and "retain". After this commit there is "base_msg",
"client_msg", and and "retain_msg" in the persist interface.
4 years ago