mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
merge: 5.1 -> 5.1-rpl
conflicts: Text conflict in client/mysqltest.cc Text conflict in mysql-test/include/wait_until_connected_again.inc Text conflict in mysql-test/lib/mtr_report.pm Text conflict in mysql-test/mysql-test-run.pl Text conflict in mysql-test/r/events_bugs.result Text conflict in mysql-test/r/log_state.result Text conflict in mysql-test/r/myisam_data_pointer_size_func.result Text conflict in mysql-test/r/mysqlcheck.result Text conflict in mysql-test/r/query_cache.result Text conflict in mysql-test/r/status.result Text conflict in mysql-test/suite/binlog/r/binlog_index.result Text conflict in mysql-test/suite/binlog/r/binlog_innodb.result Text conflict in mysql-test/suite/rpl/r/rpl_packet.result Text conflict in mysql-test/suite/rpl/t/rpl_packet.test Text conflict in mysql-test/t/disabled.def Text conflict in mysql-test/t/events_bugs.test Text conflict in mysql-test/t/log_state.test Text conflict in mysql-test/t/myisam_data_pointer_size_func.test Text conflict in mysql-test/t/mysqlcheck.test Text conflict in mysql-test/t/query_cache.test Text conflict in mysql-test/t/rpl_init_slave_func.test Text conflict in mysql-test/t/status.test
This commit is contained in:
@ -2477,6 +2477,7 @@ SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE table_name = 't2';
|
||||
DROP TABLE t2;
|
||||
DROP TABLE t1;
|
||||
# End 34920 test
|
||||
#
|
||||
# Bug #29507 TRUNCATE shows to many rows effected
|
||||
#
|
||||
CONNECTION default;
|
||||
@ -2493,6 +2494,36 @@ TRUNCATE TABLE t1;
|
||||
--disable_info
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Bug#35537 Innodb doesn't increment handler_update and handler_delete.
|
||||
#
|
||||
-- disable_query_log
|
||||
-- disable_result_log
|
||||
|
||||
CONNECT (c1,localhost,root,,);
|
||||
|
||||
DROP TABLE IF EXISTS bug35537;
|
||||
CREATE TABLE bug35537 (
|
||||
c1 int
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
INSERT INTO bug35537 VALUES (1);
|
||||
|
||||
-- enable_result_log
|
||||
|
||||
SHOW SESSION STATUS LIKE 'Handler_update%';
|
||||
SHOW SESSION STATUS LIKE 'Handler_delete%';
|
||||
|
||||
UPDATE bug35537 SET c1 = 2 WHERE c1 = 1;
|
||||
DELETE FROM bug35537 WHERE c1 = 2;
|
||||
|
||||
SHOW SESSION STATUS LIKE 'Handler_update%';
|
||||
SHOW SESSION STATUS LIKE 'Handler_delete%';
|
||||
|
||||
DROP TABLE bug35537;
|
||||
|
||||
DISCONNECT c1;
|
||||
CONNECTION default;
|
||||
|
||||
#######################################################################
|
||||
# #
|
||||
# Please, DO NOT TOUCH this file as well as the innodb.result file. #
|
||||
|
Reference in New Issue
Block a user