[wp-trac] [WordPress Trac] #62575: Prints SQL/DB error limit last_query too long

WordPress Trac noreply at wordpress.org
Tue Nov 26 12:45:18 UTC 2024


#62575: Prints SQL/DB error limit last_query too long
-------------------------------------------------+-------------------------
 Reporter:  stormbyte                            |      Owner:  (none)
     Type:  feature request                      |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Database                             |    Version:
 Severity:  normal                               |   Keywords:
  Focuses:  performance, privacy, php-           |
  compatibility                                  |
-------------------------------------------------+-------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62575>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list