Summary
Daemon plugins, even if very limited in functionality, can serve as a good introduction into MySQL plugin programming. In this chapter we have learned the basics of the plugin API which are features common to all plugin types. We know how to declare a plugin, why API versions are needed, how to create new status and system variables, and new command-line options. To understand better the concepts in this chapter we have developed four Daemon plugins and tried them out. We will use this knowledge in all of the following chapters where we will study other more complex, plugin types. And we start in the next chapter with the Information Schema plugins.