Revision 3533
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
707 | 707 |
'''+strings.indent(self.exc_handler.to_str(db, self.with_row))+'''\ |
708 | 708 |
END LOOP; |
709 | 709 |
''' |
710 |
if self.row_var is row_var:
|
|
710 |
if self.row_var == row_var:
|
|
711 | 711 |
str_ = '''\ |
712 | 712 |
DECLARE |
713 | 713 |
'''+self.row_var.to_str(db)+''' '''+self.row_type.to_str(db)+'''; |
Also available in: Unified diff
sql_gen.py: RowExcIgnore.to_str(): Compare self.row_var to global const row_var using == to allow caller to provide a copy of row_var with the underlying table set appropriately