~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2008-12-15 04:45:43 UTC
  • Revision ID: brian@tangent.org-20081215044543-l0goqxot5mgzdot1
Removed dead table_or_sp_used() method call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2158
2158
  {
2159
2159
    Item *it= (Item *)lex->value_list.head();
2160
2160
 
2161
 
    if (lex->table_or_sp_used())
2162
 
    {
2163
 
      my_error(ER_NOT_SUPPORTED_YET, MYF(0), "Usage of subqueries or stored "
2164
 
               "function calls as part of this statement");
2165
 
      break;
2166
 
    }
2167
 
 
2168
2161
    if ((!it->fixed && it->fix_fields(lex->session, &it)) || it->check_cols(1))
2169
2162
    {
2170
2163
      my_message(ER_SET_CONSTANTS_ONLY, ER(ER_SET_CONSTANTS_ONLY),