Merge lp:~laurynas-biveinis/percona-server/bug700965-5.1 into lp:percona-server/5.1

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Stewart Smith
Approved revision: no longer in the source branch.
Merged at revision: 254
Proposed branch: lp:~laurynas-biveinis/percona-server/bug700965-5.1
Merge into: lp:percona-server/5.1
Diff against target: 331 lines (+0/-259)
6 files modified
bugfix48929.patch (+0/-25)
innodb_show_enhancements.patch (+0/-11)
innodb_swap_builtin_plugin.patch (+0/-109)
response-time-distribution.patch (+0/-38)
show_patches.patch (+0/-22)
userstat.patch (+0/-54)
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug700965-5.1
Reviewer Review Type Date Requested Status
Percona developers Pending
Review via email: mp+68507@code.launchpad.net

Description of the change

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bugfix48929.patch'
2--- bugfix48929.patch 2011-05-12 11:00:37 +0000
3+++ bugfix48929.patch 2011-07-20 09:14:29 +0000
4@@ -17,31 +17,6 @@
5 stdlib.h stddef.h \
6 strings.h string.h synch.h sys/mman.h sys/socket.h netinet/in.h arpa/inet.h \
7 sys/timeb.h sys/types.h sys/un.h sys/vadvise.h sys/wait.h term.h \
8-diff -ruN a/configure b/configure
9---- a/configure 2010-07-26 18:29:12.172114128 +0900
10-+++ b/configure 2010-07-26 20:44:59.199030524 +0900
11-@@ -21527,7 +21527,7 @@
12-
13-
14- for ac_header in fcntl.h fenv.h float.h floatingpoint.h fpu_control.h \
15-- ieeefp.h limits.h memory.h pwd.h select.h \
16-+ ieeefp.h limits.h memory.h pwd.h select.h poll.h \
17- stdlib.h stddef.h \
18- strings.h string.h synch.h sys/mman.h sys/socket.h netinet/in.h arpa/inet.h \
19- sys/timeb.h sys/types.h sys/un.h sys/vadvise.h sys/wait.h term.h \
20-diff -ruN a/include/config.h.in b/include/config.h.in
21---- a/include/config.h.in 2010-07-26 18:29:12.192113524 +0900
22-+++ b/include/config.h.in 2010-07-26 20:46:08.265182869 +0900
23-@@ -609,6 +609,9 @@
24- /* Define to 1 if you have the `poll' function. */
25- #undef HAVE_POLL
26-
27-+/* Define to 1 if you have the <poll.h> header file. */
28-+#undef HAVE_POLL_H
29-+
30- /* Define to 1 if you have the `port_create' function. */
31- #undef HAVE_PORT_CREATE
32-
33 diff -ruN a/sql/mysqld.cc b/sql/mysqld.cc
34 --- a/sql/mysqld.cc 2010-07-07 03:33:05.278972002 +0400
35 +++ b/sql/mysqld.cc 2010-07-07 03:33:05.788972002 +0400
36
37=== modified file 'innodb_show_enhancements.patch'
38--- innodb_show_enhancements.patch 2011-03-11 15:25:38 +0000
39+++ innodb_show_enhancements.patch 2011-07-20 09:14:29 +0000
40@@ -16,17 +16,6 @@
41 mem/mem0dbg.c
42
43 EXTRA_LIBRARIES= libinnobase.a
44-diff -ruN a/storage/innodb_plugin/Makefile.in b/storage/innodb_plugin/Makefile.in
45---- a/storage/innodb_plugin/Makefile.in 2010-04-06 23:12:58.000000000 +0900
46-+++ b/storage/innodb_plugin/Makefile.in 2010-04-29 15:22:39.000000000 +0900
47-@@ -782,6 +782,7 @@
48- include/ut0vec.h \
49- include/ut0vec.ic \
50- include/ut0wqueue.h \
51-+ handler/innodb_patch_info.h \
52- mem/mem0dbg.c
53-
54- EXTRA_LIBRARIES = libinnobase.a
55 diff -ruN a/storage/innodb_plugin/handler/ha_innodb.cc b/storage/innodb_plugin/handler/ha_innodb.cc
56 --- a/storage/innodb_plugin/handler/ha_innodb.cc 2010-04-06 23:07:12.000000000 +0900
57 +++ b/storage/innodb_plugin/handler/ha_innodb.cc 2010-04-29 15:22:39.000000000 +0900
58
59=== modified file 'innodb_swap_builtin_plugin.patch'
60--- innodb_swap_builtin_plugin.patch 2011-06-20 06:09:39 +0000
61+++ innodb_swap_builtin_plugin.patch 2011-07-20 09:14:29 +0000
62@@ -5,115 +5,6 @@
63 #!!! notice !!!
64 # Any small change to this file in the main branch
65 # should be done or reviewed by the maintainer!
66-diff -ruN a/configure b/configure
67---- a/configure 2010-04-06 23:13:20.000000000 +0900
68-+++ b/configure 2010-04-28 19:12:59.000000000 +0900
69-@@ -2056,13 +2056,13 @@
70- === InnoDB Storage Engine ===
71- Plugin Name: innobase
72- Description: Transactional Tables using InnoDB
73-- Supports build: static and dynamic
74-+ Supports build: dynamic
75- Configurations: max, max-no-ndb
76-
77- === InnoDB Storage Engine ===
78- Plugin Name: innodb_plugin
79- Description: Transactional Tables using InnoDB
80-- Supports build: dynamic
81-+ Supports build: static and dynamic
82- Configurations: max, max-no-ndb
83-
84- === MyISAM Storage Engine ===
85-@@ -42172,7 +42172,8 @@
86-
87-
88-
89-- mysql_plugin_innobase=yes
90-+ { $as_echo "$as_me:$LINENO: WARNING: InnoDB Storage Engine can only be built as a plugin" >&5
91-+$as_echo "$as_me: WARNING: InnoDB Storage Engine can only be built as a plugin" >&2;}
92-
93-
94-
95-@@ -42184,8 +42185,7 @@
96-
97-
98-
99-- { $as_echo "$as_me:$LINENO: WARNING: InnoDB Storage Engine can only be built as a plugin" >&5
100--$as_echo "$as_me: WARNING: InnoDB Storage Engine can only be built as a plugin" >&2;}
101-+ mysql_plugin_innodb_plugin=yes
102-
103-
104-
105-@@ -43473,7 +43473,7 @@
106- { $as_echo "$as_me:$LINENO: result: no" >&5
107- $as_echo "no" >&6; }
108- else
109--
110-+ with_plugin_innobase=''
111- if test "X$mysql_plugin_innobase" != Xyes -a \
112- "X$with_plugin_innobase" != Xyes; then
113-
114-@@ -43499,20 +43499,11 @@
115- else
116-
117-
118--
119-- mysql_use_plugin_dir="storage/innobase"
120-- mysql_plugin_libs="$mysql_plugin_libs \$(top_builddir)/storage/innobase/libinnobase.a"
121--
122--
123--
124-- cat >>confdefs.h <<\_ACEOF
125--#define WITH_INNOBASE_STORAGE_ENGINE 1
126--_ACEOF
127--
128--
129-- plugin_innobase_static_target="libinnobase.a"
130--
131-- plugin_innobase_shared_target=""
132-+ { $as_echo "$as_me:$LINENO: result: error" >&5
133-+$as_echo "error" >&6; }
134-+ { { $as_echo "$as_me:$LINENO: error: Plugin innobase does not support static linking" >&5
135-+$as_echo "$as_me: error: Plugin innobase does not support static linking" >&2;}
136-+ { (exit 1); exit 1; }; }
137-
138-
139- mysql_plugin_defs="$mysql_plugin_defs, builtin_innobase_plugin"
140-@@ -43600,7 +43591,7 @@
141- { $as_echo "$as_me:$LINENO: result: no" >&5
142- $as_echo "no" >&6; }
143- else
144-- with_plugin_innodb_plugin=''
145-+
146- if test "X$mysql_plugin_innodb_plugin" != Xyes -a \
147- "X$with_plugin_innodb_plugin" != Xyes; then
148-
149-@@ -43626,11 +43617,20 @@
150- else
151-
152-
153-- { $as_echo "$as_me:$LINENO: result: error" >&5
154--$as_echo "error" >&6; }
155-- { { $as_echo "$as_me:$LINENO: error: Plugin innodb_plugin does not support static linking" >&5
156--$as_echo "$as_me: error: Plugin innodb_plugin does not support static linking" >&2;}
157-- { (exit 1); exit 1; }; }
158-+
159-+ mysql_use_plugin_dir="storage/innodb_plugin"
160-+ mysql_plugin_libs="$mysql_plugin_libs \$(top_builddir)/storage/innodb_plugin/libinnobase.a"
161-+
162-+
163-+
164-+ cat >>confdefs.h <<\_ACEOF
165-+#define WITH_INNODB_PLUGIN_STORAGE_ENGINE 1
166-+_ACEOF
167-+
168-+
169-+ plugin_innodb_plugin_static_target="libinnobase.a"
170-+
171-+ plugin_innodb_plugin_shared_target=""
172-
173-
174- mysql_plugin_defs="$mysql_plugin_defs, builtin_innodb_plugin_plugin"
175 diff -ruN a/mysql-test/include/have_innodb_plugin.inc b/mysql-test/include/have_innodb_plugin.inc
176 --- a/mysql-test/include/have_innodb_plugin.inc 2010-05-07 00:59:10.000000000 +0900
177 +++ b/mysql-test/include/have_innodb_plugin.inc 2010-05-25 18:12:49.000000000 +0900
178
179=== modified file 'response-time-distribution.patch'
180--- response-time-distribution.patch 2011-06-07 06:24:26 +0000
181+++ response-time-distribution.patch 2011-07-20 09:14:29 +0000
182@@ -58,44 +58,6 @@
183 sql_base.cc table.cc sql_select.cc sql_insert.cc \
184 sql_profile.cc \
185 sql_prepare.cc sql_error.cc sql_locale.cc \
186-diff -ruN a/sql/Makefile.in b/sql/Makefile.in
187---- a/sql/Makefile.in 2010-11-01 08:43:52.000000000 +0000
188-+++ b/sql/Makefile.in 2010-11-01 08:52:40.000000000 +0000
189-@@ -122,7 +122,7 @@
190- sql_string.$(OBJEXT) sql_manager.$(OBJEXT) sql_map.$(OBJEXT) \
191- mysqld.$(OBJEXT) password.$(OBJEXT) hash_filo.$(OBJEXT) \
192- hostname.$(OBJEXT) sql_connect.$(OBJEXT) scheduler.$(OBJEXT) \
193-- sql_parse.$(OBJEXT) set_var.$(OBJEXT) sql_yacc.$(OBJEXT) \
194-+ sql_parse.$(OBJEXT) set_var.$(OBJEXT) query_response_time.${OBJEXT} sql_yacc.$(OBJEXT) \
195- sql_base.$(OBJEXT) table.$(OBJEXT) sql_select.$(OBJEXT) \
196- sql_insert.$(OBJEXT) sql_profile.$(OBJEXT) \
197- sql_prepare.$(OBJEXT) sql_error.$(OBJEXT) sql_locale.$(OBJEXT) \
198-@@ -562,7 +562,7 @@
199- sql_repl.h slave.h rpl_filter.h rpl_injector.h \
200- log_event.h rpl_record.h \
201- log_event_old.h rpl_record_old.h \
202-- sql_sort.h sql_cache.h set_var.h \
203-+ sql_sort.h sql_cache.h set_var.h query_response_time.h \
204- spatial.h gstream.h client_settings.h tzfile.h \
205- tztime.h my_decimal.h\
206- sp_head.h sp_pcontext.h sp_rcontext.h sp.h sp_cache.h \
207-@@ -585,7 +585,7 @@
208- sql_string.cc sql_manager.cc sql_map.cc \
209- mysqld.cc password.c hash_filo.cc hostname.cc \
210- sql_connect.cc scheduler.cc sql_parse.cc \
211-- set_var.cc sql_yacc.yy \
212-+ set_var.cc query_response_time.cc sql_yacc.yy \
213- sql_base.cc table.cc sql_select.cc sql_insert.cc \
214- sql_profile.cc \
215- sql_prepare.cc sql_error.cc sql_locale.cc \
216-@@ -828,6 +828,7 @@
217- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/password.Po@am__quote@
218- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/procedure.Po@am__quote@
219- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protocol.Po@am__quote@
220-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/query_response_time.Po@am__quote@
221- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/records.Po@am__quote@
222- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/repl_failsafe.Po@am__quote@
223- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpl_filter.Po@am__quote@
224 diff -ruN a/sql/lex.h b/sql/lex.h
225 --- a/sql/lex.h 2010-11-01 08:43:53.000000000 +0000
226 +++ b/sql/lex.h 2010-11-01 08:52:40.000000000 +0000
227
228=== modified file 'show_patches.patch'
229--- show_patches.patch 2011-05-10 07:31:20 +0000
230+++ show_patches.patch 2011-07-20 09:14:29 +0000
231@@ -40,28 +40,6 @@
232 # We might have some stuff not built in this build, but that we want to install
233 install-exec-hook:
234 $(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(pkglibdir)
235-diff -ruN a/sql/Makefile.in b/sql/Makefile.in
236---- a/sql/Makefile.in 2010-04-06 23:12:51.000000000 +0900
237-+++ b/sql/Makefile.in 2010-04-28 15:29:36.000000000 +0900
238-@@ -630,7 +630,7 @@
239- mysql_tzinfo_to_sql_SOURCES = tztime.cc
240- mysql_tzinfo_to_sql_CXXFLAGS = -DTZINFO2SQL
241- BUILT_MAINT_SRC = sql_yacc.cc sql_yacc.h
242--BUILT_SOURCES = $(BUILT_MAINT_SRC) lex_hash.h link_sources
243-+BUILT_SOURCES = $(BUILT_MAINT_SRC) lex_hash.h patch_info.h link_sources
244- EXTRA_DIST = udf_example.c udf_example.def $(BUILT_MAINT_SRC) \
245- nt_servc.cc nt_servc.h \
246- message.mc message.h message.rc MSG00001.bin \
247-@@ -1315,6 +1315,9 @@
248- test ! -f mysqld-debug.sym.gz || $(INSTALL_DATA) mysqld-debug.sym.gz $(DESTDIR)$(pkglibdir)
249- test ! -f mysqld.sym.gz || $(INSTALL_DATA) mysqld.sym.gz $(DESTDIR)$(pkglibdir)
250-
251-+patch_info.h: patch_info.h.pl
252-+ $(PERL) $< > $@
253-+
254- # Don't update the files from bitkeeper
255- %::SCCS/s.%
256- # Tell versions [3.59,3.63) of GNU make to not export all variables.
257 diff -ruN a/sql/lex.h b/sql/lex.h
258 --- a/sql/lex.h 2010-04-06 23:07:01.000000000 +0900
259 +++ b/sql/lex.h 2010-04-28 15:29:36.000000000 +0900
260
261=== modified file 'userstat.patch'
262--- userstat.patch 2011-06-08 23:56:48 +0000
263+++ userstat.patch 2011-07-20 09:14:29 +0000
264@@ -5,18 +5,6 @@
265 #!!! notice !!!
266 # Any small change to this file in the main branch
267 # should be done or reviewed by the maintainer!
268-diff -ruN a/configure b/configure
269---- a/configure 2010-08-27 14:28:05.621275596 +0900
270-+++ b/configure 2010-08-27 15:10:33.736074033 +0900
271-@@ -38265,7 +38265,7 @@
272- realpath rename rint rwlock_init setupterm \
273- shmget shmat shmdt shmctl sigaction sigemptyset sigaddset \
274- sighold sigset sigthreadmask port_create sleep \
275-- snprintf socket stpcpy strcasecmp strerror strsignal strnlen strpbrk strstr \
276-+ snprintf socket strsep stpcpy strcasecmp strerror strsignal strnlen strpbrk strstr \
277- strtol strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr \
278- posix_fallocate backtrace backtrace_symbols backtrace_symbols_fd printstack
279- do
280 diff -ruN a/configure.in b/configure.in
281 --- a/configure.in 2010-10-12 00:34:15.000000000 +0400
282 +++ b/configure.in 2010-11-24 18:00:58.000000000 +0300
283@@ -47,48 +35,6 @@
284
285 AC_SUBST(CLIENT_LIBS)
286 AC_SUBST(CLIENT_THREAD_LIBS)
287-diff -ruN a/include/config.h.in b/include/config.h.in
288---- a/include/config.h.in 2010-10-12 00:39:59.000000000 +0400
289-+++ b/include/config.h.in 2010-11-24 17:53:34.000000000 +0300
290-@@ -498,6 +498,9 @@
291- /* Define to 1 if you have the `pthread' library (-lpthread). */
292- #undef HAVE_LIBPTHREAD
293-
294-+/* Define to 1 if you have the `rt' library (-lrt). */
295-+#undef HAVE_LIBRT
296-+
297- /* Define if have -lwrap */
298- #undef HAVE_LIBWRAP
299-
300-@@ -842,6 +845,9 @@
301- /* Define to 1 if you have the `strpbrk' function. */
302- #undef HAVE_STRPBRK
303-
304-+/* Define to 1 if you have the `strsep' function. */
305-+#undef HAVE_STRSEP
306-+
307- /* Define to 1 if you have the `strsignal' function. */
308- #undef HAVE_STRSIGNAL
309-
310-@@ -863,7 +869,7 @@
311- /* Define to 1 if you have the `strtoull' function. */
312- #undef HAVE_STRTOULL
313-
314--/* Define to 1 if `st_rdev' is member of `struct stat'. */
315-+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
316- #undef HAVE_STRUCT_STAT_ST_RDEV
317-
318- /* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
319-@@ -1158,6 +1164,9 @@
320- /* Define to the one symbol short name of this package. */
321- #undef PACKAGE_TARNAME
322-
323-+/* Define to the home page for this package. */
324-+#undef PACKAGE_URL
325-+
326- /* Define to the version of this package. */
327- #undef PACKAGE_VERSION
328-
329 diff -ruN a/include/mysql/plugin.h b/include/mysql/plugin.h
330 --- a/include/mysql/plugin.h 2010-11-24 17:24:51.000000000 +0300
331 +++ b/include/mysql/plugin.h 2010-11-24 17:24:52.000000000 +0300

Subscribers

People subscribed via source and target branches