~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_reader.cc

  • Committer: Stewart Smith
  • Date: 2009-12-02 06:01:21 UTC
  • mto: (1237.1.2 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: stewart@flamingspork.com-20091202060121-68gyfqifqcjcmi2v
my_end() no longer requires an argument (we removed them all)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <fstream>
22
22
#include <string>
23
23
#include <drizzled/message/schema.pb.h>
24
 
 
25
24
using namespace std;
26
 
using namespace drizzled;
27
 
 
28
25
 
29
26
/*
30
27
  Written from Google proto example
31
28
*/
32
29
 
33
 
static void printSchema(const message::Schema *schema)
 
30
static void printSchema(const drizzled::message::Schema *schema)
34
31
{
35
32
  cout << "CREATE SCHEMA `" << schema->name() << "` ";
36
33
  if (schema->has_collation())
47
44
    return -1;
48
45
  }
49
46
 
50
 
  message::Schema schema;
 
47
  drizzled::message::Schema schema;
51
48
 
52
49
  {
53
50
    // Read the existing address book.