summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-01-09 09:36:37 +0100
committerunknown <pem@mysql.comhem.se>2004-01-09 09:36:37 +0100
commitb092868307a92bfc103df5ebfaf95f3f45b92cd8 (patch)
tree727512acc3723695943c2c2e98fb7d75a41f96d5 /sql/sp_rcontext.h
parent03b652cfbf9c06a9d22111d1069ae1926b584af4 (diff)
downloadmariadb-git-b092868307a92bfc103df5ebfaf95f3f45b92cd8.tar.gz
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().
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h2
1 files changed, 1 insertions, 1 deletions
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);