|
|
- querries.push("insert into statistics('timestamp','name','value') values(" + time_stamp + ",'" + counter +"'," + value + ") on duplicate key value = value + " + value + ", timestamp = " + time_stamp);
|
|
|
+ querries.push("insert into statistics('timestamp','name','value') values(" + time_stamp + ",'" + counter +"'," + value + ") on duplicate key update value = value + " + value + ", timestamp = " + time_stamp);
|