Commit 4290679b authored by unknown's avatar unknown

don't cast lvalue

parent 382cc831
...@@ -715,7 +715,7 @@ bool rename_temporary_table(THD* thd, TABLE *table, const char *db, ...@@ -715,7 +715,7 @@ 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;
......
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