Compare commits

...

3 Commits

3 changed files with 3 additions and 5 deletions

View File

@ -7,14 +7,11 @@
using namespace matador::sql;
const static dialect d = dialect_builder::builder()
.create()
.with_placeholder_func([](size_t index) {
return "$" + std::to_string(index);
})
.with_token_replace_map({
{dialect::token_t::START_QUOTE, "`"},
{dialect::token_t::END_QUOTE, "`"},
})
.with_default_schema_name("public")
.with_default_schema_name("")
.build();
return &d;
}

View File

@ -90,6 +90,7 @@ void bind_value(enum_field_types type, const char *value, size_t, MYSQL_BIND &bi
mysql_parameter_binder::mysql_parameter_binder(size_t size)
: bind_params_(size)
, is_null_vector(size)
, info_(size)
{}

View File

@ -83,7 +83,7 @@ struct data_type_traits<Color, void>
}
TEMPLATE_TEST_CASE_METHOD(TypeTraitsTestFixture, "Special handling of attributes with type traits", "[typetraits]", Sqlite, Postgres)
TEMPLATE_TEST_CASE_METHOD(TypeTraitsTestFixture, "Special handling of attributes with type traits", "[typetraits]", Sqlite, Postgres, MySql)
{
auto &s = TypeTraitsTestFixture<TestType>::session();