~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_writer.cc

  • Committer: Monty Taylor
  • Date: 2010-08-12 16:38:48 UTC
  • mto: (1711.1.11 build)
  • mto: This revision was merged to the branch mainline in revision 1713.
  • Revision ID: mordred@inaugust.com-20100812163848-s7o3uu537e9bnuqo
Fix timegm issue on solaris.

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
 
28
29
int main(int argc, char* argv[])
29
30
{
30
31
  GOOGLE_PROTOBUF_VERIFY_VERSION;
47
48
  schema.mutable_engine()->set_name("filesystem");
48
49
  schema.set_creation_timestamp(time(NULL));
49
50
  schema.set_update_timestamp(time(NULL));
50
 
  schema.set_collation("utf8_general_ci");
51
 
  schema.set_uuid("schema_writer");
52
 
  schema.set_version(1);
53
51
 
54
52
  fstream output(file_name.c_str(), ios::out | ios::trunc | ios::binary);
55
53