From 4493930ac7a3715e19961e00aa0eb808dc8473ab Mon Sep 17 00:00:00 2001 From: Jared Casey Date: Thu, 3 Oct 2024 17:42:34 -0400 Subject: [PATCH] CXXCBC-599: Update allowed connection string options Changes ======= * Enforce allowed connection string options for Columnar * Enforce golang duration syntax for timeout options (e.g. don't default to millis) * Update connstr tests --- core/utils/connection_string.cxx | 180 +++++++++++++++++++-------- test/test_unit_connection_string.cxx | 128 +++++++++++++++---- 2 files changed, 234 insertions(+), 74 deletions(-) diff --git a/core/utils/connection_string.cxx b/core/utils/connection_string.cxx index ac8173bbc..799256fe4 100644 --- a/core/utils/connection_string.cxx +++ b/core/utils/connection_string.cxx @@ -34,7 +34,7 @@ using namespace tao::pegtl; struct bucket_name : seq { }; -using param_key = star>>; +using param_key = star>>; using param_value = star>, one<'/'>>>; struct param : seq