~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: Brian Aker
  • Date: 2010-03-01 21:13:13 UTC
  • mto: (1309.2.7 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1317.
  • Revision ID: brian@gaz-20100301211313-wkzju8u4mex7ptmy
Small conversion for does()

Show diffs side-by-side

added added

removed removed

Lines of Context:
412
412
 
413
413
    TableIdentifier identifier(db, table->table_name, table->internal_tmp_table ? INTERNAL_TMP_TABLE : NO_TMP_TABLE);
414
414
 
415
 
    if ((table_type == NULL
416
 
          && (plugin::StorageEngine::getTableDefinition(*session,
417
 
                                                        identifier) != EEXIST)))
 
415
    if (table_type == NULL && not plugin::StorageEngine::doesTableExist(*session, identifier))
418
416
    {
419
417
      // Table was not found on disk and table can't be created from engine
420
418
      push_warning_printf(session, DRIZZLE_ERROR::WARN_LEVEL_NOTE,