List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:December 23 2006 7:58am
Subject:Re: Use of STL within storage engine
View as plain text  
Hi!

On Dec 22, Kapil Surlaker wrote:
> Hi:
> 
> Are there any restrictions on using other libraries like STL when
> writing storage engines for MySQL? Although MySQL code itself does not
> use STL and doesn't link against it, is there an official position on
> its usage in the storage engine code?

Feel free to use it, if it works. Because I didn't try, I don't know
what technical problems there could be. I've heard that old STL versions
(many years old) were unstable for us, I've also heard that new (a
couple of years old) are quite ok.

In any case, there's nothing in the server that prohibits you to use STL
:)

You can build with CXX=g++ (instead of CXX=gcc) to use standard
new/delete.
 
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Kerpen, Germany
       <___/  www.mysql.com
Thread
Use of STL within storage engineKapil Surlaker23 Dec
  • Re: Use of STL within storage engineMark Callaghan23 Dec
  • Re: Use of STL within storage engineSergei Golubchik23 Dec