~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_columns.cc

  • Committer: Lee Bieber
  • Date: 2011-02-23 21:21:20 UTC
  • mfrom: (2195.1.4 build)
  • Revision ID: kalebral@gmail.com-20110223212120-jr9bo1nckyk4n5h4
Merge Olaf - remove register keyword
Merge Stewart - 646898: Query causes RAM usage spike    
Merge Stewart - 710818: SHOW TABLE doesn't use generator    
Merge Patrick - 723828: dbqp should integrate with the randgen

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
    table_name.append(select->getShowTable().c_str());
68
68
    identifier::Table identifier(select->getShowSchema().c_str(), select->getShowTable().c_str());
69
69
 
 
70
    if (not plugin::Authorization::isAuthorized(*getSession().user(),
 
71
                                            identifier, false))
 
72
    {
 
73
      drizzled::error::access(*getSession().user(), identifier);
 
74
      return;
 
75
    }
 
76
 
70
77
    table_proto= plugin::StorageEngine::getTableMessage(getSession(), identifier);
71
78
 
72
79
    if (table_proto)