2022-11-09, 02:31 PM
Hi there,
I've noticed that the table mybb_searchlog is using >100 MB and I figured out that it's possible to do a search query without entering a search string. Therefore the table grows up to 3MB each search query, because I got a search result with 25'296 pages. The minimum character check in the setting does not seem to work.
Imagine how big this table will get if someone clicks 100 times on the search button. Here you see the difference before and after doing "one" search query (entering no search string).
Settings page:
I know that this table is cleaning up itself, but I'm wondering if this might be a bug. I'm using MyBB 1.8.22 (will update soon), PHP Version 7.4.32, 10.3-MariaDB.
PS: In this forum (https://community.mybb.com/search.php) it is also possible to click on "Search" without entering a search string, but here I get a blank page (timeout?). So there is no minimum character check enabled here or it doesn't work anymore.
Best regards
Daniel
I've noticed that the table mybb_searchlog is using >100 MB and I figured out that it's possible to do a search query without entering a search string. Therefore the table grows up to 3MB each search query, because I got a search result with 25'296 pages. The minimum character check in the setting does not seem to work.
Imagine how big this table will get if someone clicks 100 times on the search button. Here you see the difference before and after doing "one" search query (entering no search string).
Settings page:
I know that this table is cleaning up itself, but I'm wondering if this might be a bug. I'm using MyBB 1.8.22 (will update soon), PHP Version 7.4.32, 10.3-MariaDB.
PS: In this forum (https://community.mybb.com/search.php) it is also possible to click on "Search" without entering a search string, but here I get a blank page (timeout?). So there is no minimum character check enabled here or it doesn't work anymore.
Best regards
Daniel