~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_writer.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 18:24:58 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108182458-twv4hyix43ojno80
Merge in changes such that lock is now broken out into its own directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
using namespace std;
26
26
using namespace drizzled;
27
27
 
28
 
 
29
28
int main(int argc, char* argv[])
30
29
{
31
30
  GOOGLE_PROTOBUF_VERIFY_VERSION;
45
44
    file_name= argv[1];
46
45
 
47
46
  schema.set_name(argv[1]);
 
47
  schema.mutable_engine()->set_name("filesystem");
48
48
  schema.set_creation_timestamp(time(NULL));
49
49
  schema.set_update_timestamp(time(NULL));
 
50
  schema.set_collation("utf8_general_ci");
 
51
  schema.set_uuid("schema_writer");
 
52
  schema.set_version(1);
50
53
 
51
54
  fstream output(file_name.c_str(), ios::out | ios::trunc | ios::binary);
52
55