Skip to content

Commit 7a7917a

Browse files
committed
Update DataSql.java
1 parent 5f6ec4c commit 7a7917a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/sql/DataSql.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public static String readListItem() {
312312
init();
313313
}
314314
Statement stat = connection.createStatement();
315-
ResultSet set = stat.executeQuery("SELECT sid FROM allmusic_list ORDER BY RAND() limit 1");
315+
ResultSet set = stat.executeQuery("SELECT sid FROM allmusic_list ORDER BY random() limit 1");
316316
String name = null;
317317
if (set.next()) {
318318
name = set.getString(1);

0 commit comments

Comments
 (0)