Hi!

>>>>> "Davi" == Davi Arnaut <[email protected]> writes:

Davi> On Mon, Jul 30, 2012 at 7:34 AM, Oleksandr Byelkin
Davi> <[email protected]> wrote:
>> 27.07.2012 20:57, Davi Arnaut пишет:
>>> 
>>> Also, bzero is deprecated.
>> AFAIK bzero is macro in our sources.

Davi> It is a macro if not available. Which then becomes a problem because
Davi> the bzero interface is not well defined (first argument begin char
Davi> pointer versus void pointer). It should be pretty simple, let's not
Davi> use deprecated and broken interfaces.

Actually, in mariadb code (and original mysql code) we use bzero a lot
and it's a stable, well tested, well known and well defined function.

Better to always use the same code to reset memory than doing it many
different ways. In MySQL code bzero() has been the offical and
recommended way to reset memory.

Regards,
Monty

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to