]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorRemi Collet <remi@php.net>
Thu, 15 Sep 2016 11:27:20 +0000 (13:27 +0200)
committerRemi Collet <remi@php.net>
Thu, 15 Sep 2016 11:27:20 +0000 (13:27 +0200)
ext/mysqlnd/mysqlnd_wireprotocol.c

index 855a25cea1c0b50b535f51e57c7b50eab915c2f7..844330fbf1000dda0546dd3a49b675fd6080e8b2 100644 (file)
@@ -1610,7 +1610,7 @@ php_mysqlnd_rowp_read_text_protocol_aux(MYSQLND_MEMORY_POOL_CHUNK * row_buffer,
                const unsigned long len = php_mysqlnd_net_field_length(&p);
 
                if (len != MYSQLND_NULL_LENGTH && ((p + len) > packet_end)) {
-                       php_error_docref(NULL, E_WARNING, "Malformed server packet. Field length pointing "MYSQLND_SZ_T_SPEC
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "Malformed server packet. Field length pointing "MYSQLND_SZ_T_SPEC
                                                                                          " bytes after end of packet", (p + len) - packet_end - 1);
                        DBG_RETURN(FAIL);
                }