|
|
|
|
@ -5713,7 +5713,7 @@ void ProxySQL_Admin::stats___mysql_processlist() {
|
|
|
|
|
if (resultset==NULL) return;
|
|
|
|
|
statsdb->execute("BEGIN");
|
|
|
|
|
statsdb->execute("DELETE FROM stats_mysql_processlist");
|
|
|
|
|
char *a=(char *)"INSERT INTO stats_mysql_processlist VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')";
|
|
|
|
|
char *a=(char *)"INSERT OR IGNORE INTO stats_mysql_processlist VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')";
|
|
|
|
|
for (std::vector<SQLite3_row *>::iterator it = resultset->rows.begin() ; it != resultset->rows.end(); ++it) {
|
|
|
|
|
SQLite3_row *r=*it;
|
|
|
|
|
int arg_len=0;
|
|
|
|
|
|