Project

General

Profile

« Previous | Next » 

Revision 3453

sql_gen.py: RowExcIgnore: Don't automatically add 'RETURN QUERY' before the with_row code or ';' after it

View differences:

sql_gen.py
505 505
'''+self.select_query.to_str(db)+'''
506 506
    LOOP
507 507
        BEGIN
508
            RETURN QUERY
509 508
'''+self.with_row.to_str(db)+'''
510
;
511 509
        EXCEPTION
512 510
            WHEN '''+self.exc+''' THEN NULL; -- continue to next row
513 511
        END;

Also available in: Unified diff