Added database configuration file

This commit is contained in:
kdeng00
2019-08-18 16:15:47 -04:00
parent 10b546d8b8
commit e9aa5f799c
4 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ MYSQL* base_repository::setup_mysql_connection(database_connection details)
return connection;
}
MYSQL_RES* base_repository::perform_mysql_query(MYSQL *conn, std::string& query)
MYSQL_RES* base_repository::perform_mysql_query(MYSQL *conn, const std::string& query)
{
// send the query to the database
if (mysql_query(conn, query.c_str()))