mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-22 21:19:59 +00:00
Update DataSql.java
This commit is contained in:
1 parent
5f6ec4cbd1
commit
7a7917aed1
1 file changed
+1
-1
@@ -312,7 +312,7 @@ public class DataSql {
|
||||
init();
|
||||
}
|
||||
Statement stat = connection.createStatement();
|
||||
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");
|
||||
String name = null;
|
||||
if (set.next()) {
|
||||
name = set.getString(1);
|
||||
|
||||
Reference in new issue
Block a user