mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
After-merge fixes.
This commit is contained in:
@ -1965,7 +1965,7 @@ AC_LANG_CPLUSPLUS
|
|||||||
|
|
||||||
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
||||||
then
|
then
|
||||||
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-Wcheck//'`
|
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-ansi//; s/-pedantic//; s/-Wcheck//'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
@ -2000,7 +2000,7 @@ AC_LANG_SAVE
|
|||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
||||||
then
|
then
|
||||||
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-Wcheck//'`
|
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-ansi//; s/-pedantic//; s/-Wcheck//'`
|
||||||
fi
|
fi
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#undef inline
|
[#undef inline
|
||||||
@ -2033,7 +2033,7 @@ AC_LANG_SAVE
|
|||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no"
|
||||||
then
|
then
|
||||||
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-Wcheck//'`
|
CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-ansi//; s/-pedantic//; s/-Wcheck//'`
|
||||||
fi
|
fi
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
[#undef inline
|
[#undef inline
|
||||||
|
@ -576,6 +576,7 @@ EXPLAIN SELECT type FROM v1 GROUP BY type WITH ROLLUP;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 ALL NULL NULL NULL NULL 10 Using filesort
|
1 PRIMARY t1 ALL NULL NULL NULL NULL 10 Using filesort
|
||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
|
DROP TABLE t1;
|
||||||
CREATE TABLE t1 (a INT(10) NOT NULL, b INT(10) NOT NULL);
|
CREATE TABLE t1 (a INT(10) NOT NULL, b INT(10) NOT NULL);
|
||||||
INSERT INTO t1 VALUES (1, 1);
|
INSERT INTO t1 VALUES (1, 1);
|
||||||
INSERT INTO t1 VALUES (1, 2);
|
INSERT INTO t1 VALUES (1, 2);
|
||||||
|
@ -69,12 +69,12 @@ master-bin.000002 346 Query 1 434 use `test`; insert into t1 values (1)
|
|||||||
master-bin.000002 434 Query 1 510 use `test`; drop table t1
|
master-bin.000002 434 Query 1 510 use `test`; drop table t1
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000001 1171
|
master-bin.000001 1389
|
||||||
master-bin.000002 510
|
master-bin.000002 510
|
||||||
start slave;
|
start slave;
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
slave-bin.000001 1285
|
slave-bin.000001 1559
|
||||||
slave-bin.000002 348
|
slave-bin.000002 348
|
||||||
show binlog events in 'slave-bin.000001' from 4;
|
show binlog events in 'slave-bin.000001' from 4;
|
||||||
Log_name Pos Event_type Server_id End_log_pos Info
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
|
@ -27,8 +27,8 @@ insert into t2 values (34),(67),(123);
|
|||||||
flush logs;
|
flush logs;
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000001 461
|
master-bin.000001 592
|
||||||
master-bin.000002 213
|
master-bin.000002 363
|
||||||
master-bin.000003 98
|
master-bin.000003 98
|
||||||
create table t3 select * from temp_table;
|
create table t3 select * from temp_table;
|
||||||
select * from t3;
|
select * from t3;
|
||||||
@ -43,12 +43,12 @@ start slave;
|
|||||||
purge master logs to 'master-bin.000002';
|
purge master logs to 'master-bin.000002';
|
||||||
show master logs;
|
show master logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000002 213
|
master-bin.000002 363
|
||||||
master-bin.000003 407
|
master-bin.000003 407
|
||||||
purge binary logs to 'master-bin.000002';
|
purge binary logs to 'master-bin.000002';
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000002 213
|
master-bin.000002 363
|
||||||
master-bin.000003 407
|
master-bin.000003 407
|
||||||
purge master logs before now();
|
purge master logs before now();
|
||||||
show binary logs;
|
show binary logs;
|
||||||
@ -74,8 +74,8 @@ count(*)
|
|||||||
create table t4 select * from temp_table;
|
create table t4 select * from temp_table;
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000003 4167
|
master-bin.000003 4185
|
||||||
master-bin.000004 0
|
master-bin.000004 4190
|
||||||
master-bin.000005 2032
|
master-bin.000005 2032
|
||||||
show master status;
|
show master status;
|
||||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||||
|
@ -265,6 +265,7 @@ SELECT type FROM v1 GROUP BY type WITH ROLLUP;
|
|||||||
EXPLAIN SELECT type FROM v1 GROUP BY type WITH ROLLUP;
|
EXPLAIN SELECT type FROM v1 GROUP BY type WITH ROLLUP;
|
||||||
|
|
||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
|
DROP TABLE t1;
|
||||||
# Test for bug #11543: ROLLUP query with a repeated column in GROUP BY
|
# Test for bug #11543: ROLLUP query with a repeated column in GROUP BY
|
||||||
#
|
#
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user