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
f5213deb
Commit
f5213deb
authored
Nov 15, 2006
by
malff/marcsql@weblab.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the test deterministic, so they don't depend on the SF cache.
parent
2afbcdf4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
mysql-test/r/sp.result
mysql-test/r/sp.result
+0
-8
mysql-test/r/sp_gis.result
mysql-test/r/sp_gis.result
+0
-3
mysql-test/t/sp.test
mysql-test/t/sp.test
+14
-0
mysql-test/t/sp_gis.test
mysql-test/t/sp_gis.test
+4
-0
No files found.
mysql-test/r/sp.result
View file @
f5213deb
...
...
@@ -5642,8 +5642,6 @@ pi() pi ()
select test.pi(), test.pi ();
test.pi() test.pi ()
pie, my favorite desert. pie, my favorite desert.
Warnings:
Note 1578 This function 'pi' has the same name as a native function.
SET SQL_MODE='';
select pi(), pi ();
pi() pi ()
...
...
@@ -5706,18 +5704,12 @@ md5("aaa") md5 ("aaa")
select test.database(), test.database ();
test.database() test.database ()
Stored function database Stored function database
Warnings:
Note 1578 This function 'database' has the same name as a native function.
select test.current_user(), test.current_user ();
test.current_user() test.current_user ()
Stored function current_user Stored function current_user
Warnings:
Note 1578 This function 'current_user' has the same name as a native function.
select test.md5("aaa"), test.md5 ("aaa");
test.md5("aaa") test.md5 ("aaa")
Stored function md5 Stored function md5
Warnings:
Note 1578 This function 'md5' has the same name as a native function.
SET SQL_MODE='';
select database(), database ();
database() database ()
...
...
mysql-test/r/sp_gis.result
View file @
f5213deb
...
...
@@ -25,9 +25,6 @@ x(PointFromText("POINT(10 20)")) y(PointFromText("POINT(10 20)"))
select test.a(), test.x(), test.y();
test.a() test.x() test.y()
1 2 3
Warnings:
Note 1578 This function 'x' has the same name as a native function.
Note 1578 This function 'y' has the same name as a native function.
drop function a;
drop function x;
drop function y;
mysql-test/t/sp.test
View file @
f5213deb
...
...
@@ -6609,12 +6609,20 @@ SET @save_sql_mode=@@sql_mode;
SET SQL_MODE='IGNORE_SPACE';
select pi(), pi ();
# Non deterministic warnings from db_load_routine
--disable_warnings
select test.pi(), test.pi ();
--enable_warnings
SET SQL_MODE='';
select pi(), pi ();
# Non deterministic warnings from db_load_routine
--disable_warnings
select test.pi(), test.pi ();
--enable_warnings
SET @@sql_mode=@save_sql_mode;
...
...
@@ -6666,9 +6674,12 @@ select database(), database ();
select
current_user
(),
current_user
();
select
md5
(
"aaa"
),
md5
(
"aaa"
);
# Non deterministic warnings from db_load_routine
--
disable_warnings
select
test
.
database
(),
test
.
database
();
select
test
.
current_user
(),
test
.
current_user
();
select
test
.
md5
(
"aaa"
),
test
.
md5
(
"aaa"
);
--
enable_warnings
SET
SQL_MODE
=
''
;
...
...
@@ -6676,9 +6687,12 @@ select database(), database ();
select
current_user
(),
current_user
();
select
md5
(
"aaa"
),
md5
(
"aaa"
);
# Non deterministic warnings from db_load_routine
--
disable_warnings
select
test
.
database
(),
test
.
database
();
select
test
.
current_user
(),
test
.
current_user
();
select
test
.
md5
(
"aaa"
),
test
.
md5
(
"aaa"
);
--
enable_warnings
SET
@@
sql_mode
=@
save_sql_mode
;
...
...
mysql-test/t/sp_gis.test
View file @
f5213deb
...
...
@@ -27,7 +27,11 @@ select x();
--
error
ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
select
y
();
select
x
(
PointFromText
(
"POINT(10 20)"
)),
y
(
PointFromText
(
"POINT(10 20)"
));
# Non deterministic warnings from db_load_routine
--
disable_warnings
select
test
.
a
(),
test
.
x
(),
test
.
y
();
--
enable_warnings
drop
function
a
;
drop
function
x
;
...
...
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