Make WordPress Core

Opened 22 months ago

#62575 new feature request

Prints SQL/DB error limit last_query too long

Reported by: stormbyte Owned by:
Priority: normal Milestone: Awaiting Review
Component: Database Version:
Severity: normal Keywords:
Cc: Focuses: performance, privacy, php-compatibility

Description

When the is too large for the database to handle it does not mean that the harddisk is ready for the large query.
Some modules obuse the db_options table to store too much data resulting in the query being dumped in the php logs.
It would be nice to either have the query truncated or be optional for example linked to WP_DEBUG.

src/wp-includes/class-wpdb.php R:1810

Change History (0)

Note: See TracTickets for help on using tickets.