[wp-trac] [WordPress Trac] #37283: /* LOCK */ in SQL query crashes mysqli with no error message and prevents automatic updates

WordPress Trac noreply at wordpress.org
Tue Jul 12 06:36:56 UTC 2016


#37283: /* LOCK */ in SQL query crashes mysqli with no error message and prevents
automatic updates
-------------------------------+------------------------------
 Reporter:  thebfg             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:
 Severity:  major              |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => 2nd-opinion close


Comment:

 Hi @thebfg and welcome to Trac!

 I do believe these are the only locations we use comments in SQL, which
 are there to provide hints to database dropins and the like as to what the
 query is.

 I don't think removing these is the correct action here, it sounds like
 you have hit a bug in PHP or one of the custom things compiled into PHP
 which is causing a segfault on your system, It could even be a php
 security module, which is probably very specific to your distribution, and
 most likely not a core PHP bug.

 I'd focus efforts on determining why PHP is dieing at that point rather
 than failing gracefully and getting that bug fixed/feature disabled.

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


More information about the wp-trac mailing list