We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f6ec4c commit 7a7917aCopy full SHA for 7a7917a
core/sql/DataSql.java
@@ -312,7 +312,7 @@ public static String readListItem() {
312
init();
313
}
314
Statement stat = connection.createStatement();
315
- ResultSet set = stat.executeQuery("SELECT sid FROM allmusic_list ORDER BY RAND() limit 1");
+ ResultSet set = stat.executeQuery("SELECT sid FROM allmusic_list ORDER BY random() limit 1");
316
String name = null;
317
if (set.next()) {
318
name = set.getString(1);
0 commit comments