Little fail

This commit is contained in:
Xephi 2016-01-09 21:39:27 +01:00
parent 9c4331e3e6
commit 5cc5ee8cae

View File

@ -635,7 +635,7 @@ public class MySQL implements DataSource {
list.add(rs.getString(columnName)); list.add(rs.getString(columnName));
} }
rs.close(); rs.close();
sql = "DELETE FROM " + tableName + " WHERE " + columnLastLogin + "<?:"; sql = "DELETE FROM " + tableName + " WHERE " + columnLastLogin + "<?;";
st = con.prepareStatement(sql); st = con.prepareStatement(sql);
st.setLong(1, until); st.setLong(1, until);
st.executeUpdate(); st.executeUpdate();