SQL error when loading the library with the MySQL database server (#327)
Fixes #305
This commit is contained in:
@@ -479,6 +479,7 @@ namespace gaseous_server.Controllers.v1_1
|
||||
Database db = new Database(Database.databaseType.MySql, Config.DatabaseConfiguration.ConnectionString);
|
||||
|
||||
string sql = @"
|
||||
SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
|
||||
SELECT DISTINCT
|
||||
Game.Id,
|
||||
Game.`Name`,
|
||||
|
Reference in New Issue
Block a user