~ubuntu-branches/ubuntu/vivid/drizzle/vivid-proposed

« back to all changes in this revision

Viewing changes to plugin/show_schema_proto/show_schema_proto.cc

  • Committer: Package Import Robot
  • Author(s): Tobias Frost
  • Date: 2013-08-22 20:18:31 UTC
  • mto: (20.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20130822201831-gn3ozsh7o7wmc5tk
Tags: upstream-7.2.3
ImportĀ upstreamĀ versionĀ 7.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <drizzled/plugin/function.h>
26
26
#include <drizzled/plugin/storage_engine.h>
27
27
 
 
28
#include <drizzled/identifier.h>
 
29
#include <drizzled/session.h>
 
30
#include <drizzled/catalog/instance.h>
 
31
 
28
32
#include <iostream>
29
33
#include <stdio.h>
30
34
#include <string>
74
78
 
75
79
  null_value= false;
76
80
 
77
 
  identifier::Schema schema_identifier(*db_sptr);
 
81
  identifier::Schema schema_identifier(getSession().catalog().identifier(),
 
82
                                       *db_sptr);
78
83
  message::schema::shared_ptr proto= plugin::StorageEngine::getSchemaDefinition(schema_identifier);
79
84
  if (not proto)
80
85
  {