[Maria-developers] Fwd: Do we have anywhere some code that copies from one internal tmp table into another?

2016-04-15 Thread Igor Babaev
Hi, Please help me if you are aware of such code. In my case the tables are similar. I understand that it's easy to write this code. (Read rows from the source table one by one updating the destination table). Still I would prefer to use the existing code. Regards, Igor.

[Maria-developers] Deadlock with STOP SLAVE and LOCK_active_mi

2016-04-15 Thread Kristian Nielsen
So while looking at MDEV-9573, I found this code in mysql_execute_command() for STOP SLAVE: mysql_mutex_lock(_active_mi); if ((mi= (master_info_index-> get_master_info(_mi->connection_name, Sql_condition::WARN_LEVEL_ERROR if