Revision 2946
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
455 | 455 |
col, type_ = match.groups() |
456 | 456 |
raise MissingCastException(type_, col, e) |
457 | 457 |
|
458 |
match = re.search(r'\b(\S+) "(.+?)" already exists', msg) |
|
458 |
match = re.search(r'\b(\S+) "(.+?)".*? already exists', msg)
|
|
459 | 459 |
if match: |
460 | 460 |
type_, name = match.groups() |
461 | 461 |
raise DuplicateException(type_, name, e) |
Also available in: Unified diff
sql.py: run_query(): DuplicateException: Also match "column already exists" errors