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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e2b44930
Commit
e2b44930
authored
Feb 10, 2011
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge 5.0->5.0-security
parents
3e897bea
bdb4df0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/udf.result
mysql-test/r/udf.result
+0
-2
mysql-test/t/udf.test
mysql-test/t/udf.test
+5
-2
No files found.
mysql-test/r/udf.result
View file @
e2b44930
...
...
@@ -40,8 +40,6 @@ ERROR HY000: Wrong number of arguments to reverse_lookup; Use the source
select reverse_lookup("127.0.0.1");
select reverse_lookup(127,0,0,1);
select reverse_lookup("localhost");
reverse_lookup("localhost")
NULL
select avgcost();
ERROR HY000: wrong number of arguments: AVGCOST() requires two arguments
select avgcost(100,23.76);
...
...
mysql-test/t/udf.test
View file @
e2b44930
...
...
@@ -51,14 +51,17 @@ select lookup("localhost");
--
error
0
select
reverse_lookup
();
# These two functions should return "localhost", but it's
# These two function
call
s should return "localhost", but it's
# depending on configuration, so just call them and don't log the result
--
disable_result_log
select
reverse_lookup
(
"127.0.0.1"
);
select
reverse_lookup
(
127
,
0
,
0
,
1
);
--
enable_result_log
# This function call may return different results depending on platform,
# so ignore results (see Bug#52060).
select
reverse_lookup
(
"localhost"
);
--
enable_result_log
--
error
0
select
avgcost
();
--
error
0
...
...
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