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);
|
Database db = new Database(Database.databaseType.MySql, Config.DatabaseConfiguration.ConnectionString);
|
||||||
|
|
||||||
string sql = @"
|
string sql = @"
|
||||||
|
SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
|
||||||
SELECT DISTINCT
|
SELECT DISTINCT
|
||||||
Game.Id,
|
Game.Id,
|
||||||
Game.`Name`,
|
Game.`Name`,
|
||||||
|
Reference in New Issue
Block a user