From 1f4c020df9b23ccf4f291b07f07084946a55c4d4 Mon Sep 17 00:00:00 2001 From: Fabian Posch Date: Mon, 8 Jan 2024 13:22:28 -0500 Subject: [PATCH] add override tracking for db credentials --- include/db_lib/db_types.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/db_lib/db_types.hpp b/include/db_lib/db_types.hpp index 0e648d1..bf1b4db 100644 --- a/include/db_lib/db_types.hpp +++ b/include/db_lib/db_types.hpp @@ -31,16 +31,16 @@ namespace db { // credentials for database access struct db_credentials_t { - std::string server; - bool server_override; - int port; - bool port_override; - std::string uname; - bool uname_override; - std::string pwd; - bool pwd_override; - std::string dbase; - bool dbase_override; + std::string server = ""; + bool server_override = false; + int port = 0; + bool port_override = false; + std::string uname = ""; + bool uname_override = false; + std::string pwd = ""; + bool pwd_override = false; + std::string dbase = ""; + bool dbase_override = false; int version; };