maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #05187
Re: Using C++ features in MariaDB
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