~eday/drizzle/eday-dev

« back to all changes in this revision

Viewing changes to drizzled/internal/longlong2str.cc

  • Committer: Eric Day
  • Date: 2010-01-07 20:02:38 UTC
  • mfrom: (971.3.291 staging)
  • Revision ID: eday@oddments.org-20100107200238-uqw8v6kv9pl7nny5
Merged trunk.

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 "drizzled/global.h"
 
40
#include "config.h"
41
41
 
42
42
#include "m_string.h"
43
43
 
44
44
#if !defined(int64_t2str) && !defined(HAVE_LONGLONG2STR)
45
45
 
 
46
char _dig_vec_upper[] =
 
47
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 
48
 
46
49
/*
47
50
  This assumes that int64_t multiplication is faster than int64_t division.
48
51
*/