summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-05-22 00:05:33 +0300
committerunknown <heikki@hundin.mysql.fi>2003-05-22 00:05:33 +0300
commiteb4755c90e6f112277083fedbbe53faf922e65b3 (patch)
treefb9411c49c97293b3a947ad46b1fd15de7dc6589 /innobase/row
parentb76adc62fbccc85f08563bffc5e2d91b21adf1d0 (diff)
downloadmariadb-git-eb4755c90e6f112277083fedbbe53faf922e65b3.tar.gz
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
Diffstat (limited to 'innobase/row')
-rw-r--r--innobase/row/row0ins.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/row/row0ins.c b/innobase/row/row0ins.c
index 3af9e1b752b..e96c08a715b 100644
--- a/innobase/row/row0ins.c
+++ b/innobase/row/row0ins.c
@@ -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
}
/*******************************************************************