~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2010-03-02 17:58:59 UTC
  • mto: (1309.2.12 build)
  • mto: This revision was merged to the branch mainline in revision 1318.
  • Revision ID: brian@gaz-20100302175859-x0z0bg73054wrswy
Column changing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4841
4841
 
4842
4842
             {
4843
4843
               drizzled::TableIdentifier identifier(select->getShowSchema().c_str(), $3->table.str);
4844
 
               if (plugin::StorageEngine::getTableDefinition(*session, identifier) != EEXIST)
 
4844
               if (not plugin::StorageEngine::doesTableExist(*session, identifier))
4845
4845
               {
4846
4846
                   my_error(ER_NO_SUCH_TABLE, MYF(0),
4847
4847
                            select->getShowSchema().c_str(), 
4883
4883
 
4884
4884
             {
4885
4885
               drizzled::TableIdentifier identifier(select->getShowSchema().c_str(), $3->table.str);
4886
 
               if (plugin::StorageEngine::getTableDefinition(*session, identifier) != EEXIST)
 
4886
               if (not plugin::StorageEngine::doesTableExist(*session, identifier))
4887
4887
               {
4888
4888
                   my_error(ER_NO_SUCH_TABLE, MYF(0),
4889
4889
                            select->getShowSchema().c_str(), 
5102
5102
 
5103
5103
             {
5104
5104
               drizzled::TableIdentifier identifier(select->getShowSchema().c_str(), $2->table.str);
5105
 
               if (plugin::StorageEngine::getTableDefinition(*session, identifier) != EEXIST)
 
5105
               if (not plugin::StorageEngine::doesTableExist(*session, identifier))
5106
5106
               {
5107
5107
                   my_error(ER_NO_SUCH_TABLE, MYF(0),
5108
5108
                            select->getShowSchema().c_str(),