From b092868307a92bfc103df5ebfaf95f3f45b92cd8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 9 Jan 2004 09:36:37 +0100 Subject: Fix BUG#2269: Lost connect if stored procedure called before USE (And some minor correction of cursor open) sql/sp_head.cc: Detect some errors that doesn't result in a non-zero return code in the SP execution loop. (Also corrected the cursor post_open() call.) sql/sp_rcontext.cc: Corrected the semantics of cursor post_open(). sql/sp_rcontext.h: Corrected the semantics of cursor post_open(). --- sql/sp_rcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sp_rcontext.h') diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h index 7a9271ed06a..1b83d3518b6 100644 --- a/sql/sp_rcontext.h +++ b/sql/sp_rcontext.h @@ -220,7 +220,7 @@ public: LEX * pre_open(THD *thd); void - post_open(THD *thd, my_bool isopen); + post_open(THD *thd, my_bool was_opened); int close(THD *thd); -- cgit v1.2.1