Commit 944b1e47 by jinfeng.wang

fix

parent 678f1dca
......@@ -21,7 +21,7 @@ public class MySqlUtil {
Connection con = DriverManager.getConnection(
"jdbc:mysql://dataplatform-app-tag.c5yzcdreb1xr.us-east-1.rds.amazonaws.com:3306/app_tag?useUnicode=true&characterEncoding=utf8&useSSL=false", "apptag_rw", "7gyLEVtkER3u8c9");
Statement stmt = con.createStatement();
String insert_sql = "REPLACE INTO tag_list(package_name, platform, install) VALUES('@packageName','@platform',10000000000)";
String insert_sql = "INSERT INTO tag_list(package_name, platform, install) VALUES('@packageName','@platform',10000000000) ON DUPLICATE KEY INGORE tag = tag";
Iterator<String> iset = set.iterator();
while (iset.hasNext()) {
String platform;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment