]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- up to 5.1.71 14.9
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 29 Aug 2013 09:33:53 +0000 (11:33 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 29 Aug 2013 09:33:53 +0000 (11:33 +0200)
bison3.patch [new file with mode: 0644]
mysql.spec

diff --git a/bison3.patch b/bison3.patch
new file mode 100644 (file)
index 0000000..d8e0985
--- /dev/null
@@ -0,0 +1,40 @@
+--- Percona-Server-5.5.32-rel31.0/sql/sql_yacc.yy.orig 2013-07-01 05:16:34.000000000 +0200
++++ Percona-Server-5.5.32-rel31.0/sql/sql_yacc.yy      2013-08-18 21:33:19.181583895 +0200
+@@ -26,8 +26,6 @@
+ ** The type will be void*, so it must be  cast to (THD*) when used.
+ ** Use the YYTHD macro for this.
+ */
+-#define YYPARSE_PARAM yythd
+-#define YYLEX_PARAM yythd
+ #define YYTHD ((THD *)yythd)
+ #define YYLIP (& YYTHD->m_parser_state->m_lip)
+ #define YYPS (& YYTHD->m_parser_state->m_yacc)
+@@ -76,7 +74,7 @@
+     ulong val= *(F);                          \
+     if (my_yyoverflow((B), (D), &val))        \
+     {                                         \
+-      yyerror((char*) (A));                   \
++      yyerror(yythd, (char*) (A));            \
+       return 2;                               \
+     }                                         \
+     else                                      \
+@@ -174,7 +172,7 @@
+   to abort from the parser.
+ */
+-void MYSQLerror(const char *s)
++void MYSQLerror(void *yythd, const char *s)
+ {
+   THD *thd= current_thd;
+@@ -780,7 +778,9 @@
+ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
+ %}
+-%pure_parser                                    /* We have threads */
++%pure-parser                                    /* We have threads */
++%parse-param { void *yythd }
++%lex-param { void *yythd }
+ /*
+   Currently there are 168 shift/reduce conflicts.
+   We should not introduce new conflicts any more.
index 695818cc2a0951c2dc51a47a2acdf296ad0b3eb9..3764c00157139dbbb6831a1868029849816e3f8a 100644 (file)
@@ -22,7 +22,7 @@
 %bcond_with    ndb             # NDB is now a separate product, this here is broken, so disable it
 
 %define                rel     1
-%define                percona_rel     14.8
+%define                percona_rel     14.9
 %include       /usr/lib/rpm/macros.perl
 Summary:       MySQL: a very fast and reliable SQL database engine
 Summary(de.UTF-8):     MySQL: ist eine SQL-Datenbank
@@ -33,13 +33,13 @@ Summary(ru.UTF-8):  MySQL - быстрый SQL-сервер
 Summary(uk.UTF-8):     MySQL - швидкий SQL-сервер
 Summary(zh_CN.UTF-8):  MySQL数据库服务器
 Name:          mysql
-Version:       5.1.70
+Version:       5.1.71
 Release:       %{percona_rel}.%{rel}
 License:       GPL + MySQL FLOSS Exception
 Group:         Applications/Databases
 # Source0Download: http://www.percona.com/downloads/Percona-Server-5.1/LATEST/source/
 Source0:       http://www.percona.com/downloads/Percona-Server-5.1/LATEST/source/Percona-Server-%{version}-rel%{percona_rel}.tar.gz
-# Source0-md5: 164230ac7b449eb69f0918fc5b8b09f2
+# Source0-md5: b6d67802d3dceb45a29b211be2226646
 Source100:     http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz
 # Source100-md5:       7b9b618cb9b378f949bb1b91ddcc4f54
 Source1:       %{name}.init
@@ -70,6 +70,7 @@ Patch13:      gcc-ice.patch
 Patch14:       %{name}-bug-43594.patch
 Patch15:       plugin-avoid-version.patch
 Patch16:       %{name}-fix-dummy-thread-race-condition.patch
+Patch17:       bison3.patch
 Patch18:       %{name}-sphinx.patch
 URL:           http://www.mysql.com/products/community/
 BuildRequires: autoconf
@@ -515,6 +516,7 @@ mv sphinx-*/mysqlse storage/sphinx
 %patch14 -p0
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 %build
 %if "%{pld_release}" == "ac"
This page took 0.05371 seconds and 4 git commands to generate.