Closed jameschenjav closed 6 months ago
Thanks for the report.
We have identified the issue and working on a fix.
@jameschenjav Please apply the following patch in lib/thin/statement.js
and let us know:
diff --git a/lib/thin/statement.js b/lib/thin/statement.js
index 9740a85ae..96e09580d 100644
--- a/lib/thin/statement.js
+++ b/lib/thin/statement.js
@@ -142,7 +142,7 @@ class Parser {
break;
}
inComment = true;
- } else if (!exitingComment && ch === '*') {
+ } else if (ch === '*') {
exitingComment = true;
} else if (exitingComment) {
if (ch === '/') {
@jameschenjav Please apply the following patch in
lib/thin/statement.js
and let us know:diff --git a/lib/thin/statement.js b/lib/thin/statement.js index 9740a85ae..96e09580d 100644 --- a/lib/thin/statement.js +++ b/lib/thin/statement.js @@ -142,7 +142,7 @@ class Parser { break; } inComment = true; - } else if (!exitingComment && ch === '*') { + } else if (ch === '*') { exitingComment = true; } else if (exitingComment) { if (ch === '/') {
thanks. it's working now
This has been fixed as part of the 6.3 release.
Oracle DB 21c XE
An error. I have tried v6.1.0 and it works without a problem.
It looks like it parsed the comment into bind vars (with regex?):