~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Jay Pipes
  • Date: 2009-03-16 03:25:22 UTC
  • mto: This revision was merged to the branch mainline in revision 941.
  • Revision ID: jpipes@serialcoder-20090316032522-tse8yksllpfa9uxz
Refactors the do_command() function out of the sql_parse.cc stuff and implements it as a member method, executeStatement() on the Session object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4442
4442
                             new_db, new_name_buff, "", 0);
4443
4443
        if (table_proto_exists(new_name_buff)==EEXIST)
4444
4444
        {
4445
 
          /* Table will be closed in do_command() */
 
4445
          /* Table will be closed by Session::executeCommand() */
4446
4446
          my_error(ER_TABLE_EXISTS_ERROR, MYF(0), new_alias);
4447
4447
          goto err;
4448
4448
        }