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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to