Added database configuration file
This commit is contained in:
1 parent
10b546d8b8
commit
e9aa5f799c
4 files changed
+11
-15
No files matched your search
@@ -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()))
|
||||
|
||||
Reference in new issue
Block a user