Compare commits
No commits in common. "92eb30767e59506974d879d0f1ec53fb9c6fe19c" and "4504c783e18610e87ec82b3019bf457871ece1cd" have entirely different histories.
92eb30767e
...
4504c783e1
|
|
@ -7,11 +7,14 @@
|
||||||
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("")
|
.with_default_schema_name("public")
|
||||||
.build();
|
.build();
|
||||||
return &d;
|
return &d;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,6 @@ 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, MySql)
|
TEMPLATE_TEST_CASE_METHOD(TypeTraitsTestFixture, "Special handling of attributes with type traits", "[typetraits]", Sqlite, Postgres)
|
||||||
{
|
{
|
||||||
auto &s = TypeTraitsTestFixture<TestType>::session();
|
auto &s = TypeTraitsTestFixture<TestType>::session();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue