From a16d3d7a213a395d9de63ade881f0d4c7bb13e09 Mon Sep 17 00:00:00 2001 From: Sascha Kuehl Date: Sun, 14 Jan 2024 11:14:59 +0100 Subject: [PATCH] fixed mysql dialect configuration --- backends/mysql/src/mysql_dialect.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backends/mysql/src/mysql_dialect.cpp b/backends/mysql/src/mysql_dialect.cpp index c9ff5fb..5ab4f49 100644 --- a/backends/mysql/src/mysql_dialect.cpp +++ b/backends/mysql/src/mysql_dialect.cpp @@ -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; }