Compare commits
3 Commits
4504c783e1
...
92eb30767e
| Author | SHA1 | Date |
|---|---|---|
|
|
92eb30767e | |
|
|
71cb460e4c | |
|
|
a16d3d7a21 |
|
|
@ -7,14 +7,11 @@
|
||||||
using namespace matador::sql;
|
using namespace matador::sql;
|
||||||
const static dialect d = dialect_builder::builder()
|
const static dialect d = dialect_builder::builder()
|
||||||
.create()
|
.create()
|
||||||
.with_placeholder_func([](size_t index) {
|
|
||||||
return "$" + std::to_string(index);
|
|
||||||
})
|
|
||||||
.with_token_replace_map({
|
.with_token_replace_map({
|
||||||
{dialect::token_t::START_QUOTE, "`"},
|
{dialect::token_t::START_QUOTE, "`"},
|
||||||
{dialect::token_t::END_QUOTE, "`"},
|
{dialect::token_t::END_QUOTE, "`"},
|
||||||
})
|
})
|
||||||
.with_default_schema_name("public")
|
.with_default_schema_name("")
|
||||||
.build();
|
.build();
|
||||||
return &d;
|
return &d;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
mysql_parameter_binder::mysql_parameter_binder(size_t size)
|
||||||
: bind_params_(size)
|
: bind_params_(size)
|
||||||
|
, is_null_vector(size)
|
||||||
, info_(size)
|
, info_(size)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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();
|
auto &s = TypeTraitsTestFixture<TestType>::session();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue