changeset 8151 | 8e3fa37cd8aa |
parent 7521 | a5a5eea29c1b |
child 8694 | d901c36bcfce |
--- a/server/mssteps.py Thu Dec 22 17:46:55 2011 +0100 +++ b/server/mssteps.py Mon Jan 09 22:40:07 2012 +0100 @@ -159,7 +159,9 @@ if self.outputtable: self.plan.create_temp_table(self.outputtable) sql = 'INSERT INTO %s %s' % (self.outputtable, sql) - return self.plan.sqlexec(sql, self.plan.args) + self.plan.syssource.doexec(self.plan.session, sql, self.plan.args) + else: + return self.plan.sqlexec(sql, self.plan.args) def get_sql(self): self.inputmap = inputmap = self.children[-1].outputmap