~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Stewart Smith
  • Date: 2011-03-03 08:29:06 UTC
  • mto: (2216.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2217.
  • Revision ID: stewart@flamingspork.com-20110303082906-5zhmxub1j7au038u
remove enum_query_type which was effectively unused. It was set to one value once, compared to it once (i.e. always true) and passed around everywhere doing nothing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
583
583
        char buff[1024];
584
584
        String str(buff,(uint32_t) sizeof(buff), system_charset_info);
585
585
        str.length(0);
586
 
        session->getLex()->unit.print(&str, QT_ORDINARY);
 
586
        session->getLex()->unit.print(&str);
587
587
        str.append('\0');
588
588
        push_warning(session, DRIZZLE_ERROR::WARN_LEVEL_NOTE,
589
589
                     ER_YES, str.ptr());