summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0sys.c
diff options
context:
space:
mode:
authorYasufumi Kinoshita <yasufumi.kinoshita@oracle.com>2012-01-10 14:18:58 +0900
committerYasufumi Kinoshita <yasufumi.kinoshita@oracle.com>2012-01-10 14:18:58 +0900
commit115f5e8551b9243ef3ca98ce882993fb78c426e1 (patch)
treeeb3e73644289ee45d9adcc3caba490fbd1311178 /storage/innobase/trx/trx0sys.c
parent13b265483e0aeefdc6de8bd227ca0dfc7cd91736 (diff)
downloadmariadb-git-115f5e8551b9243ef3ca98ce882993fb78c426e1.tar.gz
Bug#12400341 INNODB CAN LEAVE ORPHAN IBD FILES AROUND
If we meet DB_TOO_MANY_CONCURRENT_TRXS during the execution tab_create_graph from row_create_table_for_mysql(), .ibd file for the table should be created already but was not deleted for the error handling. rb:875 approved by Jimmy Yang
Diffstat (limited to 'storage/innobase/trx/trx0sys.c')
-rw-r--r--storage/innobase/trx/trx0sys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/trx/trx0sys.c b/storage/innobase/trx/trx0sys.c
index 137771b71ed..09b1b5d8198 100644
--- a/storage/innobase/trx/trx0sys.c
+++ b/storage/innobase/trx/trx0sys.c
@@ -54,6 +54,10 @@ InnoDB. */
char trx_sys_mysql_bin_log_name[TRX_SYS_MYSQL_LOG_NAME_LEN];
ib_longlong trx_sys_mysql_bin_log_pos = -1;
+#ifdef UNIV_DEBUG
+/* Flag to control TRX_RSEG_N_SLOTS behavior debugging. */
+uint trx_rseg_n_slots_debug = 0;
+#endif
/********************************************************************
Determines if a page number is located inside the doublewrite buffer. */