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
df8832bb
Commit
df8832bb
authored
Jan 10, 2008
by
kaa@kaamos.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge kaamos.(none):/data/src/opt/bug33305/my51-bug33305
into kaamos.(none):/data/src/opt/mysql-5.1-opt
parents
76c0aefc
8db61db7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
14 deletions
+34
-14
mysql-test/r/skip_grants.result
mysql-test/r/skip_grants.result
+0
-4
mysql-test/r/udf_skip_grants.result
mysql-test/r/udf_skip_grants.result
+5
-0
mysql-test/t/skip_grants.test
mysql-test/t/skip_grants.test
+0
-10
mysql-test/t/udf_skip_grants-master.opt
mysql-test/t/udf_skip_grants-master.opt
+1
-0
mysql-test/t/udf_skip_grants.test
mysql-test/t/udf_skip_grants.test
+28
-0
No files found.
mysql-test/r/skip_grants.result
View file @
df8832bb
...
...
@@ -72,10 +72,6 @@ count(*)
select count(*) from information_schema.USER_PRIVILEGES;
count(*)
0
CREATE FUNCTION a RETURNS STRING SONAME '';
ERROR HY000: Can't initialize function 'a'; UDFs are unavailable with the --skip-grant-tables option
DROP FUNCTION a;
ERROR 42000: FUNCTION test.a does not exist
End of 5.0 tests
#
# Bug#29817 Queries with UDF fail with non-descriptive error
...
...
mysql-test/r/udf_skip_grants.result
0 → 100644
View file @
df8832bb
CREATE FUNCTION a RETURNS STRING SONAME '';
ERROR HY000: Can't initialize function 'a'; UDFs are unavailable with the --skip-grant-tables option
DROP FUNCTION a;
ERROR 42000: FUNCTION test.a does not exist
End of 5.0 tests
mysql-test/t/skip_grants.test
View file @
df8832bb
...
...
@@ -122,16 +122,6 @@ select count(*) from information_schema.COLUMN_PRIVILEGES;
select
count
(
*
)
from
information_schema
.
SCHEMA_PRIVILEGES
;
select
count
(
*
)
from
information_schema
.
TABLE_PRIVILEGES
;
select
count
(
*
)
from
information_schema
.
USER_PRIVILEGES
;
#
# Bug #32020: loading udfs while --skip-grant-tables is enabled causes out of
# memory errors
#
--
error
ER_CANT_INITIALIZE_UDF
CREATE
FUNCTION
a
RETURNS
STRING
SONAME
''
;
--
error
ER_SP_DOES_NOT_EXIST
DROP
FUNCTION
a
;
--
echo
End
of
5.0
tests
--
echo
#
...
...
mysql-test/t/udf_skip_grants-master.opt
0 → 100644
View file @
df8832bb
--skip-grant-tables
mysql-test/t/udf_skip_grants.test
0 → 100644
View file @
df8832bb
####################### udf_skip_grants.test ###########################
# #
# Test for bug #32020 "loading udfs while --skip-grant-tables is #
# enabled causes out of memory errors" #
# #
# Creation: #
# 2007-12-24 akopytov Moved the test case for bug #32020 from #
# skip_grants.test to a separate test to ensure #
# that it is only run when the server is built #
# with support for dynamically loaded libraries #
# (see bug #33305). #
# #
########################################################################
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_udf
.
inc
#
# Bug #32020: loading udfs while --skip-grant-tables is enabled causes out of
# memory errors
#
--
error
ER_CANT_INITIALIZE_UDF
CREATE
FUNCTION
a
RETURNS
STRING
SONAME
''
;
--
error
ER_SP_DOES_NOT_EXIST
DROP
FUNCTION
a
;
--
echo
End
of
5.0
tests
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