~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Monty Taylor
  • Date: 2009-12-21 03:44:51 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091221034451-hmztoep4qbaqne8w
Trims more out of server_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
 
172
172
#define YYDEBUG 0
173
173
 
 
174
static bool check_reserved_words(LEX_STRING *name)
 
175
{
 
176
  if (!my_strcasecmp(system_charset_info, name->str, "GLOBAL") ||
 
177
      !my_strcasecmp(system_charset_info, name->str, "LOCAL") ||
 
178
      !my_strcasecmp(system_charset_info, name->str, "SESSION"))
 
179
    return true;
 
180
  return false;
 
181
}
 
182
 
174
183
/**
175
184
  @brief Push an error message into MySQL error stack with line
176
185
  and position information.