Added database configuration file

This commit is contained in:
kdeng00 committed 2019-08-18 16:15:47 -04:00
1 parent 10b546d8b8
commit e9aa5f799c
4 files changed
+11 -15

No files matched your search

+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()))