Revision 5690
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql.py | ||
---|---|---|
574 | 574 |
if match: |
575 | 575 |
type_, name = match.groups() |
576 | 576 |
if type_ == 'function': |
577 |
match = re.match(r'^"?(.+?)"?\(([^,)]+).*\)$', name) |
|
577 |
match = re.match(r'^"?(.+?)"?\((?:.+? := )?([^,)]+).*\)$', name)
|
|
578 | 578 |
if match: |
579 | 579 |
function_name, param0_type = match.groups() |
580 | 580 |
if msg.split('\n')[1].find(function_name) >= 0: # also on line 2 |
Also available in: Unified diff
sql.py: parse_exception(): function MissingCastException: Support functions with named parameters