mirror of
https://github.com/MariaDB/server.git
synced 2025-10-24 00:27:49 +02:00
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