Specify that SQLite3_memory is in bytes

pull/679/merge
René Cannaò 10 years ago
parent 6bee5df0e7
commit b0a9dc3141

@ -3120,7 +3120,7 @@ void ProxySQL_Admin::stats___mysql_global() {
int highwater;
int current;
sqlite3_status(SQLITE_STATUS_MEMORY_USED, &current, &highwater, 0);
char *vn=(char *)"SQLite3_memory";
char *vn=(char *)"SQLite3_memory_bytes";
char *query=(char *)malloc(strlen(a)+strlen(vn)+32);
char bu[16];
sprintf(bu,"%d",current);

Loading…
Cancel
Save