← Back to team overview

maria-developers team mailing list archive

Re: Fwd: Do we have anywhere some code that copies from one internal tmp table into another?


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



The next day after I sent my question I came across that code.
Yes, this was exactly what I needed.