diff options
author | heikki@hundin.mysql.fi <> | 2003-05-04 23:24:23 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2003-05-04 23:24:23 +0300 |
commit | aa92b8ecd10d42b70ee93e90822c35f25d00cf84 (patch) | |
tree | 69216396781f1a2d6400c0e70a00105c58d652a5 /innobase/include | |
parent | 9dd21162bb63367519f3930aa53b75240af6ab8b (diff) | |
download | mariadb-git-aa92b8ecd10d42b70ee93e90822c35f25d00cf84.tar.gz |
row0ins.c, dict0dict.c, dict0dict.h, srv0srv.c:
Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/dict0dict.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/innobase/include/dict0dict.h b/innobase/include/dict0dict.h index 600965700ed..97486a7c2f6 100644 --- a/innobase/include/dict0dict.h +++ b/innobase/include/dict0dict.h @@ -839,10 +839,11 @@ dict_mutex_exit_for_mysql(void); /* The following len must be at least 10000 bytes! */ #define DICT_FOREIGN_ERR_BUF_LEN 10000 -/* Buffer for storing detailed information about the latest foreig key -error */ +/* Buffers for storing detailed information about the latest foreign key +and unique key errors */ extern char* dict_foreign_err_buf; -extern mutex_t dict_foreign_err_mutex; /* mutex protecting the buffer */ +extern char* dict_unique_err_buf; +extern mutex_t dict_foreign_err_mutex; /* mutex protecting the buffers */ extern dict_sys_t* dict_sys; /* the dictionary system */ extern rw_lock_t dict_operation_lock; |