set mysql field length in constructor

This commit is contained in:
holmes1412
2021-03-24 17:38:20 +08:00
parent 00ec013864
commit 16d09febb4
+1
View File
@@ -55,6 +55,7 @@ MySQLField::MySQLField(const void *buf, mysql_field_t *field)
}
this->flags = field->flags;
this->length = field->length;
this->decimals = field->decimals;
this->charsetnr = field->charsetnr;
this->data_type = field->data_type;