~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/message/schema_writer.cc

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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;
44
43
  else
45
44
    file_name= argv[1];
46
45
 
47
 
 
48
46
  schema.set_name(argv[1]);
 
47
  schema.mutable_engine()->set_name("filesystem");
 
48
  schema.set_creation_timestamp(time(NULL));
 
49
  schema.set_update_timestamp(time(NULL));
 
50
  schema.set_collation("utf8_general_ci");
49
51
 
50
52
  fstream output(file_name.c_str(), ios::out | ios::trunc | ios::binary);
51
53