summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-08-25 17:34:34 +0400
committersergefp@mysql.com <>2005-08-25 17:34:34 +0400
commit95c3afc5d99548a2239eafa070b263f5161a22d2 (patch)
tree97a53e7de82a610327287be68d515c8dc566aeb2 /sql/sp_rcontext.h
parent2a880905c48c897e67e8f75999b30f5b7f9875e6 (diff)
downloadmariadb-git-95c3afc5d99548a2239eafa070b263f5161a22d2.tar.gz
Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs.
"Interleaved SPs execution is now binlogged properly, "SELECT spfunc()" is binlogged too. The known remaining issue is binlogging/replication of "a routine is deleted while it is executed" scenario.
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index dedbc7bdef1..36380952e5d 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -41,6 +41,16 @@ typedef struct
uint foffset; // Frame offset for the handlers declare level
} sp_handler_t;
+
+/*
+ This is a run context? of one SP ?
+ THis is
+ - a stack of cursors?
+ - a stack of handlers?
+ - a stack of Items ?
+ - a stack of instruction locations in SP?
+*/
+
class sp_rcontext : public Sql_alloc
{
sp_rcontext(const sp_rcontext &); /* Prevent use of these */