Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
bef72abf
Commit
bef72abf
authored
18 years ago
by
iggy/Administrator@amd64
Browse files
Options
Browse Files
Download
Plain Diff
Merge amd64.:D:/src/mysql-5.1-maint
into amd64.:D:/src/mysql-5.1-maint_bug23983
parents
be53d55d
5c5b24a1
Branches unavailable
Tags unavailable
No related merge requests found
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
76 additions
and
28 deletions
+76
-28
mysql-test/r/ps.result
mysql-test/r/ps.result
+0
-14
mysql-test/r/ps_not_windows.result
mysql-test/r/ps_not_windows.result
+14
-0
mysql-test/r/windows.result
mysql-test/r/windows.result
+16
-0
mysql-test/t/ps.test
mysql-test/t/ps.test
+0
-14
mysql-test/t/ps_not_windows.test
mysql-test/t/ps_not_windows.test
+23
-0
mysql-test/t/windows.test
mysql-test/t/windows.test
+23
-0
No files found.
mysql-test/r/ps.result
View file @
bef72abf
...
@@ -2090,14 +2090,6 @@ v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VI
...
@@ -2090,14 +2090,6 @@ v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VI
deallocate prepare abc;
deallocate prepare abc;
drop view v1;
drop view v1;
drop table t1;
drop table t1;
create procedure proc_1() install plugin my_plug soname '/root/some_plugin.so';
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
drop procedure proc_1;
create procedure proc_1() install plugin my_plug soname 'some_plugin.so';
create procedure proc_1() install plugin my_plug soname 'some_plugin.so';
call proc_1();
call proc_1();
ERROR HY000: Can't open shared library
ERROR HY000: Can't open shared library
...
@@ -2112,12 +2104,6 @@ select func_1(), func_1(), func_1() from dual;
...
@@ -2112,12 +2104,6 @@ select func_1(), func_1(), func_1() from dual;
ERROR 42000: FUNCTION test.func_1 does not exist
ERROR 42000: FUNCTION test.func_1 does not exist
drop function func_1;
drop function func_1;
ERROR 42000: FUNCTION test.func_1 does not exist
ERROR 42000: FUNCTION test.func_1 does not exist
prepare abc from "install plugin my_plug soname '/root/some_plugin.so'";
execute abc;
ERROR HY000: No paths allowed for shared library
execute abc;
ERROR HY000: No paths allowed for shared library
deallocate prepare abc;
prepare abc from "install plugin my_plug soname 'some_plugin.so'";
prepare abc from "install plugin my_plug soname 'some_plugin.so'";
deallocate prepare abc;
deallocate prepare abc;
create procedure proc_1() uninstall plugin my_plug;
create procedure proc_1() uninstall plugin my_plug;
...
...
This diff is collapsed.
Click to expand it.
mysql-test/r/ps_not_windows.result
0 → 100644
View file @
bef72abf
create procedure proc_1() install plugin my_plug soname '/root/some_plugin.so';
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
drop procedure proc_1;
prepare abc from "install plugin my_plug soname '/root/some_plugin.so'";
execute abc;
ERROR HY000: No paths allowed for shared library
execute abc;
ERROR HY000: No paths allowed for shared library
deallocate prepare abc;
This diff is collapsed.
Click to expand it.
mysql-test/r/windows.result
View file @
bef72abf
...
@@ -6,3 +6,19 @@ use prn;
...
@@ -6,3 +6,19 @@ use prn;
ERROR 42000: Unknown database 'prn'
ERROR 42000: Unknown database 'prn'
create table nu (a int);
create table nu (a int);
drop table nu;
drop table nu;
create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
drop procedure proc_1;
create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
call proc_1();
ERROR HY000: No paths allowed for shared library
drop procedure proc_1;
This diff is collapsed.
Click to expand it.
mysql-test/t/ps.test
View file @
bef72abf
...
@@ -2092,14 +2092,6 @@ drop view v1;
...
@@ -2092,14 +2092,6 @@ drop view v1;
drop
table
t1
;
drop
table
t1
;
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
;
create
procedure
proc_1
()
install
plugin
my_plug
soname
'some_plugin.so'
;
create
procedure
proc_1
()
install
plugin
my_plug
soname
'some_plugin.so'
;
--
replace_regex
/
(
Can
\
't open shared library).*$/\1/
--
replace_regex
/
(
Can
\
't open shared library).*$/\1/
--error ER_CANT_OPEN_LIBRARY
--error ER_CANT_OPEN_LIBRARY
...
@@ -2119,12 +2111,6 @@ delimiter ;|
...
@@ -2119,12 +2111,6 @@ delimiter ;|
select func_1(), func_1(), func_1() from dual;
select func_1(), func_1(), func_1() from dual;
--error ER_SP_DOES_NOT_EXIST
--error ER_SP_DOES_NOT_EXIST
drop function func_1;
drop function func_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;
prepare abc from "install plugin my_plug soname '
some_plugin
.
so
'";
prepare abc from "install plugin my_plug soname '
some_plugin
.
so
'";
deallocate prepare abc;
deallocate prepare abc;
...
...
This diff is collapsed.
Click to expand it.
mysql-test/t/ps_not_windows.test
0 → 100644
View file @
bef72abf
# 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
;
This diff is collapsed.
Click to expand it.
mysql-test/t/windows.test
View file @
bef72abf
...
@@ -18,3 +18,26 @@ create table nu (a int);
...
@@ -18,3 +18,26 @@ create table nu (a int);
drop
table
nu
;
drop
table
nu
;
# End of 4.1 tests
# End of 4.1 tests
#
# 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.dll'
;
--
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
;
create
procedure
proc_1
()
install
plugin
my_plug
soname
'\\root\\some_plugin.dll'
;
--
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
;
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment