mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
1d6502b4f4
Joining with a thread that has previously been joined results in undefined behavior. This example plugin performs the same join to the same thread a few lines later. ASAN keeps track of this and fails. Make the behaviour defined by joining only once. Thanks Vladislav Vaintroub for looking up the behaviour. While here; * init/deinit function argument was actually used. * correct code comments * attribute define not needed Thanks Marko Mäkelä for review and suggesting other fixes. |
||
---|---|---|
.. | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
daemon_example.cc | ||
daemon_example.ini | ||
NEWS | ||
README |
Hi! This is an example of a daemon plugin. These are generic plugins that only hook ino the startup and shutdown of the database. Cheers, -Brian Seattle, WA