[wp-trac] [WordPress Trac] #32763: SQL query results depend on the number of blanks in query (due to error from "wpdb->get_table_from_query")

WordPress Trac noreply at wordpress.org
Tue Jul 14 10:18:59 UTC 2015


#32763: SQL query results depend on the number of blanks in query (due to error
from "wpdb->get_table_from_query")
--------------------------+------------------------------
 Reporter:  klaus-b       |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  4.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by pento):

 * owner:   => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33259"]:
 {{{
 #!CommitTicketReference repository="" revision="33259"
 WPDB: When extracting the table name from a query, we had a 1000 character
 limit on the SQL string that would be searched. This was a hangover from
 when the code was imported from HyperDB, and isn't appropriate for Core,
 where a wider range of queries are likely to be run.

 Fixes #32763
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32763#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list