Revision 2381
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
369 | 369 |
r'constraint', msg) |
370 | 370 |
if match: raise NullValueException('NOT NULL', [match.group(1)], e) |
371 | 371 |
|
372 |
match = re.search(r'invalid input (?:syntax|value)\b.*?: "(.+?)"\n' |
|
372 |
match = re.search(r'\b(?:invalid input (?:syntax|value)\b.*?' |
|
373 |
r'|date/time field value out of range): "(.+?)"\n' |
|
373 | 374 |
r'(?:(?s).*?)\bfunction "(\w+?)".*?\bat assignment', msg) |
374 | 375 |
if match: |
375 | 376 |
value, name = match.groups() |
Also available in: Unified diff
sql.py: run_query(): FunctionValueException: Also match "date/time field value out of range" errors