From dd322a8c59201a54a1e2ee243415a5cb68c5e298 Mon Sep 17 00:00:00 2001
From: unknown <df@pippilotta.erinye.com>
Date: Mon, 19 Mar 2007 20:44:46 +0100
Subject: [PATCH] BUG#27270 Can't compile latest 5.1-main

sql/sql_yacc.yy:
  BUG#27270 remove semicolon that is ignored by newer versions of bison but an error with 1.875
---
 sql/sql_yacc.yy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 7da1ddc7ca..96c4588e57 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -7561,13 +7561,13 @@ index_hint_definition:
        {
          Select->set_index_hint_type($1, $3);
        }
-       '(' key_usage_list ')';
+       '(' key_usage_list ')'
        | USE_SYM key_or_index index_hint_clause
        {
          Select->set_index_hint_type(INDEX_HINT_USE, $3);
        }
-       '(' opt_key_usage_list ')';
-
+       '(' opt_key_usage_list ')'
+       ;
 
 index_hints_list:
        index_hint_definition         
-- 
2.30.9