Editted slight editting bug

This commit is contained in:
YaFedImYaEatIm
2016-10-02 21:22:22 +13:00
parent 9a964ff00e
commit 4cf08e5737
@@ -1901,7 +1901,7 @@ public class Dataset {
airport.getCountry().setDST(DST); airport.getCountry().setDST(DST);
//update country in database //update country in database
stmt = c.createStatement(); stmt = c.createStatement();
String updateCountryQuery = "UPDATE `"+this.name+"_Country` SET `DST` = "+DST+" WHERE `Country_Name` = \""+country+"\""; String updateCountryQuery = "UPDATE `"+this.name+"_Country` SET `DST` = \""+DST+"\" WHERE `Country_Name` = \""+country+"\"";
stmt.execute(updateCountryQuery); stmt.execute(updateCountryQuery);
stmt.close(); stmt.close();
}else{ }else{