List:Commits« Previous MessageNext Message »
From:ahristov Date:October 19 2006 1:56pm
Subject:bk commit into 5.1 tree (andrey:1.2329) BUG#23423
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of andrey. When andrey does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-10-19 15:56:37+02:00, andrey@stripped +1 -0
  Fix small glitch during parsing of ALTER EVENT xyz
  with only COMMENT clause. Strangely it has manifestated itself
  only on two platforms. This is a fix for bug#23423 
  "Syntax error for "ALTER EVENT ... COMMENT ..." on just two platforms"

  sql/sql_yacc.yy@stripped, 2006-10-19 15:56:27+02:00, andrey@stripped +1 -0
    if COMMENT is used mark it as used.
    There was a missing setting to 1 of $$. If COMMENT
    was used in combinations with other clauses then it
    was passing.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	andrey
# Host:	example.com
# Root:	/work/mysql-5.1-release

--- 1.507/sql/sql_yacc.yy	2006-10-19 15:56:50 +02:00
+++ 1.508/sql/sql_yacc.yy	2006-10-19 15:56:50 +02:00
@@ -1421,6 +1421,7 @@ opt_ev_comment: /* empty */ { $$= 0; }
         | COMMENT_SYM TEXT_STRING_sys
           {
             Lex->comment= Lex->event_parse_data->comment= $2;
+            $$= 1;
           }
       ;
 
Thread
bk commit into 5.1 tree (andrey:1.2329) BUG#23423ahristov19 Oct