解决sql语法错误. fix #305

This commit is contained in:
imndx
2020-11-27 19:00:34 +08:00
parent ab92bc116c
commit 9e007185ba
@@ -203,10 +203,9 @@ public class DatabaseStore {
} }
if (page > 0) { if (page > 0) {
sql += "offset = '" + page * 20 + "'"; sql += " offset " + page * 20;
} }
statement = connection.prepareStatement(sql); statement = connection.prepareStatement(sql);
int index = 1; int index = 1;
@@ -3146,10 +3145,9 @@ public class DatabaseStore {
if (page > 0) { if (page > 0) {
sql += "offset = '" + page * 20 + "'"; sql += " offset " + page * 20;
} }
statement = connection.prepareStatement(sql); statement = connection.prepareStatement(sql);
int index = 1; int index = 1;
if (buzzy) { if (buzzy) {