From a2beabfe1059d8c992dd69cebb886585ced2c445 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Nov 2006 15:18:57 -0500 Subject: Bug#23983 ps.test fails to open shared library - When a shared library argument is supplied, it's checked for an OS specific directory separator. The expected error is different depending on the separator used. Create OS specific versions of these tests. mysql-test/r/ps.result: Bug#23983 ps.test fails to open shared library - Moving to OS specific results. mysql-test/r/windows.result: Bug#23983 ps.test fails to open shared library - OS Specific result for shared library argument with path mysql-test/t/ps.test: Bug#23983 ps.test fails to open shared library - Moving to OS specific tests. mysql-test/t/windows.test: Bug#23983 ps.test fails to open shared library - OS Specific test for shared library argument with path mysql-test/r/ps_not_windows.result: Bug#23983 ps.test fails to open shared library - OS Specific result for shared library argument with path mysql-test/t/ps_not_windows.test: Bug#23983 ps.test fails to open shared library - OS Specific test for shared library argument with path --- mysql-test/t/ps_not_windows.test | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mysql-test/t/ps_not_windows.test (limited to 'mysql-test/t/ps_not_windows.test') diff --git a/mysql-test/t/ps_not_windows.test b/mysql-test/t/ps_not_windows.test new file mode 100644 index 00000000000..0d97df96285 --- /dev/null +++ b/mysql-test/t/ps_not_windows.test @@ -0,0 +1,23 @@ +# Non-windows specific ps tests. +--source include/not_windows.inc + +# +# Bug #20665: All commands supported in Stored Procedures should work in +# Prepared Statements +# + +create procedure proc_1() install plugin my_plug soname '/root/some_plugin.so'; +--error ER_UDF_NO_PATHS +call proc_1(); +--error ER_UDF_NO_PATHS +call proc_1(); +--error ER_UDF_NO_PATHS +call proc_1(); +drop procedure proc_1; + +prepare abc from "install plugin my_plug soname '/root/some_plugin.so'"; +--error ER_UDF_NO_PATHS +execute abc; +--error ER_UDF_NO_PATHS +execute abc; +deallocate prepare abc; -- cgit v1.2.1