Merge lp:~longbow/percona-server/fix_for_kill_idle_trx_test into lp:percona-server/5.1

Proposed by Valentine Gostev
Status: Superseded
Proposed branch: lp:~longbow/percona-server/fix_for_kill_idle_trx_test
Merge into: lp:percona-server/5.1
Diff against target: 57 lines (+10/-5)
1 file modified
patches/innodb_kill_idle_transaction.patch (+10/-5)
To merge this branch: bzr merge lp:~longbow/percona-server/fix_for_kill_idle_trx_test
Reviewer Review Type Date Requested Status
Oleg Tsarev (community) Needs Fixing
Review via email: mp+78644@code.launchpad.net

This proposal has been superseded by a proposal from 2011-10-07.

Description of the change

Added missing include for innodb_kill_idle_transaction.patch's tests

To post a comment you must log in.
Revision history for this message
Valentine Gostev (longbow) wrote :
Revision history for this message
Oleg Tsarev (tsarev) wrote :
review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'patches/innodb_kill_idle_transaction.patch'
2--- patches/innodb_kill_idle_transaction.patch 2011-09-11 21:53:35 +0000
3+++ patches/innodb_kill_idle_transaction.patch 2011-10-07 17:27:23 +0000
4@@ -60,7 +60,7 @@
5 Implementation of Drop_table_error_handler::handle_error().
6 --- a/storage/innodb_plugin/handler/ha_innodb.cc
7 +++ b/storage/innodb_plugin/handler/ha_innodb.cc
8-@@ -2511,6 +2511,10 @@
9+@@ -2515,6 +2515,10 @@
10
11 innobase_commit_concurrency_init_default();
12
13@@ -71,7 +71,7 @@
14 /* Since we in this module access directly the fields of a trx
15 struct, and due to different headers and flags it might happen that
16 mutex_t has a different size in this module and in InnoDB
17-@@ -11237,6 +11241,48 @@
18+@@ -11241,6 +11245,48 @@
19 return(false);
20 }
21
22@@ -120,7 +120,7 @@
23 static SHOW_VAR innodb_status_variables_export[]= {
24 {"Innodb", (char*) &show_innodb_vars, SHOW_FUNC},
25 {NullS, NullS, SHOW_LONG}
26-@@ -11480,6 +11526,15 @@
27+@@ -11484,6 +11530,15 @@
28 "Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket",
29 NULL, NULL, 500L, 1L, ~0L, 0);
30
31@@ -136,7 +136,7 @@
32 static MYSQL_SYSVAR_LONG(file_io_threads, innobase_file_io_threads,
33 PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY | PLUGIN_VAR_NOSYSVAR,
34 "Number of file I/O threads in InnoDB.",
35-@@ -11762,6 +11817,7 @@
36+@@ -11772,6 +11827,7 @@
37 MYSQL_SYSVAR(fast_checksum),
38 MYSQL_SYSVAR(commit_concurrency),
39 MYSQL_SYSVAR(concurrency_tickets),
40@@ -189,7 +189,7 @@
41 /* How much data manipulation language (DML) statements need to be delayed,
42 in microseconds, in order to reduce the lagging of the purge thread. */
43 UNIV_INTERN ulint srv_dml_needed_delay = 0;
44-@@ -2549,6 +2557,36 @@
45+@@ -2552,6 +2560,36 @@
46 old_sema = sema;
47 }
48
49@@ -395,3 +395,8 @@
50 +DROP TABLE t1;
51 +SET GLOBAL innodb_kill_idle_transaction=0;
52 +--source include/percona_innodb_kill_idle_trx_show.inc
53+--- /dev/null
54++++ b/mysql-test/include/percona_innodb_kill_idle_trx_show.inc
55+@@ -0,0 +1,2 @@
56++SHOW GLOBAL VARIABLES LIKE 'innodb_kill_idle_transaction';
57++SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='innodb_kill_idle_transaction';

Subscribers

People subscribed via source and target branches