~drizzle-developers/ubuntu/karmic/drizzle/ppa

« back to all changes in this revision

Viewing changes to drizzled/table_proto_write.cc

  • Committer: Monty Taylor
  • Date: 2010-11-24 18:44:57 UTC
  • mfrom: (1308.1.31 trunk)
  • Revision ID: mordred@inaugust.com-20101124184457-qd6jvoe2wgnvl3yq
Tags: 2010.11.04-0ubuntu1~karmic1
* New upstream release.
* Turn off -Werror for packaging builds. (Closes: #602662)

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
    message::Table::Field::FieldType parser_type= attribute->type();
98
98
 
 
99
    if (field_arg->sql_type == DRIZZLE_TYPE_NULL)
 
100
    {
 
101
      my_error(ER_CANT_CREATE_TABLE, MYF(ME_BELL+ME_WAITTANG), table_proto.name().c_str(), -1);
 
102
      return -1;
 
103
    }
 
104
 
99
105
    attribute->set_type(message::internalFieldTypeToFieldProtoType(field_arg->sql_type));
100
106
 
101
107
    switch (attribute->type()) {