summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_prepare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index ba67ed773ad..1b706252ade 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -3865,7 +3865,7 @@ Prepared_statement::execute_bulk_loop(String *expanded_query,
ulong iterations_arg)
{
Reprepare_observer reprepare_observer;
- bool error;
+ bool error= 0;
packet= packet_arg;
packet_end= packet_end_arg;
iterations= iterations_arg;