[Maria-developers] Fwd: Do we have anywhere some code that copies from one internal tmp table into another?
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.
Hi, Igor! On Apr 15, Igor Babaev wrote:
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.
What about the code that copies internal temporary MEMORY table into MyISAM/Aria table? It's create_internal_tmp_table_from_heap() Regards, Sergei
On 04/22/2016 03:10 PM, Sergei Golubchik wrote:
Hi, Igor!
On Apr 15, Igor Babaev wrote:
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.
What about the code that copies internal temporary MEMORY table into MyISAM/Aria table? It's create_internal_tmp_table_from_heap()
Regards, Sergei
Sergei, Thanks, The next day after I sent my question I came across that code. Yes, this was exactly what I needed. Regards, Igor.
participants (2)
-
Igor Babaev
-
Sergei Golubchik