~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2008-08-10 17:18:41 UTC
  • mfrom: (287.3.13 codestyle)
  • Revision ID: brian@tangent.org-20080810171841-pkvi2ky94wbd0nt5
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
3934
3934
    char command[80];
3935
3935
    Lex_input_stream *lip= thd->m_lip;
3936
3936
    strmake(command, lip->yylval->symbol.str,
3937
 
            min(lip->yylval->symbol.length, sizeof(command)-1));
 
3937
            min((ulong)lip->yylval->symbol.length, sizeof(command)-1));
3938
3938
    my_error(ER_CANT_USE_OPTION_HERE, MYF(0), command);
3939
3939
    return 1;
3940
3940
  }