~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Monty
  • Date: 2008-10-02 14:34:07 UTC
  • Revision ID: mordred@scylla.inaugust.com-20081002143407-id6de0nl3trrna4j
Fixed some max/min misses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4064
4064
      }
4065
4065
      else if ((c == '{' &&
4066
4066
                (!my_strnncoll_simple(charset_info, (const uchar*) "while", 5,
4067
 
                                      (uchar*) buf, min((long)5, p - buf), 0) ||
 
4067
                                      (uchar*) buf, cmin((long)5, p - buf), 0) ||
4068
4068
                 !my_strnncoll_simple(charset_info, (const uchar*) "if", 2,
4069
 
                                      (uchar*) buf, min((long)2, p - buf), 0))))
 
4069
                                      (uchar*) buf, cmin((long)2, p - buf), 0))))
4070
4070
      {
4071
4071
        /* Only if and while commands can be terminated by { */
4072
4072
        *p++= c;