summaryrefslogtreecommitdiff
path: root/sql/sql_lex.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/sql_lex.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/sql_lex.h')
-rw-r--r--sql/sql_lex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 59969ea09fa..d777abca29a 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -703,6 +703,10 @@ typedef struct st_lex
SELECT_LEX *all_selects_list;
uchar *buf; /* The beginning of string, used by SPs */
uchar *ptr,*tok_start,*tok_end,*end_of_query;
+
+ /* The values of tok_start/tok_end as they were one call of yylex before */
+ uchar *tok_start_prev, *tok_end_prev;
+
char *length,*dec,*change,*name;
char *help_arg;
char *backup_dir; /* For RESTORE/BACKUP */