Skip to content

Commit 8964d26

Browse files
roylysengdahlerlend
authored andcommitted
Bug#36035041: the fix for bug110801 on 8.0.35 is incomplete
The fix for bug#35328028/110801 was successfully pushed to 8.2, however the push to 8.0.35 was incomplete. This patch fixes this problem by pushing the remaining part of the fix, including the test case, to 8.0. Change-Id: I2e17e1055e872a936d05c70aaaab0fb61935de0e
1 parent 41a53ab commit 8964d26

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sql/sp_instr.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -762,13 +762,6 @@ bool sp_lex_instr::validate_lex_and_execute_core(THD *thd, uint *nextp,
762762
*/
763763
if (stmt_reprepare_observer == nullptr || thd->is_fatal_error() ||
764764
thd->killed || thd->get_stmt_da()->mysql_errno() != ER_NEED_REPREPARE) {
765-
/*
766-
If an error occurred before execution, make sure next execution is
767-
started with a clean statement:
768-
*/
769-
if (m_lex->is_metadata_used() && !m_lex->is_exec_started()) {
770-
invalidate();
771-
}
772765
return true;
773766
}
774767
/*

0 commit comments

Comments
 (0)