← Back to team overview

maria-developers team mailing list archive

Re: Using C++ features in MariaDB

 

Thanks Sergei.  So why is it used in some places, but not in the server code?

On Mon, Feb 18, 2013 at 3:00 AM, Sergei Golubchik <serg@xxxxxxxxxxxx> wrote:
> Hi, Christian!
>
> On Feb 17, Christian Convey wrote:
>> I just read in Pachev's "MySQL Internals" book that C++ STL and
>> exceptions aren't allowed in the MySQL code.
>>
>> Are those restrictions also in effect for MariaDB?  If so, can anyone
>> explain the reason for them?
>
> The reason is historical. When Sasha was in MySQL, STL and exceptions
> just were too buggy for us to use - in a heavily multi-threaded code of
> MySQL.
>
> It's no longer true. We use exceptions - although not in the server
> code, but OQGraph engine uses them. And STL - MySQL server uses STL now
> and in 10.0 we're merging this code, so we're getting it now too.
>
> Regards,
> Sergei


Follow ups

References