mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
row0ins.c:
Disable UNIQU KEY error reporting in SHOW INNODB STATUS until we know if it slows down REPLACE significantly innobase/row/row0ins.c: Disable UNIQU KEY error reporting in SHOW INNODB STATUS until we know if it slows down REPLACE significantly
This commit is contained in:
parent
b76adc62fb
commit
eb4755c90e
1 changed files with 5 additions and 0 deletions
|
|
@ -1275,6 +1275,10 @@ row_ins_unique_report_err(
|
|||
dtuple_t* entry, /* in: index entry to insert in the index */
|
||||
dict_index_t* index) /* in: index */
|
||||
{
|
||||
#ifdef notdefined
|
||||
/* Disable reporting to test if the slowdown of REPLACE in 4.0.13 was
|
||||
caused by this! */
|
||||
|
||||
char* buf = dict_unique_err_buf;
|
||||
|
||||
/* The foreign err mutex protects also dict_unique_err_buf */
|
||||
|
|
@ -1303,6 +1307,7 @@ row_ins_unique_report_err(
|
|||
ut_a(strlen(buf) < DICT_FOREIGN_ERR_BUF_LEN);
|
||||
|
||||
mutex_exit(&dict_foreign_err_mutex);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue