This is an automated email from the ASF dual-hosted git repository.
wu-sheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nodejs.git
The following commit(s) were added to refs/heads/master by this push:
new a6d9395 Bugfix: Pg plugin can't collect paramter values (#131)
a6d9395 is described below
commit a6d9395e9f1f6f029942da40ea938191f6a47616
Author: William Zhou <[email protected]>
AuthorDate: Tue Jun 9 10:29:24 2026 +0800
Bugfix: Pg plugin can't collect paramter values (#131)
Co-authored-by: 周俊辉 <[email protected]>
---
src/plugins/PgPlugin.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/PgPlugin.ts b/src/plugins/PgPlugin.ts
index 757fead..9679b63 100644
--- a/src/plugins/PgPlugin.ts
+++ b/src/plugins/PgPlugin.ts
@@ -70,7 +70,7 @@ class MySQLPlugin implements SwPlugin {
}
if (typeof values === 'function') values = wrapCallback(span, values,
0);
- else if (_values !== undefined) _values = values;
+ else if (values !== undefined) _values = values;
if (typeof callback === 'function') callback = wrapCallback(span,
callback, 0);