compilation fixes and disabled database type char[]

This commit is contained in:
Sascha Kühl
2025-11-21 09:11:14 +01:00
parent 3f3773dc71
commit d8903ed772
5 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ namespace matador::test {
struct types
{
enum { CSTR_LEN=255 };
// enum { CSTR_LEN=255 };
unsigned int id_ = 0;
int8_t char_ = 'c';
@@ -22,7 +22,7 @@ struct types
float float_ = 3.1415f;
double double_ = 1.1414;
bool bool_ = true;
char cstr_[CSTR_LEN]{};
// char cstr_[CSTR_LEN]{};
std::string string_ = "Welt";
std::string varchar_ = "Erde";
// matador::date date_;
@@ -46,7 +46,7 @@ struct types
field::attribute(op, "val_unsigned_int", unsigned_int_);
field::attribute(op, "val_unsigned_long_long", unsigned_long64_);
field::attribute(op, "val_bool", bool_);
field::attribute(op, "val_cstr", cstr_, CSTR_LEN);
// field::attribute(op, "val_cstr", cstr_, CSTR_LEN);
field::attribute(op, "val_string", string_);
field::attribute(op, "val_varchar", varchar_, 63);
// field::attribute(op, "val_date", date_);