diff options
author | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-06-07 14:03:43 +0500 |
---|---|---|
committer | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-06-07 14:03:43 +0500 |
commit | 6ee83df5ffb6318f3989de314c747a63e99b2e4c (patch) | |
tree | 4374f211e34f3d20c19d26b9d27ec3b1a58c59ed /sql/mysql_priv.h | |
parent | 52d267dabb04f3ec62c99a159594ec61f4f8772f (diff) | |
download | mariadb-git-6ee83df5ffb6318f3989de314c747a63e99b2e4c.tar.gz |
bug #28309 First insert violates UNIQUE constraint - was "memory" table empty?
If we have lower_case_table_names == 2 (usually on case insensitive file
systems) we sometimes make 'homedir' part of the path sent to the
handler into lowercase. So in this case HEAP engine couldn't properly
find and remove HP_SHARE, what caused the bug.
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 6452ea2e77e..7fb60bd8a7e 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -1601,6 +1601,7 @@ extern int creating_table; // How many mysql_create_table() are running */ extern time_t server_start_time; +extern uint mysql_data_home_len; extern char *mysql_data_home,server_version[SERVER_VERSION_LENGTH], mysql_real_data_home[], *opt_mysql_tmpdir, mysql_charsets_dir[], def_ft_boolean_syntax[sizeof(ft_boolean_syntax)]; |