~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/longlong2str.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:
37
37
        itoa assumes that 10 -base numbers are allways signed and other arn't.
38
38
*/
39
39
 
40
 
#include "config.h"
41
 
 
42
40
#include "m_string.h"
43
41
 
44
 
namespace drizzled
45
 
{
46
 
namespace internal
47
 
{
48
 
 
49
42
#if !defined(int64_t2str) && !defined(HAVE_LONGLONG2STR)
50
43
 
51
 
char _dig_vec_upper[] =
52
 
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
53
 
 
54
44
/*
55
45
  This assumes that int64_t multiplication is faster than int64_t division.
56
46
*/
150
140
  return dst-1;
151
141
}
152
142
#endif
153
 
 
154
 
} /* namespace internal */
155
 
} /* namespace drizzled */