Fix web page database statistics.

GitOrigin-RevId: e0ab106d981d871a9d2f14563cea613253435563
This commit is contained in:
levlam 2019-04-19 01:11:58 +03:00
parent 849a4fbdb1
commit 60c1fc935c

View File

@ -509,7 +509,7 @@ Result<string> TdDb::get_stats() {
TRY_STATUS(run_query("SELECT 0, SUM(length(data)), COUNT(*) FROM dialogs WHERE 1", "dialogs"));
TRY_STATUS(run_kv_query("%", "common"));
TRY_STATUS(run_kv_query("%", "files"));
TRY_STATUS(run_kv_query("%wp"));
TRY_STATUS(run_kv_query("wp%"));
TRY_STATUS(run_kv_query("wpurl%"));
TRY_STATUS(run_kv_query("wpiv%"));
TRY_STATUS(run_kv_query("us%"));