184
184
DrizzleDumpFieldMySQL *field = new DrizzleDumpFieldMySQL(fieldName, dcon);
185
185
/* Stop valgrind warning */
186
186
field->convertDateTime= false;
187
188
/* Also sets collation */
188
189
field->setType(row[1], row[8]);
189
190
if (field->type.compare("ENUM") == 0)
195
195
field->defaultValue= row[2];
206
204
field->isAutoIncrement= (strcmp(row[8], "auto_increment") == 0) ? true : false;
207
205
field->defaultIsNull= field->isNull;
208
206
field->length= (row[4]) ? boost::lexical_cast<uint32_t>(row[4]) : 0;