diff options
author | sergefp@mysql.com <> | 2005-08-25 17:34:34 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2005-08-25 17:34:34 +0400 |
commit | 95c3afc5d99548a2239eafa070b263f5161a22d2 (patch) | |
tree | 97a53e7de82a610327287be68d515c8dc566aeb2 /sql/sql_lex.h | |
parent | 2a880905c48c897e67e8f75999b30f5b7f9875e6 (diff) | |
download | mariadb-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.h | 4 |
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 */ |