~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2008-07-14 04:46:28 UTC
  • Revision ID: brian@tangent.org-20080714044628-mk3nt2rbaeqt8oe9
Removed oddball types in my_global.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
312
312
  int  num;
313
313
  ulong ulong_num;
314
314
  uint64_t ulonglong_number;
315
 
  longlong longlong_number;
 
315
  int64_t longlong_number;
316
316
  LEX_STRING lex_str;
317
317
  LEX_STRING *lex_str_ptr;
318
318
  LEX_SYMBOL symbol;
6161
6161
          NUM
6162
6162
          {
6163
6163
            int error;
6164
 
            $$ = new Item_int($1.str, (longlong) my_strtoll10($1.str, NULL, &error), $1.length);
 
6164
            $$ = new Item_int($1.str, (int64_t) my_strtoll10($1.str, NULL, &error), $1.length);
6165
6165
          }
6166
6166
        | LONG_NUM
6167
6167
          {
6168
6168
            int error;
6169
 
            $$ = new Item_int($1.str, (longlong) my_strtoll10($1.str, NULL, &error), $1.length);
 
6169
            $$ = new Item_int($1.str, (int64_t) my_strtoll10($1.str, NULL, &error), $1.length);
6170
6170
          }
6171
6171
        | ULONGLONG_NUM
6172
6172
          { $$ = new Item_uint($1.str, $1.length); }