Make WordPress Core

Opened 4 months ago

#62575 new feature request

Prints SQL/DB error limit last_query too long

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

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.