~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_writer.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-06 20:47:28 UTC
  • mto: (1747.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1748.
  • Revision ID: andrew@linuxjedi.co.uk-20100906204728-8qjwkx638e5lsm1q
Timestamp cannot reliably store leap seconds, so don't try.  Leave that to datetime only

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    file_name= argv[1];
45
45
 
46
46
  schema.set_name(argv[1]);
47
 
  schema.set_catalog("LOCAL");
48
47
  schema.mutable_engine()->set_name("filesystem");
49
48
  schema.set_creation_timestamp(time(NULL));
50
49
  schema.set_update_timestamp(time(NULL));
51
50
  schema.set_collation("utf8_general_ci");
52
 
  schema.set_uuid("schema_writer");
53
 
  schema.set_version(1);
54
51
 
55
52
  fstream output(file_name.c_str(), ios::out | ios::trunc | ios::binary);
56
53