~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_reader.cc

  • Committer: Monty Taylor
  • Date: 2010-03-25 22:03:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1408.
  • Revision ID: mordred@inaugust.com-20100325220321-bf5vs8tryb4a8ssh
Updated the search for libmemcached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2009 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
35
35
  cout << "CREATE SCHEMA `" << schema->name() << "` ";
36
36
  if (schema->has_collation())
37
37
    cout << "COLLATE `" << schema->collation() << "` ";
38
 
 
39
 
  for (int option_nr=0; option_nr < schema->engine().options_size(); option_nr++)
40
 
  {
41
 
    cout << " " << schema->engine().options(option_nr).name() << " = "
42
 
         << "'" << schema->engine().options(option_nr).state() << "'";
43
 
  }
44
 
 
45
38
  cout << ";" << endl;
46
39
}
47
40