Project

General

Profile

« Previous | Next » 

Revision 3554

sql_gen.py: Added reraise_exc

View differences:

lib/sql_gen.py
609 609

  
610 610
suppress_exc = 'NULL;\n';
611 611

  
612
reraise_exc = 'RAISE USING ERRCODE = SQLSTATE, MESSAGE = SQLERRM;\n';
613

  
612 614
class ExcHandler(BaseExcHandler):
613 615
    def __init__(self, exc, handler=None):
614 616
        if handler != None: handler = as_Code(handler)

Also available in: Unified diff