File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1598,7 +1598,7 @@ private function execute_update_statement( WP_Parser_Node $node ): void {
15981598 * UPDATE t, information_schema.columns c SET t.column = c.column ...
15991599 */
16001600 foreach ( $ table_alias_map as $ alias => $ data ) {
1601- if ( 'information_schema ' === strtolower ( $ data ['database ' ] ) ) {
1601+ if ( 'information_schema ' === strtolower ( $ data ['database ' ] ?? '' ) ) {
16021602 throw $ this ->new_access_denied_to_information_schema_exception ();
16031603 }
16041604 }
@@ -2281,7 +2281,7 @@ private function execute_show_statement( WP_Parser_Node $node ): void {
22812281 'flags ' => array ( 'not_null ' ),
22822282 'table ' => '' ,
22832283 'name ' => 'Create Table ' ,
2284- 'len ' => strlen ( $ sql ),
2284+ 'len ' => strlen ( $ sql ?? '' ),
22852285 'precision ' => 31 ,
22862286 ),
22872287 );
You can’t perform that action at this time.
0 commit comments