diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-15 00:09:56 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-15 00:09:56 +0100 |
commit | eb3b8c3cb7857cf174cf2983997fa59034223d42 (patch) | |
tree | eb310a335ba4e5864ffcf22060826e245a5c293e /mysql-test/r | |
parent | 32e6771601a94f6bd9870ef9114030a7ee13da2f (diff) | |
download | mariadb-git-eb3b8c3cb7857cf174cf2983997fa59034223d42.tar.gz |
Add support for loading example plugin and add plugin.test
mysql-test/r/have_dynamic_loading.require:
Rename: mysql-test/r/have_udf.require -> mysql-test/r/have_dynamic_loading.require
mysql-test/include/have_udf.inc:
Rename have_udf.require to hqave_dynamic_loading.require
mysql-test/mysql-test-run.pl:
Add support for ha_example plugin
mysql-test/include/have_example_plugin.inc:
New BitKeeper file ``mysql-test/include/have_example_plugin.inc''
mysql-test/r/have_example_plugin.require:
New BitKeeper file ``mysql-test/r/have_example_plugin.require''
mysql-test/r/plugin.result:
New BitKeeper file ``mysql-test/r/plugin.result''
mysql-test/t/plugin.test:
New BitKeeper file ``mysql-test/t/plugin.test''
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/have_dynamic_loading.require (renamed from mysql-test/r/have_udf.require) | 0 | ||||
-rw-r--r-- | mysql-test/r/have_example_plugin.require | 2 | ||||
-rw-r--r-- | mysql-test/r/plugin.result | 15 |
3 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/r/have_udf.require b/mysql-test/r/have_dynamic_loading.require index 2d21f65e4ac..2d21f65e4ac 100644 --- a/mysql-test/r/have_udf.require +++ b/mysql-test/r/have_dynamic_loading.require diff --git a/mysql-test/r/have_example_plugin.require b/mysql-test/r/have_example_plugin.require new file mode 100644 index 00000000000..291b8231cbb --- /dev/null +++ b/mysql-test/r/have_example_plugin.require @@ -0,0 +1,2 @@ +have_example_plugin +1 diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result new file mode 100644 index 00000000000..44641858fca --- /dev/null +++ b/mysql-test/r/plugin.result @@ -0,0 +1,15 @@ +CREATE TABLE t1(a int) ENGINE=EXAMPLE; +Warnings: +Error 1286 Unknown table engine 'EXAMPLE' +DROP TABLE t1; +INSTALL PLUGIN example SONAME 'ha_example.so'; +INSTALL PLUGIN EXAMPLE SONAME 'ha_example.so'; +ERROR HY000: Function 'EXAMPLE' already exists +UNINSTALL PLUGIN example; +INSTALL PLUGIN example SONAME 'ha_example.so'; +CREATE TABLE t1(a int) ENGINE=EXAMPLE; +SELECT * FROM t1; +a +DROP TABLE t1; +UNINSTALL PLUGIN non_exist; +ERROR 42000: PLUGIN non_exist does not exist |