Project

General

Profile

« Previous | Next » 

Revision 2526

sql.py: run_query(): MissingCastException parsing: Support multiple-word types

View differences:

lib/sql.py
394 394
                value, name = match.groups()
395 395
                raise FunctionValueException(name, strings.to_unicode(value), e)
396 396
            
397
            match = re.search(r'column "(.+?)" is of type (\S+) but expression '
397
            match = re.search(r'column "(.+?)" is of type (.+?) but expression '
398 398
                r'is of type', msg)
399 399
            if match:
400 400
                col, type_ = match.groups()

Also available in: Unified diff