~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/charset.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
17
 
 
18
 
#include "drizzled/charset.h"
19
 
#include "drizzled/error.h"
20
 
#include "drizzled/charset_info.h"
21
 
#include "drizzled/internal/m_string.h"
 
16
#include "mysys/mysys_priv.h"
 
17
#include "mysys/mysys_err.h"
 
18
#include <mystrings/m_ctype.h>
 
19
#include <mystrings/m_string.h>
22
20
#include <drizzled/configmake.h>
23
21
#include <vector>
24
22
 
25
23
using namespace std;
26
24
 
27
 
namespace drizzled
28
 
{
29
25
 
30
26
/*
31
27
  We collect memory in this vector that we free on delete.
147
143
}
148
144
 
149
145
 
150
 
 
151
146
static bool init_available_charsets(myf myflags)
152
147
{
153
148
  bool error= false;
381
376
  *to= 0;
382
377
  return overflow ? UINT32_MAX : (uint32_t) (to - to_start);
383
378
}
384
 
 
385
 
} /* namespace drizzled */