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
5824ec03
Commit
5824ec03
authored
Apr 10, 2006
by
ingo@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-bug5390
parents
1c0f6753
030c1705
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+11
-5
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+1
-1
mysql-test/t/cast.test
mysql-test/t/cast.test
+2
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
5824ec03
...
@@ -2942,11 +2942,6 @@ sub run_mysqltest ($) {
...
@@ -2942,11 +2942,6 @@ sub run_mysqltest ($) {
mtr_init_args
(
\
$args
);
mtr_init_args
(
\
$args
);
if
(
$opt_valgrind_mysqltest
)
{
valgrind_arguments
(
$args
,
\
$exe
);
}
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--silent
");
mtr_add_arg
(
$args
,
"
--silent
");
mtr_add_arg
(
$args
,
"
-v
");
mtr_add_arg
(
$args
,
"
-v
");
...
@@ -3062,6 +3057,17 @@ sub run_mysqltest ($) {
...
@@ -3062,6 +3057,17 @@ sub run_mysqltest ($) {
# Add arguments that should not go into the MYSQL_TEST env var
# Add arguments that should not go into the MYSQL_TEST env var
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
if
(
$opt_valgrind_mysqltest
)
{
# Prefix the Valgrind options to the argument list.
# We do this here, since we do not want to Valgrind the nested invocations
# of mysqltest; that would mess up the stderr output causing test failure.
my
@args_saved
=
@$args
;
mtr_init_args
(
\
$args
);
valgrind_arguments
(
$args
,
\
$exe
);
mtr_add_arg
(
$args
,
"
%s
",
$_
)
for
@args_saved
;
}
mtr_add_arg
(
$args
,
"
--test-file
");
mtr_add_arg
(
$args
,
"
--test-file
");
mtr_add_arg
(
$args
,
$tinfo
->
{'
path
'});
mtr_add_arg
(
$args
,
$tinfo
->
{'
path
'});
...
...
mysql-test/r/innodb.result
View file @
5824ec03
...
@@ -1821,7 +1821,7 @@ Variable_name Value
...
@@ -1821,7 +1821,7 @@ Variable_name Value
innodb_sync_spin_loops 20
innodb_sync_spin_loops 20
show variables like "innodb_thread_concurrency";
show variables like "innodb_thread_concurrency";
Variable_name Value
Variable_name Value
innodb_thread_concurrency
0
innodb_thread_concurrency
8
set global innodb_thread_concurrency=1001;
set global innodb_thread_concurrency=1001;
show variables like "innodb_thread_concurrency";
show variables like "innodb_thread_concurrency";
Variable_name Value
Variable_name Value
...
...
mysql-test/t/cast.test
View file @
5824ec03
...
@@ -171,6 +171,8 @@ select cast(1.0e+300 as signed int);
...
@@ -171,6 +171,8 @@ select cast(1.0e+300 as signed int);
CREATE
TABLE
t1
(
f1
double
);
CREATE
TABLE
t1
(
f1
double
);
INSERT
INTO
t1
SET
f1
=
-
1.0e+30
;
INSERT
INTO
t1
SET
f1
=
-
1.0e+30
;
INSERT
INTO
t1
SET
f1
=
+
1.0e+30
;
INSERT
INTO
t1
SET
f1
=
+
1.0e+30
;
# Expected result is +-1e+30, but Windows returns +-1e+030.
--
replace_result
1
e
+
030
1
e
+
30
SELECT
f1
AS
double_val
,
CAST
(
f1
AS
SIGNED
INT
)
AS
cast_val
FROM
t1
;
SELECT
f1
AS
double_val
,
CAST
(
f1
AS
SIGNED
INT
)
AS
cast_val
FROM
t1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
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