Revision 5714
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql.py | ||
---|---|---|
580 | 580 |
func = sql_gen.Function(function_name) |
581 | 581 |
if function_exists(db, func) and msg.find('CAST') < 0: |
582 | 582 |
# not found only because of a missing cast |
583 |
raise MissingCastException('text', function_name, e)
|
|
583 |
raise MissingCastException('text', None, e)
|
|
584 | 584 |
raise DoesNotExistException(type_, name, e) |
585 | 585 |
|
586 | 586 |
raise # no specific exception raised |
Also available in: Unified diff
sql.py: parse_exception(): function MissingCastException: Fixed bug where can't return the function name as the name of what was missing the cast, because this must be a column