summaryrefslogtreecommitdiff
path: root/statement.c
diff options
context:
space:
mode:
authorHiroshi Inoue2017-03-18 23:12:40 +0000
committerHiroshi Inoue2017-03-18 23:12:40 +0000
commitbd4b6b683a309ae0a25ee36868aa37852bdec341 (patch)
treee90eba47b5374b195c46969be8b844b8b795b108 /statement.c
parent0f0b10ad37146e7c98da5fa22ee131cd71e336a0 (diff)
Remove obsolete code in statement.c.
Diffstat (limited to 'statement.c')
-rw-r--r--statement.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/statement.c b/statement.c
index 55018ec..889dc91 100644
--- a/statement.c
+++ b/statement.c
@@ -2020,10 +2020,6 @@ SC_execute(StatementClass *self)
/* issue "ABORT" when query aborted */
if (QR_get_aborted(res))
{
-#ifdef _LEGACY_MODE_
- if (!self->internal)
- CC_abort(conn);
-#endif /* _LEGACY_MODE */
}
else
{
@@ -2092,10 +2088,6 @@ inolog("!!%p->miscinfo=%x res=%p\n", self, self->miscinfo, res);
SC_set_error(self, STMT_EXEC_ERROR, CC_get_errormsg(conn), func);
}
-#ifdef _LEGACY_MODE_
- if (!self->internal)
- CC_abort(conn);
-#endif /* _LEGACY_MODE_ */
}
if (!SC_get_Result(self))
SC_set_Result(self, res);