diff options
author | msvensson@neptunus.(none) <> | 2006-12-15 00:09:56 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-12-15 00:09:56 +0100 |
commit | 82db3278aa364a12beaacbe2d567e250edf02d6f (patch) | |
tree | eb310a335ba4e5864ffcf22060826e245a5c293e /mysql-test/t/plugin.test | |
parent | e69df83d8d3791b4482e4f9facb1f0933d9ccb28 (diff) | |
download | mariadb-git-82db3278aa364a12beaacbe2d567e250edf02d6f.tar.gz |
Add support for loading example plugin and add plugin.test
Diffstat (limited to 'mysql-test/t/plugin.test')
-rw-r--r-- | mysql-test/t/plugin.test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/t/plugin.test b/mysql-test/t/plugin.test new file mode 100644 index 00000000000..80c1de00b8e --- /dev/null +++ b/mysql-test/t/plugin.test @@ -0,0 +1,26 @@ +--source include/have_example_plugin.inc + +CREATE TABLE t1(a int) ENGINE=EXAMPLE; +DROP TABLE t1; + +INSTALL PLUGIN example SONAME 'ha_example.so'; +--error 1125 +INSTALL PLUGIN EXAMPLE SONAME 'ha_example.so'; + +UNINSTALL PLUGIN example; + +INSTALL PLUGIN example SONAME 'ha_example.so'; + +CREATE TABLE t1(a int) ENGINE=EXAMPLE; + +# Let's do some advanced ops with the example engine :) +SELECT * FROM t1; + +DROP TABLE t1; + +# Waiting for fix to BUG#22694 +#UNINSTALL PLUGIN example; +#UNINSTALL PLUGIN EXAMPLE; + +--error 1305 +UNINSTALL PLUGIN non_exist; |