Skip to content

Commit e59c04f

Browse files
yahondaclaude
andcommitted
VALIDATION: use naive ;? fix to verify regression test fails
This commit intentionally uses the naive fix to validate that the regression test catches RECORD field false positives on both 23c and 11g. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8c3a06a commit e59c04f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/plsql/variable.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ def find(schema, variable, package, override_schema_name = nil)
99
AND type = 'PACKAGE'
1010
AND UPPER(text) LIKE :variable_name",
1111
override_schema_name || schema.schema_name, package, "%#{variable_upcase}%").each do |row|
12-
if row[0] =~ /^\s*#{variable_upcase}\s+(CONSTANT\s+)?([A-Z0-9_. %]+(\([\w\s,]+\))?)\s*(NOT\s+NULL)?\s*((:=|DEFAULT).*)?;\s*(--.*)?$/i ||
13-
row[0] =~ /^\s*#{variable_upcase}\s+(CONSTANT\s+)?([A-Z0-9_. %]+(\([\w\s,]+\))?)\s*(NOT\s+NULL)?\s*(:=|DEFAULT)\s*$/i
12+
if row[0] =~ /^\s*#{variable_upcase}\s+(CONSTANT\s+)?([A-Z0-9_. %]+(\([\w\s,]+\))?)\s*(NOT\s+NULL)?\s*((:=|DEFAULT).*)?;?\s*(--.*)?$/i
1413
return new(schema, variable, package, $2.strip, override_schema_name)
1514
end
1615
end

0 commit comments

Comments
 (0)