← Back to team overview

maria-developers team mailing list archive

Re: question on MariaDB and end_bulk_insert

 

The function is different than mysql 5.1.46. I have not looked at mysql 5.1.47

Thanks
-Zardosht

On Thu, Jul 22, 2010 at 8:19 AM, Sergei Golubchik <serg@xxxxxxxxxxxx> wrote:
> Hi, Zardosht!
>
> On Jul 06, Zardosht Kasheff wrote:
>>
>> Oops, it turns out the function signature is different from MySQL.
>> This tripped us up.
>
> Hm, this is arguably a bug. We should not have changed an API.
> I'll fix it.
>
> Regards,
> Sergei
>
>> -Zardosht
>>
>> On Tue, Jul 6, 2010 at 3:15 PM, Zardosht Kasheff <zardosht@xxxxxxxxx> wrote:
>> > Hello,
>> >
>> > First off, is this the right list to post questions about MariaDB's
>> > source code? If it is not, I apologize, and can somebody please direct
>> > me to the right alias? I could not find anything on MariaDB's website.
>> >
>> > I have noticed the following behavior in MariaDB 5.1.47 with our
>> > storage engine that is different than MySQL. I see many cases where
>> > handler::start_bulk_insert before insertions, but
>> > handler::end_bulk_insert is NOT called. In MySQL 5.1.46,
>> > handler::end_bulk_insert is always called if there was a call to
>> > handler::start_bulk_insert.
>> >
>> > The commands run are:
>> > MariaDB [test]> create table ttt(a int);
>> > MariaDB [test]> insert into ttt values (1),(2),(3);
>> > Query OK, 3 rows affected (0.01 sec)
>> > Records: 3 Duplicates: 0 Warnings: 0
>> >
>> > Is there a reason for this? Does some flag need to be exposed for this
>> > function to be called?
>> >
>



References