don't cast lvalue

parent f472cec1
...@@ -715,8 +715,8 @@ bool rename_temporary_table(THD* thd, TABLE *table, const char *db, ...@@ -715,8 +715,8 @@ bool rename_temporary_table(THD* thd, TABLE *table, const char *db,
(uint) strlen(table_name)+6+4))) (uint) strlen(table_name)+6+4)))
return 1; /* purecov: inspected */ return 1; /* purecov: inspected */
share->key_length= (uint) share->key_length= (uint)
(strmov(((char*) share->table_name= strmov(share->table_cache_key= key, (strmov((char*) (share->table_name= strmov(share->table_cache_key= key,
db)+1), db)+1),
table_name) - share->table_cache_key)+1; table_name) - share->table_cache_key)+1;
share->db= share->table_cache_key; share->db= share->table_cache_key;
int4store(key+share->key_length, thd->server_id); int4store(key+share->key_length, thd->server_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment