Skip to content

Commit 5b8dd71

Browse files
committed
feedback
1 parent d4fd646 commit 5b8dd71

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

agent/php_mysqli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ const char* nr_php_mysqli_strip_persistent_prefix(const char* host) {
689689
return host;
690690
}
691691

692-
void nr_mysqli_rshutdown() {
692+
void nr_php_mysqli_rshutdown() {
693693
/*
694694
* This frees mysqli metadata stored in the transaction.
695695
*

agent/php_mysqli.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,6 @@ extern void nr_php_mysqli_remove_datastore_instance(
167167
* Purpose : Frees reference incremented, transaction global zvals
168168
* that must be cleaned up prior to postdeactivate
169169
*/
170-
extern void nr_mysqli_rshutdown();
170+
extern void nr_php_mysqli_rshutdown();
171171

172172
#endif /* PHP_MYSQLI_HDR */

agent/php_pdo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ zval* nr_php_pdo_disable_persistence(const zval* options TSRMLS_DC) {
639639
return result;
640640
}
641641

642-
void nr_pdo_rshutdown() {
642+
void nr_php_pdo_rshutdown() {
643643
/*
644644
* This frees pdo metadata stored in the transaction.
645645
*

agent/php_pdo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,5 @@ extern void nr_php_pdo_free_data_sources(struct pdo_data_src_parser* parsed,
165165
* Purpose : Frees reference incremented, transaction global zvals
166166
* that must be cleaned up prior to postdeactivate
167167
*/
168-
extern void nr_pdo_rshutdown();
168+
extern void nr_php_pdo_rshutdown();
169169
#endif

agent/php_rshutdown.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "php_globals.h"
1313
#include "php_user_instrument.h"
1414
#include "php_wrapper.h"
15+
#include "php_mysqli.h"
16+
#include "php_pdo.h"
1517
#include "util_logging.h"
1618
#include "lib_guzzle4.h"
1719

@@ -49,8 +51,8 @@ PHP_RSHUTDOWN_FUNCTION(newrelic) {
4951

5052
nr_guzzle4_rshutdown(TSRMLS_C);
5153
nr_curl_rshutdown(TSRMLS_C);
52-
nr_pdo_rshutdown();
53-
nr_mysqli_rshutdown();
54+
nr_php_pdo_rshutdown();
55+
nr_php_mysqli_rshutdown();
5456

5557
nrl_verbosedebug(NRL_INIT, "RSHUTDOWN processing done");
5658

0 commit comments

Comments
 (0)