mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ps_conv.inc:
Adjustment of float results for Windows mysql-test-run.pl: Added --port to make MYSQL_DUMP and MYSQL_SHOW work on windows have_lowercase0.inc: new file mysql-test/mysql-test-run.pl: Added --port to make MYSQL_DUMP and MYSQL_SHOW work on windows mysql-test/include/ps_conv.inc: Adjustment of float results for Windows
This commit is contained in:
4
mysql-test/include/have_lowercase0.inc
Normal file
4
mysql-test/include/have_lowercase0.inc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
--require r/lowercase0.require
|
||||||
|
--disable_query_log;
|
||||||
|
show variables like "lower_case_%";
|
||||||
|
--enable_query_log;
|
@ -576,15 +576,19 @@ set @arg00= 9223372036854775807 ;
|
|||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
set @arg00= '9223372036854775807' ;
|
set @arg00= '9223372036854775807' ;
|
||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
# Use the minimum BIGINT from the manual
|
# Use the minimum BIGINT from the manual
|
||||||
#
|
#
|
||||||
@ -592,15 +596,19 @@ set @arg00= -9223372036854775808 ;
|
|||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
set @arg00= '-9223372036854775808' ;
|
set @arg00= '-9223372036854775808' ;
|
||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
|
|
||||||
# Numeric overflow of columns(c1, c2, c3, c4, c5, c12) with type not in
|
# Numeric overflow of columns(c1, c2, c3, c4, c5, c12) with type not in
|
||||||
@ -610,8 +618,10 @@ set @arg00= 1.11111111111111111111e+50 ;
|
|||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
# Attention: The columns(c1,c2,c3,c4,c5,c6) do not get the overflow,
|
# Attention: The columns(c1,c2,c3,c4,c5,c6) do not get the overflow,
|
||||||
# because the string is treated as written integer and
|
# because the string is treated as written integer and
|
||||||
@ -620,15 +630,19 @@ set @arg00= '1.11111111111111111111e+50' ;
|
|||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
set @arg00= -1.11111111111111111111e+50 ;
|
set @arg00= -1.11111111111111111111e+50 ;
|
||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
# Attention: The columns(c1,c2,c3,c4,c5,c6) do not get the overflow,
|
# Attention: The columns(c1,c2,c3,c4,c5,c6) do not get the overflow,
|
||||||
# because the string is treated as written integer and
|
# because the string is treated as written integer and
|
||||||
@ -637,8 +651,10 @@ set @arg00= '-1.11111111111111111111e+50' ;
|
|||||||
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
execute my_insert using @arg00, @arg00, @arg00, @arg00, @arg00, @arg00,
|
||||||
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
@arg00, @arg00, @arg00, @arg00, @arg00 ;
|
||||||
--vertical_results
|
--vertical_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_select ;
|
execute my_select ;
|
||||||
--horizontal_results
|
--horizontal_results
|
||||||
|
--replace_result e+0 e+
|
||||||
execute my_delete ;
|
execute my_delete ;
|
||||||
|
|
||||||
########################## test of string types ##########################
|
########################## test of string types ##########################
|
||||||
|
@ -2043,6 +2043,7 @@ sub run_mysqltest ($) {
|
|||||||
my $tinfo= shift;
|
my $tinfo= shift;
|
||||||
|
|
||||||
my $cmdline_mysqldump= "$exe_mysqldump --no-defaults -uroot " .
|
my $cmdline_mysqldump= "$exe_mysqldump --no-defaults -uroot " .
|
||||||
|
"--port=$master->[0]->{'path_myport'} " .
|
||||||
"--socket=$master->[0]->{'path_mysock'} --password=";
|
"--socket=$master->[0]->{'path_mysock'} --password=";
|
||||||
if ( $opt_debug )
|
if ( $opt_debug )
|
||||||
{
|
{
|
||||||
@ -2051,6 +2052,7 @@ sub run_mysqltest ($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $cmdline_mysqlshow= "$exe_mysqlshow -uroot " .
|
my $cmdline_mysqlshow= "$exe_mysqlshow -uroot " .
|
||||||
|
"--port=$master->[0]->{'path_myport'} " .
|
||||||
"--socket=$master->[0]->{'path_mysock'} --password=";
|
"--socket=$master->[0]->{'path_mysock'} --password=";
|
||||||
if ( $opt_debug )
|
if ( $opt_debug )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user