~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Monty Taylor
  • Date: 2008-09-22 23:53:43 UTC
  • mto: This revision was merged to the branch mainline in revision 417.
  • Revision ID: monty@inaugust.com-20080922235343-ihqvp6g9k1mtzxmc
Renamed max/min.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3879
3879
    char command[80];
3880
3880
    Lex_input_stream *lip= thd->m_lip;
3881
3881
    strmake(command, lip->yylval->symbol.str,
3882
 
            min((ulong)lip->yylval->symbol.length, sizeof(command)-1));
 
3882
            cmin((ulong)lip->yylval->symbol.length, sizeof(command)-1));
3883
3883
    my_error(ER_CANT_USE_OPTION_HERE, MYF(0), command);
3884
3884
    return 1;
3885
3885
  }