1
INSTALL PLUGIN Deep_Thought SONAME 'psm_example.so';
2
CREATE PROCEDURE test.UltimateAnswer()
4
LANGUAGE Deep_Thought EXTERNAL NAME 'compute';
5
CALL test.UltimateAnswer();
6
Answer to Life, the Universe and Everything
8
DROP PROCEDURE test.UltimateAnswer;
9
UNINSTALL PLUGIN Deep_Thought;
10
UNINSTALL PLUGIN Deep_Thought;
11
ERROR 42000: PLUGIN Deep_Thought does not exist