Commit 2b0d16bc authored by Michael Widenius's avatar Michael Widenius

Merge with 5.1

parents 13141c98 8b48a0aa
...@@ -13,8 +13,8 @@ dnl When changing the major version number please also check the switch ...@@ -13,8 +13,8 @@ dnl When changing the major version number please also check the switch
dnl statement in mysqlbinlog::check_master_version(). You may also need dnl statement in mysqlbinlog::check_master_version(). You may also need
dnl to update version.c in ndb. dnl to update version.c in ndb.
dnl dnl
dnl When merging new MySQL releases, update the version number to match the dnl When merging new MariaDB releases, update the version number to match the
dnl MySQL version number. dnl MariaDB version number.
dnl dnl
dnl Note: the following line must be parseable by win/configure.js:GetVersion() dnl Note: the following line must be parseable by win/configure.js:GetVersion()
AC_INIT([MariaDB Server], [5.2.1-MariaDB-beta], [], [mysql]) AC_INIT([MariaDB Server], [5.2.1-MariaDB-beta], [], [mysql])
......
...@@ -48,7 +48,7 @@ connection b; ...@@ -48,7 +48,7 @@ connection b;
select * from t1 for update; select * from t1 for update;
connection a; connection a;
sleep 2; sleep 3;
commit; commit;
connection b; connection b;
......
--slow-query-log-file=percona_slow_query_log-long_query_time.log --long-query-time=2 --slow-query-log-file=percona_slow_query_log-long_query_time.log --long-query-time=3
\ No newline at end of file
SELECT sleep(1); SELECT sleep(1);
sleep(1) sleep(1)
0 0
SELECT sleep(3); SELECT sleep(6);
sleep(3) sleep(6)
0 0
SELECT sleep(5); SELECT sleep(10);
sleep(5) sleep(10)
0 0
set long_query_time=4; set long_query_time=8;
SELECT sleep(1); SELECT sleep(1);
sleep(1) sleep(1)
0 0
SELECT sleep(3); SELECT sleep(6);
sleep(3) sleep(6)
0 0
SELECT sleep(5); SELECT sleep(12);
sleep(5) sleep(12)
0 0
set long_query_time=2;
cat MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time cat MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time
3 3
source include/have_innodb.inc; source include/have_innodb.inc;
SELECT sleep(1); SELECT sleep(1);
SELECT sleep(3); SELECT sleep(6);
SELECT sleep(5); SELECT sleep(10);
set long_query_time=4; set long_query_time=8;
SELECT sleep(1); SELECT sleep(1);
SELECT sleep(3); SELECT sleep(6);
SELECT sleep(5); SELECT sleep(12);
set long_query_time=2;
let $MYSQLD_DATADIR= `select @@datadir`; let $MYSQLD_DATADIR= `select @@datadir`;
let $cmd = cat $MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time; let $cmd = cat $MYSQLD_DATADIR/percona_slow_query_log-long_query_time.log | grep -c Query_time;
......
...@@ -153,6 +153,11 @@ mySTL/algorithm\.hpp: is used uninitialized in this function ...@@ -153,6 +153,11 @@ mySTL/algorithm\.hpp: is used uninitialized in this function
listener.cc : .*conversion from 'SOCKET' to 'int'.* listener.cc : .*conversion from 'SOCKET' to 'int'.*
net_serv.cc : .*conversion from 'SOCKET' to 'int'.* net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
#
# Ignorable warnings from header files
#
backward_warning\.h : This file includes at least one
# allow a little moving space for the warning below # allow a little moving space for the warning below
mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600 mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
ma_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550-650 ma_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550-650
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment