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
f2d4988c
Commit
f2d4988c
authored
Jan 17, 2007
by
cmiller@zippy.cornsilk.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errmsg change
parent
abd057be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/r/sp.result
mysql-test/r/sp.result
+4
-4
mysql-test/r/sp_gis.result
mysql-test/r/sp_gis.result
+2
-2
mysql-test/r/udf.result
mysql-test/r/udf.result
+1
-1
No files found.
mysql-test/r/sp.result
View file @
f2d4988c
...
@@ -5633,7 +5633,7 @@ drop function if exists pi;
...
@@ -5633,7 +5633,7 @@ drop function if exists pi;
create function pi() returns varchar(50)
create function pi() returns varchar(50)
return "pie, my favorite desert.";
return "pie, my favorite desert.";
Warnings:
Warnings:
Note 1581 This function 'pi' has the same name as a native function
.
Note 1581 This function 'pi' has the same name as a native function
SET @save_sql_mode=@@sql_mode;
SET @save_sql_mode=@@sql_mode;
SET SQL_MODE='IGNORE_SPACE';
SET SQL_MODE='IGNORE_SPACE';
select pi(), pi ();
select pi(), pi ();
...
@@ -5682,15 +5682,15 @@ use test;
...
@@ -5682,15 +5682,15 @@ use test;
create function `database`() returns varchar(50)
create function `database`() returns varchar(50)
return "Stored function database";
return "Stored function database";
Warnings:
Warnings:
Note 1581 This function 'database' has the same name as a native function
.
Note 1581 This function 'database' has the same name as a native function
create function `current_user`() returns varchar(50)
create function `current_user`() returns varchar(50)
return "Stored function current_user";
return "Stored function current_user";
Warnings:
Warnings:
Note 1581 This function 'current_user' has the same name as a native function
.
Note 1581 This function 'current_user' has the same name as a native function
create function md5(x varchar(50)) returns varchar(50)
create function md5(x varchar(50)) returns varchar(50)
return "Stored function md5";
return "Stored function md5";
Warnings:
Warnings:
Note 1581 This function 'md5' has the same name as a native function
.
Note 1581 This function 'md5' has the same name as a native function
SET SQL_MODE='IGNORE_SPACE';
SET SQL_MODE='IGNORE_SPACE';
select database(), database ();
select database(), database ();
database() database ()
database() database ()
...
...
mysql-test/r/sp_gis.result
View file @
f2d4988c
...
@@ -7,11 +7,11 @@ return 1;
...
@@ -7,11 +7,11 @@ return 1;
create function x() returns int
create function x() returns int
return 2;
return 2;
Warnings:
Warnings:
Note 1581 This function 'x' has the same name as a native function
.
Note 1581 This function 'x' has the same name as a native function
create function y() returns int
create function y() returns int
return 3;
return 3;
Warnings:
Warnings:
Note 1581 This function 'y' has the same name as a native function
.
Note 1581 This function 'y' has the same name as a native function
select a();
select a();
a()
a()
1
1
...
...
mysql-test/r/udf.result
View file @
f2d4988c
...
@@ -209,7 +209,7 @@ select abs(myfunc_double(3) AS wrong);
...
@@ -209,7 +209,7 @@ select abs(myfunc_double(3) AS wrong);
ERROR 42000: Incorrect parameters in the call to native function 'abs'
ERROR 42000: Incorrect parameters in the call to native function 'abs'
drop function if exists pi;
drop function if exists pi;
CREATE FUNCTION pi RETURNS STRING SONAME "should_not_parse.so";
CREATE FUNCTION pi RETURNS STRING SONAME "should_not_parse.so";
ERROR HY000: This function 'pi' has the same name as a native function
.
ERROR HY000: This function 'pi' has the same name as a native function
DROP FUNCTION IF EXISTS metaphon;
DROP FUNCTION IF EXISTS metaphon;
CREATE FUNCTION metaphon(a int) RETURNS int
CREATE FUNCTION metaphon(a int) RETURNS int
return 0;
return 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