~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_columns.cc

  • Committer: Monty Taylor
  • Date: 2011-02-17 00:14:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2178.
  • Revision ID: mordred@inaugust.com-20110217001413-4ir91t7xgfo87rkd
Fixes incorrect usage of include

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
22
 
#include "plugin/show_dictionary/dictionary.h"
23
 
#include "drizzled/identifier.h"
 
21
#include <config.h>
 
22
#include <plugin/show_dictionary/dictionary.h>
 
23
#include <drizzled/identifier.h>
24
24
#include <string>
25
25
 
26
26
using namespace std;
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
 
    is_tables_primed= plugin::StorageEngine::getTableDefinition(getSession(),
71
 
                                                                identifier,
72
 
                                                                table_proto);
 
70
    table_proto= plugin::StorageEngine::getTableMessage(getSession(), identifier);
 
71
 
 
72
    if (table_proto)
 
73
      is_tables_primed= true;
73
74
  }
74
75
}
75
76