~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/longlong2str.cc

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/*
17
17
  Defines: int64_t2str();
37
37
        itoa assumes that 10 -base numbers are allways signed and other arn't.
38
38
*/
39
39
 
40
 
#include "config.h"
 
40
#include "drizzled/global.h"
41
41
 
42
42
#include "m_string.h"
43
43
 
44
 
namespace drizzled
45
 
{
46
 
namespace internal
47
 
{
48
 
 
49
44
#if !defined(int64_t2str) && !defined(HAVE_LONGLONG2STR)
50
45
 
51
 
char _dig_vec_upper[] =
52
 
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
53
 
 
54
46
/*
55
47
  This assumes that int64_t multiplication is faster than int64_t division.
56
48
*/
150
142
  return dst-1;
151
143
}
152
144
#endif
153
 
 
154
 
} /* namespace internal */
155
 
} /* namespace drizzled */