Merge lp:~ignacio-nin/percona-xtradb-cluster/release-5.5.29 into lp:percona-xtradb-cluster/percona-xtradb-cluster-5.5
- release-5.5.29
- Merge into 5.5
Proposed by
Ignacio Nin
Status: | Merged |
---|---|
Approved by: | Vadim Tkachenko |
Approved revision: | no longer in the source branch. |
Merged at revision: | 381 |
Proposed branch: | lp:~ignacio-nin/percona-xtradb-cluster/release-5.5.29 |
Merge into: | lp:percona-xtradb-cluster/percona-xtradb-cluster-5.5 |
Diff against target: |
12020 lines (+6281/-1224) 180 files modified
Makefile (+1/-1) Makefile.ps (+2/-2) Percona-Server/CMakeLists.txt (+2/-0) Percona-Server/VERSION (+1/-1) Percona-Server/client/mysql.cc (+89/-2) Percona-Server/cmake/configure.pl (+10/-0) Percona-Server/cmake/create_initial_db.cmake.in (+8/-2) Percona-Server/cmake/info_macros.cmake.in (+5/-3) Percona-Server/cmake/install_layout.cmake (+10/-2) Percona-Server/cmake/mysql_version.cmake (+1/-1) Percona-Server/cmake/package_name.cmake (+1/-1) Percona-Server/cmake/plugin.cmake (+1/-0) Percona-Server/cmake/wsrep.cmake (+1/-1) Percona-Server/dbug/dbug.c (+1/-1) Percona-Server/libmysql/libmysql.c (+1/-1) Percona-Server/mysql-test/include/have_null_audit_plugin.inc (+22/-0) Percona-Server/mysql-test/include/plugin.defs (+1/-0) Percona-Server/mysql-test/include/rpl_start_server.inc (+10/-5) Percona-Server/mysql-test/lib/mtr_cases.pm (+1/-0) Percona-Server/mysql-test/mysql-test-run.pl (+1/-0) Percona-Server/mysql-test/r/contributors.result (+2/-0) Percona-Server/mysql-test/r/ctype_ucs.result (+26/-0) Percona-Server/mysql-test/r/loaddata.result (+0/-29) Percona-Server/mysql-test/r/percona_bug1017192.result (+10/-0) Percona-Server/mysql-test/r/plugin_auth.result (+12/-9) Percona-Server/mysql-test/r/show_check.result (+11/-0) Percona-Server/mysql-test/r/sp_notembedded.result (+1/-1) Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_innodb.test (+1/-1) Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_myisam.test (+1/-1) Percona-Server/mysql-test/suite/innodb/r/innodb-autoinc.result (+88/-0) Percona-Server/mysql-test/suite/innodb/r/innodb-zip.result (+3/-3) Percona-Server/mysql-test/suite/innodb/r/innodb.result (+1/-1) Percona-Server/mysql-test/suite/innodb/r/innodb_bug14704286.result (+53/-0) Percona-Server/mysql-test/suite/innodb/r/innodb_bug53591.result (+1/-1) Percona-Server/mysql-test/suite/innodb/r/innodb_corrupt_bit.result (+4/-4) Percona-Server/mysql-test/suite/innodb/r/innodb_misc1.result (+1/-1) Percona-Server/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result (+1/-1) Percona-Server/mysql-test/suite/innodb/t/innodb-autoinc.test (+39/-2) Percona-Server/mysql-test/suite/innodb/t/innodb_bug14704286.test (+95/-0) Percona-Server/mysql-test/suite/innodb/t/innodb_corrupt_bit.test (+3/-3) Percona-Server/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test (+1/-0) Percona-Server/mysql-test/suite/perfschema/r/func_file_io.result (+17/-0) Percona-Server/mysql-test/suite/perfschema/r/func_mutex.result (+25/-0) Percona-Server/mysql-test/suite/perfschema/t/func_file_io.test (+7/-0) Percona-Server/mysql-test/suite/perfschema/t/func_mutex.test (+13/-0) Percona-Server/mysql-test/suite/rpl/r/rpl_semi_sync.result (+12/-11) Percona-Server/mysql-test/suite/rpl/t/rpl_semi_sync.test (+4/-3) Percona-Server/mysql-test/suite/sys_vars/r/innodb_change_buffering_debug_basic.result (+0/-3) Percona-Server/mysql-test/suite/sys_vars/t/innodb_change_buffering_debug_basic.test (+3/-1) Percona-Server/mysql-test/t/ctype_ucs.test (+32/-0) Percona-Server/mysql-test/t/loaddata.test (+34/-30) Percona-Server/mysql-test/t/percona_bug1017192.test (+40/-0) Percona-Server/mysql-test/t/plugin_auth.test (+23/-9) Percona-Server/mysql-test/t/show_check.test (+14/-0) Percona-Server/mysql-test/t/sp_notembedded.test (+10/-8) Percona-Server/packaging/rpm-uln/CMakeLists.txt (+38/-0) Percona-Server/packaging/rpm-uln/README-ULN (+15/-0) Percona-Server/packaging/rpm-uln/README.mysql-docs (+4/-0) Percona-Server/packaging/rpm-uln/filter-requires-mysql.sh (+3/-0) Percona-Server/packaging/rpm-uln/generate-tarball.sh (+15/-0) Percona-Server/packaging/rpm-uln/my.cnf (+10/-0) Percona-Server/packaging/rpm-uln/my_config.h (+29/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-errno.patch (+21/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-fix-tests.patch (+34/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-libdir.patch (+28/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-mtr1.patch (+25/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-stack-guard.patch (+140/-0) Percona-Server/packaging/rpm-uln/mysql-5.5-testing.patch (+23/-0) Percona-Server/packaging/rpm-uln/mysql-chain-certs.patch (+45/-0) Percona-Server/packaging/rpm-uln/mysql-embedded-check.c (+26/-0) Percona-Server/packaging/rpm-uln/mysql-expired-certs.patch (+555/-0) Percona-Server/packaging/rpm-uln/mysql-install-test.patch (+33/-0) Percona-Server/packaging/rpm-uln/mysql-strmov.patch (+32/-0) Percona-Server/packaging/rpm-uln/mysql.init (+209/-0) Percona-Server/packaging/rpm-uln/mysql.spec.sh (+1959/-0) Percona-Server/packaging/rpm-uln/scriptstub.c (+32/-0) Percona-Server/scripts/clustercheck.sh (+3/-1) Percona-Server/scripts/mysql_install_db.pl.in (+18/-3) Percona-Server/scripts/mysqld_multi.sh (+22/-0) Percona-Server/scripts/mysqld_safe.sh (+59/-24) Percona-Server/sql/CMakeLists.txt (+5/-3) Percona-Server/sql/event_db_repository.cc (+8/-2) Percona-Server/sql/filesort.cc (+10/-1) Percona-Server/sql/ha_partition.cc (+175/-49) Percona-Server/sql/ha_partition.h (+4/-0) Percona-Server/sql/handler.cc (+38/-9) Percona-Server/sql/handler.h (+2/-0) Percona-Server/sql/hostname.cc (+54/-2) Percona-Server/sql/item_cmpfunc.cc (+19/-0) Percona-Server/sql/item_func.cc (+2/-1) Percona-Server/sql/item_func.h (+1/-0) Percona-Server/sql/item_subselect.cc (+22/-9) Percona-Server/sql/log.cc (+6/-0) Percona-Server/sql/log_event.cc (+64/-7) Percona-Server/sql/log_event.h (+2/-2) Percona-Server/sql/log_event_old.cc (+27/-9) Percona-Server/sql/mysqld.cc (+10/-1) Percona-Server/sql/opt_range.cc (+58/-12) Percona-Server/sql/opt_sum.cc (+7/-2) Percona-Server/sql/records.cc (+8/-2) Percona-Server/sql/rpl_utility.cc (+1/-0) Percona-Server/sql/sp.cc (+14/-3) Percona-Server/sql/sp_head.cc (+27/-21) Percona-Server/sql/sp_rcontext.cc (+3/-8) Percona-Server/sql/sp_rcontext.h (+42/-3) Percona-Server/sql/sql_acl.cc (+270/-136) Percona-Server/sql/sql_connect.cc (+13/-0) Percona-Server/sql/sql_handler.cc (+13/-12) Percona-Server/sql/sql_help.cc (+8/-2) Percona-Server/sql/sql_lex.cc (+1/-0) Percona-Server/sql/sql_list.h (+9/-1) Percona-Server/sql/sql_parse.cc (+7/-2) Percona-Server/sql/sql_plugin.cc (+3/-2) Percona-Server/sql/sql_priv.h (+35/-0) Percona-Server/sql/sql_profile.cc (+19/-10) Percona-Server/sql/sql_profile.h (+4/-2) Percona-Server/sql/sql_select.cc (+73/-31) Percona-Server/sql/sql_show.cc (+13/-4) Percona-Server/sql/sql_signal.cc (+9/-3) Percona-Server/sql/sql_table.cc (+15/-7) Percona-Server/sql/sql_update.cc (+10/-4) Percona-Server/sql/sql_yacc.yy (+8/-0) Percona-Server/sql/sys_vars.cc (+1/-3) Percona-Server/sql/tztime.cc (+14/-18) Percona-Server/sql/uniques.cc (+6/-1) Percona-Server/sql/wsrep_mysqld.cc (+28/-13) Percona-Server/sql/wsrep_mysqld.h (+3/-1) Percona-Server/sql/wsrep_var.cc (+4/-2) Percona-Server/storage/innobase/btr/btr0btr.c (+43/-15) Percona-Server/storage/innobase/btr/btr0cur.c (+14/-12) Percona-Server/storage/innobase/buf/buf0buf.c (+4/-3) Percona-Server/storage/innobase/buf/buf0lru.c (+4/-2) Percona-Server/storage/innobase/dict/dict0dict.c (+59/-30) Percona-Server/storage/innobase/fil/fil0fil.c (+49/-25) Percona-Server/storage/innobase/handler/ha_innodb.cc (+27/-13) Percona-Server/storage/innobase/handler/ha_innodb.h (+5/-4) Percona-Server/storage/innobase/handler/handler0alter.cc (+6/-2) Percona-Server/storage/innobase/ibuf/ibuf0ibuf.c (+34/-4) Percona-Server/storage/innobase/include/btr0cur.h (+1/-1) Percona-Server/storage/innobase/include/dict0dict.h (+12/-0) Percona-Server/storage/innobase/include/dict0mem.h (+6/-1) Percona-Server/storage/innobase/include/page0zip.h (+5/-3) Percona-Server/storage/innobase/include/row0undo.h (+0/-7) Percona-Server/storage/innobase/include/row0upd.ic (+3/-0) Percona-Server/storage/innobase/include/univ.i (+19/-1) Percona-Server/storage/innobase/log/log0online.c (+4/-4) Percona-Server/storage/innobase/log/log0recv.c (+2/-3) Percona-Server/storage/innobase/os/os0file.c (+13/-0) Percona-Server/storage/innobase/page/page0cur.c (+4/-3) Percona-Server/storage/innobase/page/page0page.c (+16/-8) Percona-Server/storage/innobase/page/page0zip.c (+111/-46) Percona-Server/storage/innobase/rem/rem0rec.c (+3/-2) Percona-Server/storage/innobase/row/row0ins.c (+0/-8) Percona-Server/storage/innobase/row/row0mysql.c (+4/-1) Percona-Server/storage/innobase/row/row0sel.c (+20/-7) Percona-Server/storage/innobase/row/row0umod.c (+0/-53) Percona-Server/storage/innobase/row/row0undo.c (+0/-19) Percona-Server/storage/innobase/row/row0upd.c (+142/-38) Percona-Server/storage/myisam/mi_open.c (+2/-1) Percona-Server/storage/myisam/myisamchk.c (+8/-1) Percona-Server/support-files/mysql.spec.sh (+28/-13) Percona-Server/tests/mysql_client_test.c (+1/-0) WSREP-REVISION (+1/-1) build/build-binary.sh (+50/-22) build/build-dpkg.sh (+10/-15) build/debian/control (+60/-103) build/debian/patches/30_scripts__mysqld_safe.sh__signals.dpatch (+9/-14) build/debian/percona-server-server-5.5.docs (+0/-8) build/debian/percona-server-server-5.5.install (+0/-56) build/debian/rules (+42/-44) build/percona-shared-compat.spec (+1/-1) build/percona-xtradb-cluster.spec (+2/-2) doc-ps/source/conf.py (+5/-5) doc-ps/source/diagnostics/slow_extended_55.rst (+33/-32) doc-ps/source/installation/apt_repo.rst (+1/-1) doc-ps/source/management/changed_page_tracking.rst (+13/-0) doc-ps/source/release-notes/Percona-Server-5.5.28-29.2.rst (+4/-2) doc-ps/source/release-notes/Percona-Server-5.5.28-29.3.rst (+32/-0) doc-ps/source/release-notes/Percona-Server-5.5.29-29.4.rst (+14/-0) doc-ps/source/upstream-bug-fixes.rst (+45/-15) |
To merge this branch: | bzr merge lp:~ignacio-nin/percona-xtradb-cluster/release-5.5.29 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vadim Tkachenko | Approve | ||
Review via email: mp+145971@code.launchpad.net |
Commit message
Description of the change
Changes for release 5.5.29-23.7.1
To post a comment you must log in.
Revision history for this message
Vadim Tkachenko (vadim-tk) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === renamed file 'Makefile.pxc' => 'Makefile' | |||
2 | --- Makefile.pxc 2012-12-22 02:14:09 +0000 | |||
3 | +++ Makefile 2013-01-31 20:19:36 +0000 | |||
4 | @@ -1,6 +1,6 @@ | |||
5 | 1 | FETCH_CMD=wget | 1 | FETCH_CMD=wget |
6 | 2 | MASTER_SITE=http://s3.amazonaws.com/percona.com/downloads/community | 2 | MASTER_SITE=http://s3.amazonaws.com/percona.com/downloads/community |
8 | 3 | MYSQL_VERSION=5.5.28 | 3 | MYSQL_VERSION=5.5.29 |
9 | 4 | PERCONA_SERVER_VERSION=rel29.1 | 4 | PERCONA_SERVER_VERSION=rel29.1 |
10 | 5 | PERCONA_XTRADB_CLUSTER ?=Percona-XtraDB-Cluster-$(MYSQL_VERSION) | 5 | PERCONA_XTRADB_CLUSTER ?=Percona-XtraDB-Cluster-$(MYSQL_VERSION) |
11 | 6 | PERCONA_SERVER ?=Percona-Server | 6 | PERCONA_SERVER ?=Percona-Server |
12 | 7 | 7 | ||
13 | === renamed file 'Makefile' => 'Makefile.ps' | |||
14 | --- Makefile 2012-12-06 19:08:25 +0000 | |||
15 | +++ Makefile.ps 2013-01-31 20:19:36 +0000 | |||
16 | @@ -1,7 +1,7 @@ | |||
17 | 1 | FETCH_CMD=wget | 1 | FETCH_CMD=wget |
18 | 2 | MASTER_SITE=http://s3.amazonaws.com/percona.com/downloads/community | 2 | MASTER_SITE=http://s3.amazonaws.com/percona.com/downloads/community |
21 | 3 | MYSQL_VERSION=5.5.28 | 3 | MYSQL_VERSION=5.5.29 |
22 | 4 | PERCONA_SERVER_VERSION=rel29.2 | 4 | PERCONA_SERVER_VERSION=rel29.4 |
23 | 5 | PERCONA_SERVER ?=Percona-Server-$(MYSQL_VERSION)-$(PERCONA_SERVER_VERSION) | 5 | PERCONA_SERVER ?=Percona-Server-$(MYSQL_VERSION)-$(PERCONA_SERVER_VERSION) |
24 | 6 | PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION) | 6 | PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION) |
25 | 7 | PERCONA_SERVER_SHORT_2 ?=Percona-Server | 7 | PERCONA_SERVER_SHORT_2 ?=Percona-Server |
26 | 8 | 8 | ||
27 | === modified file 'Percona-Server/CMakeLists.txt' | |||
28 | --- Percona-Server/CMakeLists.txt 2012-10-25 21:11:01 +0000 | |||
29 | +++ Percona-Server/CMakeLists.txt 2013-01-31 20:19:36 +0000 | |||
30 | @@ -19,6 +19,7 @@ | |||
31 | 19 | CMAKE_POLICY(VERSION 2.8) | 19 | CMAKE_POLICY(VERSION 2.8) |
32 | 20 | endif() | 20 | endif() |
33 | 21 | 21 | ||
34 | 22 | MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}") | ||
35 | 22 | 23 | ||
36 | 23 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) | 24 | SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) |
37 | 24 | 25 | ||
38 | @@ -347,6 +348,7 @@ | |||
39 | 347 | IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt) | 348 | IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt) |
40 | 348 | ADD_SUBDIRECTORY(internal) | 349 | ADD_SUBDIRECTORY(internal) |
41 | 349 | ENDIF() | 350 | ENDIF() |
42 | 351 | ADD_SUBDIRECTORY(packaging/rpm-uln) | ||
43 | 350 | ENDIF() | 352 | ENDIF() |
44 | 351 | 353 | ||
45 | 352 | INCLUDE(cmake/abi_check.cmake) | 354 | INCLUDE(cmake/abi_check.cmake) |
46 | 353 | 355 | ||
47 | === modified file 'Percona-Server/VERSION' | |||
48 | --- Percona-Server/VERSION 2012-10-25 21:11:01 +0000 | |||
49 | +++ Percona-Server/VERSION 2013-01-31 20:19:36 +0000 | |||
50 | @@ -1,4 +1,4 @@ | |||
51 | 1 | MYSQL_VERSION_MAJOR=5 | 1 | MYSQL_VERSION_MAJOR=5 |
52 | 2 | MYSQL_VERSION_MINOR=5 | 2 | MYSQL_VERSION_MINOR=5 |
54 | 3 | MYSQL_VERSION_PATCH=28 | 3 | MYSQL_VERSION_PATCH=29 |
55 | 4 | MYSQL_VERSION_EXTRA= | 4 | MYSQL_VERSION_EXTRA= |
56 | 5 | 5 | ||
57 | === modified file 'Percona-Server/client/mysql.cc' | |||
58 | --- Percona-Server/client/mysql.cc 2012-10-25 21:11:01 +0000 | |||
59 | +++ Percona-Server/client/mysql.cc 2013-01-31 20:19:36 +0000 | |||
60 | @@ -250,6 +250,8 @@ | |||
61 | 250 | static void add_int_to_prompt(int toadd); | 250 | static void add_int_to_prompt(int toadd); |
62 | 251 | static int get_result_width(MYSQL_RES *res); | 251 | static int get_result_width(MYSQL_RES *res); |
63 | 252 | static int get_field_disp_length(MYSQL_FIELD * field); | 252 | static int get_field_disp_length(MYSQL_FIELD * field); |
64 | 253 | static int normalize_dbname(const char *line, char *buff, uint buff_size); | ||
65 | 254 | static int get_quote_count(const char *line); | ||
66 | 253 | 255 | ||
67 | 254 | /* A structure which contains information on the commands this program | 256 | /* A structure which contains information on the commands this program |
68 | 255 | can understand. */ | 257 | can understand. */ |
69 | @@ -4197,8 +4199,23 @@ | |||
70 | 4197 | int select_db; | 4199 | int select_db; |
71 | 4198 | 4200 | ||
72 | 4199 | bzero(buff, sizeof(buff)); | 4201 | bzero(buff, sizeof(buff)); |
75 | 4200 | strmake(buff, line, sizeof(buff) - 1); | 4202 | |
76 | 4201 | tmp= get_arg(buff, 0); | 4203 | /* |
77 | 4204 | In case number of quotes exceed 2, we try to get | ||
78 | 4205 | the normalized db name. | ||
79 | 4206 | */ | ||
80 | 4207 | if (get_quote_count(line) > 2) | ||
81 | 4208 | { | ||
82 | 4209 | if (normalize_dbname(line, buff, sizeof(buff))) | ||
83 | 4210 | return put_error(&mysql); | ||
84 | 4211 | tmp= buff; | ||
85 | 4212 | } | ||
86 | 4213 | else | ||
87 | 4214 | { | ||
88 | 4215 | strmake(buff, line, sizeof(buff) - 1); | ||
89 | 4216 | tmp= get_arg(buff, 0); | ||
90 | 4217 | } | ||
91 | 4218 | |||
92 | 4202 | if (!tmp || !*tmp) | 4219 | if (!tmp || !*tmp) |
93 | 4203 | { | 4220 | { |
94 | 4204 | put_info("USE must be followed by a database name", INFO_ERROR); | 4221 | put_info("USE must be followed by a database name", INFO_ERROR); |
95 | @@ -4264,6 +4281,62 @@ | |||
96 | 4264 | return 0; | 4281 | return 0; |
97 | 4265 | } | 4282 | } |
98 | 4266 | 4283 | ||
99 | 4284 | /** | ||
100 | 4285 | Normalize database name. | ||
101 | 4286 | |||
102 | 4287 | @param line [IN] The command. | ||
103 | 4288 | @param buff [OUT] Normalized db name. | ||
104 | 4289 | @param buff_size [IN] Buffer size. | ||
105 | 4290 | |||
106 | 4291 | @return Operation status | ||
107 | 4292 | @retval 0 Success | ||
108 | 4293 | @retval 1 Failure | ||
109 | 4294 | |||
110 | 4295 | @note Sometimes server normilizes the database names | ||
111 | 4296 | & APIs like mysql_select_db() expect normalized | ||
112 | 4297 | database names. Since it is difficult to perform | ||
113 | 4298 | the name conversion/normalization on the client | ||
114 | 4299 | side, this function tries to get the normalized | ||
115 | 4300 | dbname (indirectly) from the server. | ||
116 | 4301 | */ | ||
117 | 4302 | |||
118 | 4303 | static int | ||
119 | 4304 | normalize_dbname(const char *line, char *buff, uint buff_size) | ||
120 | 4305 | { | ||
121 | 4306 | MYSQL_RES *res= NULL; | ||
122 | 4307 | |||
123 | 4308 | /* Send the "USE db" commmand to the server. */ | ||
124 | 4309 | if (mysql_query(&mysql, line)) | ||
125 | 4310 | return 1; | ||
126 | 4311 | |||
127 | 4312 | /* | ||
128 | 4313 | Now, get the normalized database name and store it | ||
129 | 4314 | into the buff. | ||
130 | 4315 | */ | ||
131 | 4316 | if (!mysql_query(&mysql, "SELECT DATABASE()") && | ||
132 | 4317 | (res= mysql_use_result(&mysql))) | ||
133 | 4318 | { | ||
134 | 4319 | MYSQL_ROW row= mysql_fetch_row(res); | ||
135 | 4320 | if (row && row[0]) | ||
136 | 4321 | { | ||
137 | 4322 | size_t len= strlen(row[0]); | ||
138 | 4323 | /* Make sure there is enough room to store the dbname. */ | ||
139 | 4324 | if ((len > buff_size) || ! memcpy(buff, row[0], len)) | ||
140 | 4325 | { | ||
141 | 4326 | mysql_free_result(res); | ||
142 | 4327 | return 1; | ||
143 | 4328 | } | ||
144 | 4329 | } | ||
145 | 4330 | mysql_free_result(res); | ||
146 | 4331 | } | ||
147 | 4332 | |||
148 | 4333 | /* Restore the original database. */ | ||
149 | 4334 | if (current_db && mysql_select_db(&mysql, current_db)) | ||
150 | 4335 | return 1; | ||
151 | 4336 | |||
152 | 4337 | return 0; | ||
153 | 4338 | } | ||
154 | 4339 | |||
155 | 4267 | static int | 4340 | static int |
156 | 4268 | com_warnings(String *buffer __attribute__((unused)), | 4341 | com_warnings(String *buffer __attribute__((unused)), |
157 | 4269 | char *line __attribute__((unused))) | 4342 | char *line __attribute__((unused))) |
158 | @@ -4343,6 +4416,20 @@ | |||
159 | 4343 | return valid_arg ? start : NullS; | 4416 | return valid_arg ? start : NullS; |
160 | 4344 | } | 4417 | } |
161 | 4345 | 4418 | ||
162 | 4419 | /* | ||
163 | 4420 | Number of quotes present in the command's argument. | ||
164 | 4421 | */ | ||
165 | 4422 | static int | ||
166 | 4423 | get_quote_count(const char *line) | ||
167 | 4424 | { | ||
168 | 4425 | int quote_count; | ||
169 | 4426 | const char *ptr= line; | ||
170 | 4427 | |||
171 | 4428 | for(quote_count= 0; ptr ++ && *ptr; ptr= strpbrk(ptr, "\"\'`")) | ||
172 | 4429 | quote_count ++; | ||
173 | 4430 | |||
174 | 4431 | return quote_count; | ||
175 | 4432 | } | ||
176 | 4346 | 4433 | ||
177 | 4347 | static int | 4434 | static int |
178 | 4348 | sql_real_connect(char *host,char *database,char *user,char *password, | 4435 | sql_real_connect(char *host,char *database,char *user,char *password, |
179 | 4349 | 4436 | ||
180 | === modified file 'Percona-Server/cmake/configure.pl' | |||
181 | --- Percona-Server/cmake/configure.pl 2011-10-02 12:15:17 +0000 | |||
182 | +++ Percona-Server/cmake/configure.pl 2013-01-31 20:19:36 +0000 | |||
183 | @@ -221,6 +221,16 @@ | |||
184 | 221 | $cmakeargs = $cmakeargs." -DENABLE_GCOV=ON"; | 221 | $cmakeargs = $cmakeargs." -DENABLE_GCOV=ON"; |
185 | 222 | next; | 222 | next; |
186 | 223 | } | 223 | } |
187 | 224 | if ($option =~ /with-client-ldflags/) | ||
188 | 225 | { | ||
189 | 226 | print("configure.pl : ignoring $option\n"); | ||
190 | 227 | next; | ||
191 | 228 | } | ||
192 | 229 | if ($option =~ /with-mysqld-ldflags=/) | ||
193 | 230 | { | ||
194 | 231 | print("configure.pl : ignoring $option\n"); | ||
195 | 232 | next; | ||
196 | 233 | } | ||
197 | 224 | 234 | ||
198 | 225 | $option = uc($option); | 235 | $option = uc($option); |
199 | 226 | $option =~ s/-/_/g; | 236 | $option =~ s/-/_/g; |
200 | 227 | 237 | ||
201 | === modified file 'Percona-Server/cmake/create_initial_db.cmake.in' | |||
202 | --- Percona-Server/cmake/create_initial_db.cmake.in 2011-06-30 15:46:53 +0000 | |||
203 | +++ Percona-Server/cmake/create_initial_db.cmake.in 2013-01-31 20:19:36 +0000 | |||
204 | @@ -69,10 +69,13 @@ | |||
205 | 69 | COMMAND "@CMAKE_COMMAND@" -E echo Executing ${BOOTSTRAP_COMMAND} | 69 | COMMAND "@CMAKE_COMMAND@" -E echo Executing ${BOOTSTRAP_COMMAND} |
206 | 70 | ) | 70 | ) |
207 | 71 | EXECUTE_PROCESS ( | 71 | EXECUTE_PROCESS ( |
209 | 72 | COMMAND "@CMAKE_COMMAND@" -E echo input file bootstrap.sql, current directory ${CWD} | 72 | COMMAND "@CMAKE_COMMAND@" -E |
210 | 73 | echo input file bootstrap.sql, current directory ${CWD} | ||
211 | 73 | ) | 74 | ) |
212 | 74 | EXECUTE_PROCESS ( | 75 | EXECUTE_PROCESS ( |
214 | 75 | COMMAND ${BOOTSTRAP_COMMAND} INPUT_FILE bootstrap.sql OUTPUT_VARIABLE OUT | 76 | COMMAND ${BOOTSTRAP_COMMAND} |
215 | 77 | INPUT_FILE bootstrap.sql | ||
216 | 78 | OUTPUT_VARIABLE OUT | ||
217 | 76 | ERROR_VARIABLE ERR | 79 | ERROR_VARIABLE ERR |
218 | 77 | RESULT_VARIABLE RESULT | 80 | RESULT_VARIABLE RESULT |
219 | 78 | ) | 81 | ) |
220 | @@ -81,3 +84,6 @@ | |||
221 | 81 | MESSAGE(FATAL_ERROR "Could not create initial database \n ${OUT} \n ${ERR}") | 84 | MESSAGE(FATAL_ERROR "Could not create initial database \n ${OUT} \n ${ERR}") |
222 | 82 | ENDIF() | 85 | ENDIF() |
223 | 83 | 86 | ||
224 | 87 | EXECUTE_PROCESS ( | ||
225 | 88 | COMMAND "@CMAKE_COMMAND@" -E touch ${CMAKE_CURRENT_BINARY_DIR}/initdb.dep | ||
226 | 89 | ) | ||
227 | 84 | 90 | ||
228 | === modified file 'Percona-Server/cmake/info_macros.cmake.in' | |||
229 | --- Percona-Server/cmake/info_macros.cmake.in 2012-04-20 17:56:48 +0000 | |||
230 | +++ Percona-Server/cmake/info_macros.cmake.in 2013-01-31 20:19:36 +0000 | |||
231 | @@ -1,4 +1,4 @@ | |||
233 | 1 | # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. | 1 | # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
234 | 2 | # | 2 | # |
235 | 3 | # This program is free software; you can redistribute it and/or modify | 3 | # This program is free software; you can redistribute it and/or modify |
236 | 4 | # it under the terms of the GNU General Public License as published by | 4 | # it under the terms of the GNU General Public License as published by |
237 | @@ -82,9 +82,11 @@ | |||
238 | 82 | 82 | ||
239 | 83 | FILE(WRITE ${INFO_BIN} "===== Information about the build process: =====\n") | 83 | FILE(WRITE ${INFO_BIN} "===== Information about the build process: =====\n") |
240 | 84 | IF (WIN32) | 84 | IF (WIN32) |
242 | 85 | EXECUTE_PROCESS(COMMAND cmd /c date /T OUTPUT_VARIABLE TMP_DATE) | 85 | EXECUTE_PROCESS(COMMAND cmd /c date /T |
243 | 86 | OUTPUT_VARIABLE TMP_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
244 | 86 | ELSEIF(UNIX) | 87 | ELSEIF(UNIX) |
246 | 87 | EXECUTE_PROCESS(COMMAND date "+%Y-%m-%d %H:%M:%S" OUTPUT_VARIABLE TMP_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) | 88 | EXECUTE_PROCESS(COMMAND date "+%Y-%m-%d %H:%M:%S" |
247 | 89 | OUTPUT_VARIABLE TMP_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
248 | 88 | ELSE() | 90 | ELSE() |
249 | 89 | SET(TMP_DATE "(no date command known for this platform)") | 91 | SET(TMP_DATE "(no date command known for this platform)") |
250 | 90 | ENDIF() | 92 | ENDIF() |
251 | 91 | 93 | ||
252 | === modified file 'Percona-Server/cmake/install_layout.cmake' | |||
253 | --- Percona-Server/cmake/install_layout.cmake 2012-08-14 18:04:50 +0000 | |||
254 | +++ Percona-Server/cmake/install_layout.cmake 2013-01-31 20:19:36 +0000 | |||
255 | @@ -1,4 +1,4 @@ | |||
257 | 1 | # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. | 1 | # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
258 | 2 | # | 2 | # |
259 | 3 | # This program is free software; you can redistribute it and/or modify | 3 | # This program is free software; you can redistribute it and/or modify |
260 | 4 | # it under the terms of the GNU General Public License as published by | 4 | # it under the terms of the GNU General Public License as published by |
261 | @@ -24,6 +24,7 @@ | |||
262 | 24 | # | 24 | # |
263 | 25 | # RPM | 25 | # RPM |
264 | 26 | # Build as per default RPM layout, with prefix=/usr | 26 | # Build as per default RPM layout, with prefix=/usr |
265 | 27 | # Note: The layout for ULN RPMs differs, see the "RPM" section. | ||
266 | 27 | # | 28 | # |
267 | 28 | # DEB | 29 | # DEB |
268 | 29 | # Build as per STANDALONE, prefix=/opt/mysql/server-$major.$minor | 30 | # Build as per STANDALONE, prefix=/opt/mysql/server-$major.$minor |
269 | @@ -103,7 +104,10 @@ | |||
270 | 103 | # just use if(INSTALL_PLUGINTESTDIR). | 104 | # just use if(INSTALL_PLUGINTESTDIR). |
271 | 104 | # The plugin must set its own install path for tests | 105 | # The plugin must set its own install path for tests |
272 | 105 | # | 106 | # |
274 | 106 | FILE(GLOB plugin_tests ${CMAKE_SOURCE_DIR}/plugin/*/tests) | 107 | FILE(GLOB plugin_tests |
275 | 108 | ${CMAKE_SOURCE_DIR}/plugin/*/tests | ||
276 | 109 | ${CMAKE_SOURCE_DIR}/internal/plugin/*/tests | ||
277 | 110 | ) | ||
278 | 107 | 111 | ||
279 | 108 | # | 112 | # |
280 | 109 | # STANDALONE layout | 113 | # STANDALONE layout |
281 | @@ -136,6 +140,10 @@ | |||
282 | 136 | # | 140 | # |
283 | 137 | # RPM layout | 141 | # RPM layout |
284 | 138 | # | 142 | # |
285 | 143 | # See "packaging/rpm-uln/mysql-5.5-libdir.patch" for the differences | ||
286 | 144 | # which apply to RPMs in ULN (Oracle Linux), that patch file will | ||
287 | 145 | # be applied at build time via "rpmbuild". | ||
288 | 146 | # | ||
289 | 139 | SET(INSTALL_BINDIR_RPM "bin") | 147 | SET(INSTALL_BINDIR_RPM "bin") |
290 | 140 | SET(INSTALL_SBINDIR_RPM "sbin") | 148 | SET(INSTALL_SBINDIR_RPM "sbin") |
291 | 141 | SET(INSTALL_SCRIPTDIR_RPM "bin") | 149 | SET(INSTALL_SCRIPTDIR_RPM "bin") |
292 | 142 | 150 | ||
293 | === modified file 'Percona-Server/cmake/mysql_version.cmake' | |||
294 | --- Percona-Server/cmake/mysql_version.cmake 2012-03-22 15:16:11 +0000 | |||
295 | +++ Percona-Server/cmake/mysql_version.cmake 2013-01-31 20:19:36 +0000 | |||
296 | @@ -54,7 +54,7 @@ | |||
297 | 54 | ENDIF() | 54 | ENDIF() |
298 | 55 | 55 | ||
299 | 56 | SET(VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${EXTRA_VERSION}") | 56 | SET(VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${EXTRA_VERSION}") |
301 | 57 | MESSAGE("-- MySQL ${VERSION}") | 57 | MESSAGE(STATUS "MySQL ${VERSION}") |
302 | 58 | SET(MYSQL_BASE_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}" CACHE INTERNAL "MySQL Base version") | 58 | SET(MYSQL_BASE_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}" CACHE INTERNAL "MySQL Base version") |
303 | 59 | SET(MYSQL_NO_DASH_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") | 59 | SET(MYSQL_NO_DASH_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") |
304 | 60 | # Use NDBVERSION irregardless of whether this is Cluster or not, if not | 60 | # Use NDBVERSION irregardless of whether this is Cluster or not, if not |
305 | 61 | 61 | ||
306 | === modified file 'Percona-Server/cmake/package_name.cmake' | |||
307 | --- Percona-Server/cmake/package_name.cmake 2012-03-22 15:16:11 +0000 | |||
308 | +++ Percona-Server/cmake/package_name.cmake 2013-01-31 20:19:36 +0000 | |||
309 | @@ -123,7 +123,7 @@ | |||
310 | 123 | SET(package_name "mysql${PRODUCT_TAG}-${VERSION}-${SYSTEM_NAME_AND_PROCESSOR}") | 123 | SET(package_name "mysql${PRODUCT_TAG}-${VERSION}-${SYSTEM_NAME_AND_PROCESSOR}") |
311 | 124 | ENDIF() | 124 | ENDIF() |
312 | 125 | 125 | ||
314 | 126 | MESSAGE("-- Packaging as: ${package_name}") | 126 | MESSAGE(STATUS "Packaging as: ${package_name}") |
315 | 127 | 127 | ||
316 | 128 | # Sometimes package suffix is added (something like "-icc-glibc23") | 128 | # Sometimes package suffix is added (something like "-icc-glibc23") |
317 | 129 | IF(PACKAGE_SUFFIX) | 129 | IF(PACKAGE_SUFFIX) |
318 | 130 | 130 | ||
319 | === modified file 'Percona-Server/cmake/plugin.cmake' | |||
320 | --- Percona-Server/cmake/plugin.cmake 2011-08-15 10:10:08 +0000 | |||
321 | +++ Percona-Server/cmake/plugin.cmake 2013-01-31 20:19:36 +0000 | |||
322 | @@ -39,6 +39,7 @@ | |||
323 | 39 | GET_FILENAME_COMPONENT(fname ${cfile} NAME) | 39 | GET_FILENAME_COMPONENT(fname ${cfile} NAME) |
324 | 40 | FILE(APPEND ${CMAKE_SOURCE_DIR}/mysql-test/collections/${fname} "${contents}") | 40 | FILE(APPEND ${CMAKE_SOURCE_DIR}/mysql-test/collections/${fname} "${contents}") |
325 | 41 | FILE(APPEND ${fcopied} "${fname}\n") | 41 | FILE(APPEND ${fcopied} "${fname}\n") |
326 | 42 | MESSAGE(STATUS "Appended ${cfile}") | ||
327 | 42 | ENDFOREACH() | 43 | ENDFOREACH() |
328 | 43 | ENDIF() | 44 | ENDIF() |
329 | 44 | ENDMACRO() | 45 | ENDMACRO() |
330 | 45 | 46 | ||
331 | === modified file 'Percona-Server/cmake/wsrep.cmake' | |||
332 | --- Percona-Server/cmake/wsrep.cmake 2012-11-28 21:59:24 +0000 | |||
333 | +++ Percona-Server/cmake/wsrep.cmake 2013-01-31 20:19:36 +0000 | |||
334 | @@ -17,7 +17,7 @@ | |||
335 | 17 | # so WSREP_VERSION is produced regardless | 17 | # so WSREP_VERSION is produced regardless |
336 | 18 | 18 | ||
337 | 19 | # Set the patch version | 19 | # Set the patch version |
339 | 20 | SET(WSREP_PATCH_VERSION "7") | 20 | SET(WSREP_PATCH_VERSION "7.1") |
340 | 21 | 21 | ||
341 | 22 | # Obtain patch revision number | 22 | # Obtain patch revision number |
342 | 23 | SET(WSREP_PATCH_REVNO $ENV{WSREP_REV}) | 23 | SET(WSREP_PATCH_REVNO $ENV{WSREP_REV}) |
343 | 24 | 24 | ||
344 | === modified file 'Percona-Server/dbug/dbug.c' | |||
345 | --- Percona-Server/dbug/dbug.c 2011-07-07 11:22:43 +0000 | |||
346 | +++ Percona-Server/dbug/dbug.c 2013-01-31 20:19:36 +0000 | |||
347 | @@ -1179,7 +1179,7 @@ | |||
348 | 1179 | pthread_mutex_lock(&THR_LOCK_dbug); | 1179 | pthread_mutex_lock(&THR_LOCK_dbug); |
349 | 1180 | DoPrefix(cs, _line_); | 1180 | DoPrefix(cs, _line_); |
350 | 1181 | Indent(cs, cs->level); | 1181 | Indent(cs, cs->level); |
352 | 1182 | (void) fprintf(cs->stack->out_file, "<%s\n", cs->func); | 1182 | (void) fprintf(cs->stack->out_file, "<%s %u\n", cs->func, _line_); |
353 | 1183 | DbugFlush(cs); | 1183 | DbugFlush(cs); |
354 | 1184 | } | 1184 | } |
355 | 1185 | } | 1185 | } |
356 | 1186 | 1186 | ||
357 | === modified file 'Percona-Server/libmysql/libmysql.c' | |||
358 | --- Percona-Server/libmysql/libmysql.c 2012-09-17 13:08:32 +0000 | |||
359 | +++ Percona-Server/libmysql/libmysql.c 2013-01-31 20:19:36 +0000 | |||
360 | @@ -4218,7 +4218,7 @@ | |||
361 | 4218 | if ((int) stmt->state < (int) MYSQL_STMT_FETCH_DONE) | 4218 | if ((int) stmt->state < (int) MYSQL_STMT_FETCH_DONE) |
362 | 4219 | { | 4219 | { |
363 | 4220 | set_stmt_error(stmt, CR_NO_DATA, unknown_sqlstate, NULL); | 4220 | set_stmt_error(stmt, CR_NO_DATA, unknown_sqlstate, NULL); |
365 | 4221 | return 1; | 4221 | DBUG_RETURN(1); |
366 | 4222 | } | 4222 | } |
367 | 4223 | if (column >= stmt->field_count) | 4223 | if (column >= stmt->field_count) |
368 | 4224 | { | 4224 | { |
369 | 4225 | 4225 | ||
370 | === renamed file 'Percona-Server/mysql-test/include/mysqlbinlog_row_engine.inc' => 'Percona-Server/mysql-test/extra/binlog_tests/mysqlbinlog_row_engine.inc' | |||
371 | === added file 'Percona-Server/mysql-test/include/have_null_audit_plugin.inc' | |||
372 | --- Percona-Server/mysql-test/include/have_null_audit_plugin.inc 1970-01-01 00:00:00 +0000 | |||
373 | +++ Percona-Server/mysql-test/include/have_null_audit_plugin.inc 2013-01-31 20:19:36 +0000 | |||
374 | @@ -0,0 +1,22 @@ | |||
375 | 1 | disable_query_log; | ||
376 | 2 | # | ||
377 | 3 | # Check if server has support for loading plugins | ||
378 | 4 | # | ||
379 | 5 | if (`SELECT @@have_dynamic_loading != 'YES'`) { | ||
380 | 6 | --skip Null audit plugin requires dynamic loading | ||
381 | 7 | } | ||
382 | 8 | |||
383 | 9 | # | ||
384 | 10 | # Check if the variable AUDIT_NULL is set | ||
385 | 11 | # | ||
386 | 12 | if (!$AUDIT_NULL) { | ||
387 | 13 | --skip Audit_null plugin requires the environment variable \$AUDIT_NULL to be set (normally done by mtr) | ||
388 | 14 | } | ||
389 | 15 | |||
390 | 16 | # | ||
391 | 17 | # Check if --plugin-dir was setup for null_audit db | ||
392 | 18 | # | ||
393 | 19 | if (`SELECT CONCAT('--plugin-dir=', REPLACE(@@plugin_dir, '\\\\', '/')) != '$AUDIT_NULL_OPT/'`) { | ||
394 | 20 | --skip null audit plugin requires that --plugin-dir is set to the null audit plugin dir (either the .opt file does not contain \$AUDIT_NULL_OPT or another plugin is in use) | ||
395 | 21 | } | ||
396 | 22 | enable_query_log; | ||
397 | 0 | 23 | ||
398 | === modified file 'Percona-Server/mysql-test/include/plugin.defs' | |||
399 | --- Percona-Server/mysql-test/include/plugin.defs 2011-09-21 10:40:41 +0000 | |||
400 | +++ Percona-Server/mysql-test/include/plugin.defs 2013-01-31 20:19:36 +0000 | |||
401 | @@ -40,3 +40,4 @@ | |||
402 | 40 | ha_federated storage/federated FEDERATED_PLUGIN | 40 | ha_federated storage/federated FEDERATED_PLUGIN |
403 | 41 | mypluglib plugin/fulltext SIMPLE_PARSER | 41 | mypluglib plugin/fulltext SIMPLE_PARSER |
404 | 42 | libdaemon_example plugin/daemon_example DAEMONEXAMPLE | 42 | libdaemon_example plugin/daemon_example DAEMONEXAMPLE |
405 | 43 | adt_null plugin/audit_null AUDIT_NULL | ||
406 | 43 | 44 | ||
407 | === modified file 'Percona-Server/mysql-test/include/rpl_start_server.inc' | |||
408 | --- Percona-Server/mysql-test/include/rpl_start_server.inc 2011-01-18 11:25:07 +0000 | |||
409 | +++ Percona-Server/mysql-test/include/rpl_start_server.inc 2013-01-31 20:19:36 +0000 | |||
410 | @@ -8,6 +8,7 @@ | |||
411 | 8 | # --let $rpl_server_number= N | 8 | # --let $rpl_server_number= N |
412 | 9 | # [--let $rpl_server_parameters= --flag1 --flag2 ...] | 9 | # [--let $rpl_server_parameters= --flag1 --flag2 ...] |
413 | 10 | # [--let $rpl_debug= 1] | 10 | # [--let $rpl_debug= 1] |
414 | 11 | # [--let $rpl_server_error= 0] | ||
415 | 11 | # --source include/rpl_start_server.inc | 12 | # --source include/rpl_start_server.inc |
416 | 12 | # | 13 | # |
417 | 13 | # Parameters: | 14 | # Parameters: |
418 | @@ -21,6 +22,9 @@ | |||
419 | 21 | # If set, extra parameters given by this variable are passed to | 22 | # If set, extra parameters given by this variable are passed to |
420 | 22 | # mysqld. | 23 | # mysqld. |
421 | 23 | # | 24 | # |
422 | 25 | # $rpl_server_error | ||
423 | 26 | # If set, failure of the server startup is expected. | ||
424 | 27 | # | ||
425 | 24 | # $rpl_debug | 28 | # $rpl_debug |
426 | 25 | # See include/rpl_init.inc | 29 | # See include/rpl_init.inc |
427 | 26 | # | 30 | # |
428 | @@ -47,8 +51,9 @@ | |||
429 | 47 | # Write file to make mysql-test-run.pl start up the server again | 51 | # Write file to make mysql-test-run.pl start up the server again |
430 | 48 | --exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect | 52 | --exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect |
431 | 49 | 53 | ||
437 | 50 | --source include/rpl_reconnect.inc | 54 | if (!$rpl_server_error) |
438 | 51 | 55 | { | |
439 | 52 | 56 | --source include/rpl_reconnect.inc | |
440 | 53 | --let $include_filename= rpl_start_server.inc $_rpl_start_server_args | 57 | --let $include_filename= rpl_start_server.inc $_rpl_start_server_args |
441 | 54 | --source include/end_include_file.inc | 58 | --source include/end_include_file.inc |
442 | 59 | } | ||
443 | 55 | 60 | ||
444 | === modified file 'Percona-Server/mysql-test/lib/mtr_cases.pm' | |||
445 | --- Percona-Server/mysql-test/lib/mtr_cases.pm 2012-10-25 21:11:01 +0000 | |||
446 | +++ Percona-Server/mysql-test/lib/mtr_cases.pm 2013-01-31 20:19:36 +0000 | |||
447 | @@ -295,6 +295,7 @@ | |||
448 | 295 | "storage/*/mtr", | 295 | "storage/*/mtr", |
449 | 296 | # Look in plugin specific suite dir | 296 | # Look in plugin specific suite dir |
450 | 297 | "plugin/$suite/tests", | 297 | "plugin/$suite/tests", |
451 | 298 | "internal/plugin/$suite/tests", | ||
452 | 298 | ], | 299 | ], |
453 | 299 | [$suite, "mtr"], ($suite =~ /^i_/)); | 300 | [$suite, "mtr"], ($suite =~ /^i_/)); |
454 | 300 | return unless $suitedir; | 301 | return unless $suitedir; |
455 | 301 | 302 | ||
456 | === modified file 'Percona-Server/mysql-test/mysql-test-run.pl' | |||
457 | --- Percona-Server/mysql-test/mysql-test-run.pl 2012-09-17 13:08:32 +0000 | |||
458 | +++ Percona-Server/mysql-test/mysql-test-run.pl 2013-01-31 20:19:36 +0000 | |||
459 | @@ -461,6 +461,7 @@ | |||
460 | 461 | 461 | ||
461 | 462 | # Also read from any plugin local or suite specific plugin.defs | 462 | # Also read from any plugin local or suite specific plugin.defs |
462 | 463 | for (glob "$basedir/plugin/*/tests/mtr/plugin.defs". | 463 | for (glob "$basedir/plugin/*/tests/mtr/plugin.defs". |
463 | 464 | " $basedir/internal/plugin/*/tests/mtr/plugin.defs". | ||
464 | 464 | " suite/*/plugin.defs") { | 465 | " suite/*/plugin.defs") { |
465 | 465 | read_plugin_defs($_); | 466 | read_plugin_defs($_); |
466 | 466 | } | 467 | } |
467 | 467 | 468 | ||
468 | === modified file 'Percona-Server/mysql-test/r/contributors.result' | |||
469 | --- Percona-Server/mysql-test/r/contributors.result 2006-05-03 00:53:26 +0000 | |||
470 | +++ Percona-Server/mysql-test/r/contributors.result 2013-01-31 20:19:36 +0000 | |||
471 | @@ -3,3 +3,5 @@ | |||
472 | 3 | Ronald Bradford Brisbane, Australia EFF contribution for UC2006 Auction | 3 | Ronald Bradford Brisbane, Australia EFF contribution for UC2006 Auction |
473 | 4 | Sheeri Kritzer Boston, Mass. USA EFF contribution for UC2006 Auction | 4 | Sheeri Kritzer Boston, Mass. USA EFF contribution for UC2006 Auction |
474 | 5 | Mark Shuttleworth London, UK. EFF contribution for UC2006 Auction | 5 | Mark Shuttleworth London, UK. EFF contribution for UC2006 Auction |
475 | 6 | Warnings: | ||
476 | 7 | Warning 1681 'SHOW CONTRIBUTORS' is deprecated and will be removed in a future release. | ||
477 | 6 | 8 | ||
478 | === modified file 'Percona-Server/mysql-test/r/ctype_ucs.result' | |||
479 | --- Percona-Server/mysql-test/r/ctype_ucs.result 2012-06-29 10:12:21 +0000 | |||
480 | +++ Percona-Server/mysql-test/r/ctype_ucs.result 2013-01-31 20:19:36 +0000 | |||
481 | @@ -191,6 +191,32 @@ | |||
482 | 191 | `r` varchar(10) CHARACTER SET ucs2 NOT NULL DEFAULT '' | 191 | `r` varchar(10) CHARACTER SET ucs2 NOT NULL DEFAULT '' |
483 | 192 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 | 192 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
484 | 193 | DROP TABLE t1; | 193 | DROP TABLE t1; |
485 | 194 | # | ||
486 | 195 | # Bug #51876 : crash/memory underrun when loading data with ucs2 | ||
487 | 196 | # and reverse() function | ||
488 | 197 | # | ||
489 | 198 | # Problem # 1 (original report): wrong parsing of ucs2 data | ||
490 | 199 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt'; | ||
491 | 200 | CREATE TABLE t1(a INT); | ||
492 | 201 | LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
493 | 202 | (@b) SET a=REVERSE(@b); | ||
494 | 203 | # should return 2 zeroes (as the value is truncated) | ||
495 | 204 | SELECT * FROM t1; | ||
496 | 205 | a | ||
497 | 206 | 0 | ||
498 | 207 | 1 | ||
499 | 208 | DROP TABLE t1; | ||
500 | 209 | # Problem # 2 : if you write and read ucs2 data to a file they're lost | ||
501 | 210 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2; | ||
502 | 211 | CREATE TABLE t1(a INT); | ||
503 | 212 | LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
504 | 213 | (@b) SET a=REVERSE(@b); | ||
505 | 214 | # should return 0 and 1 (10 reversed) | ||
506 | 215 | SELECT * FROM t1; | ||
507 | 216 | a | ||
508 | 217 | 0 | ||
509 | 218 | 1 | ||
510 | 219 | DROP TABLE t1; | ||
511 | 194 | create table t2(f1 Char(30)); | 220 | create table t2(f1 Char(30)); |
512 | 195 | insert into t2 values ("103000"), ("22720000"), ("3401200"), ("78000"); | 221 | insert into t2 values ("103000"), ("22720000"), ("3401200"), ("78000"); |
513 | 196 | select lpad(f1, 12, "-o-/") from t2; | 222 | select lpad(f1, 12, "-o-/") from t2; |
514 | 197 | 223 | ||
515 | === modified file 'Percona-Server/mysql-test/r/loaddata.result' | |||
516 | --- Percona-Server/mysql-test/r/loaddata.result 2011-05-10 14:29:44 +0000 | |||
517 | +++ Percona-Server/mysql-test/r/loaddata.result 2013-01-31 20:19:36 +0000 | |||
518 | @@ -504,35 +504,6 @@ | |||
519 | 504 | LOAD DATA LOCAL INFILE 'tb.txt' INTO TABLE t1; | 504 | LOAD DATA LOCAL INFILE 'tb.txt' INTO TABLE t1; |
520 | 505 | DROP TABLE t1; | 505 | DROP TABLE t1; |
521 | 506 | # | 506 | # |
522 | 507 | # Bug #51876 : crash/memory underrun when loading data with ucs2 | ||
523 | 508 | # and reverse() function | ||
524 | 509 | # | ||
525 | 510 | # Problem # 1 (original report): wrong parsing of ucs2 data | ||
526 | 511 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt'; | ||
527 | 512 | CREATE TABLE t1(a INT); | ||
528 | 513 | LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
529 | 514 | (@b) SET a=REVERSE(@b); | ||
530 | 515 | Warnings: | ||
531 | 516 | Warning 1366 Incorrect integer value: '?' for column 'a' at row 1 | ||
532 | 517 | Warning 1366 Incorrect integer value: '?' for column 'a' at row 2 | ||
533 | 518 | # should return 2 zeroes (as the value is truncated) | ||
534 | 519 | SELECT * FROM t1; | ||
535 | 520 | a | ||
536 | 521 | 0 | ||
537 | 522 | 0 | ||
538 | 523 | DROP TABLE t1; | ||
539 | 524 | # Problem # 2 : if you write and read ucs2 data to a file they're lost | ||
540 | 525 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2; | ||
541 | 526 | CREATE TABLE t1(a INT); | ||
542 | 527 | LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
543 | 528 | (@b) SET a=REVERSE(@b); | ||
544 | 529 | # should return 0 and 1 (10 reversed) | ||
545 | 530 | SELECT * FROM t1; | ||
546 | 531 | a | ||
547 | 532 | 0 | ||
548 | 533 | 1 | ||
549 | 534 | DROP TABLE t1; | ||
550 | 535 | # | ||
551 | 536 | # Bug#11765139 58069: LOAD DATA INFILE: VALGRIND REPORTS INVALID MEMORY READS AND WRITES WITH U | 507 | # Bug#11765139 58069: LOAD DATA INFILE: VALGRIND REPORTS INVALID MEMORY READS AND WRITES WITH U |
552 | 537 | # | 508 | # |
553 | 538 | CREATE TABLE t1(f1 INT); | 509 | CREATE TABLE t1(f1 INT); |
554 | 539 | 510 | ||
555 | === added file 'Percona-Server/mysql-test/r/percona_bug1017192.result' | |||
556 | --- Percona-Server/mysql-test/r/percona_bug1017192.result 1970-01-01 00:00:00 +0000 | |||
557 | +++ Percona-Server/mysql-test/r/percona_bug1017192.result 2013-01-31 20:19:36 +0000 | |||
558 | @@ -0,0 +1,10 @@ | |||
559 | 1 | SET DEBUG_SYNC='reset'; | ||
560 | 2 | CREATE TABLE IF NOT EXISTS t1 (`a` INT) ENGINE=InnoDB; | ||
561 | 3 | INSERT INTO t1 VALUES (1),(2),(3),(4); | ||
562 | 4 | SET DEBUG_SYNC='after_copy_data_between_tables SIGNAL run_show_innodb_status | ||
563 | 5 | WAIT_FOR show_innodb_status_done'; | ||
564 | 6 | ALTER TABLE t1 PARTITION BY HASH (`a`) PARTITIONS 4 ; | ||
565 | 7 | SET DEBUG_SYNC='now WAIT_FOR run_show_innodb_status'; | ||
566 | 8 | SHOW ENGINE INNODB STATUS; | ||
567 | 9 | SET DEBUG_SYNC='now SIGNAL show_innodb_status_done'; | ||
568 | 10 | DROP TABLE t1; | ||
569 | 0 | 11 | ||
570 | === modified file 'Percona-Server/mysql-test/r/plugin_auth.result' | |||
571 | --- Percona-Server/mysql-test/r/plugin_auth.result 2011-10-12 12:07:15 +0000 | |||
572 | +++ Percona-Server/mysql-test/r/plugin_auth.result 2013-01-31 20:19:36 +0000 | |||
573 | @@ -124,17 +124,20 @@ | |||
574 | 124 | this should fail : not the same user | 124 | this should fail : not the same user |
575 | 125 | GRANT PROXY ON grant_plug TO grant_plug_dest; | 125 | GRANT PROXY ON grant_plug TO grant_plug_dest; |
576 | 126 | ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost' | 126 | ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost' |
578 | 127 | this should fail : same user, but on a different host | 127 | This is a valid grant |
579 | 128 | GRANT PROXY ON grant_plug_dest TO grant_plug; | 128 | GRANT PROXY ON grant_plug_dest TO grant_plug; |
585 | 129 | ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost' | 129 | REVOKE PROXY ON grant_plug_dest FROM grant_plug; |
586 | 130 | this should work : same user | 130 | this should work : same user |
587 | 131 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug_dest2; | 131 | GRANT PROXY ON grant_plug_dest TO grant_plug_dest2; |
588 | 132 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug_dest2; | 132 | REVOKE PROXY ON grant_plug_dest FROM grant_plug_dest2; |
589 | 133 | this should work : same user | 133 | this should fail : not the same user |
590 | 134 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION; | 134 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION; |
591 | 135 | ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost' | ||
592 | 136 | this should fail : not the same user | ||
593 | 135 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug; | 137 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug; |
594 | 138 | ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost' | ||
595 | 136 | this should fail : can't create users | 139 | this should fail : can't create users |
597 | 137 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug@localhost; | 140 | GRANT PROXY ON grant_plug_dest TO grant_plug@localhost; |
598 | 138 | ERROR 42000: You are not allowed to create a user with GRANT | 141 | ERROR 42000: You are not allowed to create a user with GRANT |
599 | 139 | in default connection | 142 | in default connection |
600 | 140 | # test what root can grant | 143 | # test what root can grant |
601 | @@ -152,12 +155,12 @@ | |||
602 | 152 | in default connection | 155 | in default connection |
603 | 153 | SHOW GRANTS FOR grant_plug; | 156 | SHOW GRANTS FOR grant_plug; |
604 | 154 | Grants for grant_plug@% | 157 | Grants for grant_plug@% |
606 | 155 | GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' WITH GRANT OPTION | 158 | GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' |
607 | 156 | GRANT PROXY ON 'future_user'@'%' TO 'grant_plug'@'%' | 159 | GRANT PROXY ON 'future_user'@'%' TO 'grant_plug'@'%' |
608 | 157 | REVOKE PROXY ON future_user FROM grant_plug; | 160 | REVOKE PROXY ON future_user FROM grant_plug; |
609 | 158 | SHOW GRANTS FOR grant_plug; | 161 | SHOW GRANTS FOR grant_plug; |
610 | 159 | Grants for grant_plug@% | 162 | Grants for grant_plug@% |
612 | 160 | GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' WITH GRANT OPTION | 163 | GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' |
613 | 161 | ## testing drop user | 164 | ## testing drop user |
614 | 162 | CREATE USER test_drop@localhost; | 165 | CREATE USER test_drop@localhost; |
615 | 163 | GRANT PROXY ON future_user TO test_drop@localhost; | 166 | GRANT PROXY ON future_user TO test_drop@localhost; |
616 | 164 | 167 | ||
617 | === modified file 'Percona-Server/mysql-test/r/show_check.result' | |||
618 | --- Percona-Server/mysql-test/r/show_check.result 2012-04-21 03:36:40 +0000 | |||
619 | +++ Percona-Server/mysql-test/r/show_check.result 2013-01-31 20:19:36 +0000 | |||
620 | @@ -1552,3 +1552,14 @@ | |||
621 | 1552 | óóóó | 1552 | óóóó |
622 | 1553 | 1 | 1553 | 1 |
623 | 1554 | SET NAMES latin1; | 1554 | SET NAMES latin1; |
624 | 1555 | # | ||
625 | 1556 | # WL#6454: Deprecate SHOW AUTHORS and SHOW CONTRIBUTORS | ||
626 | 1557 | # | ||
627 | 1558 | SHOW AUTHORS; | ||
628 | 1559 | SHOW WARNINGS; | ||
629 | 1560 | Level Code Message | ||
630 | 1561 | Warning 1681 'SHOW AUTHORS' is deprecated and will be removed in a future release. | ||
631 | 1562 | SHOW CONTRIBUTORS; | ||
632 | 1563 | SHOW WARNINGS; | ||
633 | 1564 | Level Code Message | ||
634 | 1565 | Warning 1681 'SHOW CONTRIBUTORS' is deprecated and will be removed in a future release. | ||
635 | 1555 | 1566 | ||
636 | === modified file 'Percona-Server/mysql-test/r/sp_notembedded.result' | |||
637 | --- Percona-Server/mysql-test/r/sp_notembedded.result 2012-03-28 08:05:08 +0000 | |||
638 | +++ Percona-Server/mysql-test/r/sp_notembedded.result 2013-01-31 20:19:36 +0000 | |||
639 | @@ -309,7 +309,6 @@ | |||
640 | 309 | # Switching to default connection. | 309 | # Switching to default connection. |
641 | 310 | DROP DATABASE `my.db`; | 310 | DROP DATABASE `my.db`; |
642 | 311 | USE test; | 311 | USE test; |
643 | 312 | set @@global.concurrent_insert= @old_concurrent_insert; | ||
644 | 313 | # | 312 | # |
645 | 314 | # Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE | 313 | # Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE |
646 | 315 | # | 314 | # |
647 | @@ -330,3 +329,4 @@ | |||
648 | 330 | teste_bug11763507 SYSTEM # latin1 latin1_swedish_ci latin1_swedish_ci | 329 | teste_bug11763507 SYSTEM # latin1 latin1_swedish_ci latin1_swedish_ci |
649 | 331 | DROP EVENT teste_bug11763507; | 330 | DROP EVENT teste_bug11763507; |
650 | 332 | #END OF BUG#11763507 test. | 331 | #END OF BUG#11763507 test. |
651 | 332 | set @@global.concurrent_insert= @old_concurrent_insert; | ||
652 | 333 | 333 | ||
653 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog-cp932.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog-cp932.result' | |||
654 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog2.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog2.result' | |||
655 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog_base64.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog_base64.result' | |||
656 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog_row.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog_row.result' | |||
657 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog_row_innodb.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_innodb.result' | |||
658 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog_row_myisam.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_myisam.result' | |||
659 | === renamed file 'Percona-Server/mysql-test/r/mysqlbinlog_row_trans.result' => 'Percona-Server/mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_trans.result' | |||
660 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog-cp932-master.opt' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog-cp932-master.opt' | |||
661 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog-cp932.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog-cp932.test' | |||
662 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog2.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog2.test' | |||
663 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog_base64.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_base64.test' | |||
664 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog_row.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row.test' | |||
665 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog_row_innodb.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_innodb.test' | |||
666 | --- Percona-Server/mysql-test/t/mysqlbinlog_row_innodb.test 2008-08-20 14:06:31 +0000 | |||
667 | +++ Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_innodb.test 2013-01-31 20:19:36 +0000 | |||
668 | @@ -20,5 +20,5 @@ | |||
669 | 20 | --source include/have_binlog_format_row.inc | 20 | --source include/have_binlog_format_row.inc |
670 | 21 | --source include/have_ucs2.inc | 21 | --source include/have_ucs2.inc |
671 | 22 | 22 | ||
673 | 23 | --source include/mysqlbinlog_row_engine.inc | 23 | --source extra/binlog_tests/mysqlbinlog_row_engine.inc |
674 | 24 | 24 | ||
675 | 25 | 25 | ||
676 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog_row_myisam.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_myisam.test' | |||
677 | --- Percona-Server/mysql-test/t/mysqlbinlog_row_myisam.test 2008-08-20 14:06:31 +0000 | |||
678 | +++ Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_myisam.test 2013-01-31 20:19:36 +0000 | |||
679 | @@ -20,4 +20,4 @@ | |||
680 | 20 | --source include/have_binlog_format_row.inc | 20 | --source include/have_binlog_format_row.inc |
681 | 21 | --source include/have_ucs2.inc | 21 | --source include/have_ucs2.inc |
682 | 22 | 22 | ||
684 | 23 | --source include/mysqlbinlog_row_engine.inc | 23 | --source extra/binlog_tests/mysqlbinlog_row_engine.inc |
685 | 24 | 24 | ||
686 | === renamed file 'Percona-Server/mysql-test/t/mysqlbinlog_row_trans.test' => 'Percona-Server/mysql-test/suite/binlog/t/binlog_mysqlbinlog_row_trans.test' | |||
687 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb-autoinc.result' | |||
688 | --- Percona-Server/mysql-test/suite/innodb/r/innodb-autoinc.result 2012-05-02 15:45:07 +0000 | |||
689 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb-autoinc.result 2013-01-31 20:19:36 +0000 | |||
690 | @@ -1289,3 +1289,91 @@ | |||
691 | 1289 | c1 c2 | 1289 | c1 c2 |
692 | 1290 | 1 NULL | 1290 | 1 NULL |
693 | 1291 | DROP TABLE t1; | 1291 | DROP TABLE t1; |
694 | 1292 | SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=1; | ||
695 | 1293 | SHOW VARIABLES LIKE "%auto_inc%"; | ||
696 | 1294 | Variable_name Value | ||
697 | 1295 | auto_increment_increment 1 | ||
698 | 1296 | auto_increment_offset 1 | ||
699 | 1297 | CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY AUTO_INCREMENT, c2 VARCHAR(10)) ENGINE=InnoDB; | ||
700 | 1298 | INSERT INTO t1 VALUES (2147483648, 'a'); | ||
701 | 1299 | SHOW CREATE TABLE t1; | ||
702 | 1300 | Table Create Table | ||
703 | 1301 | t1 CREATE TABLE `t1` ( | ||
704 | 1302 | `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
705 | 1303 | `c2` varchar(10) DEFAULT NULL, | ||
706 | 1304 | PRIMARY KEY (`c1`) | ||
707 | 1305 | ) ENGINE=InnoDB AUTO_INCREMENT=2147483649 DEFAULT CHARSET=latin1 | ||
708 | 1306 | SELECT * FROM t1; | ||
709 | 1307 | c1 c2 | ||
710 | 1308 | 2147483648 a | ||
711 | 1309 | ALTER TABLE t1 CHANGE c1 c1 INT; | ||
712 | 1310 | Warnings: | ||
713 | 1311 | Warning 1264 Out of range value for column 'c1' at row 1 | ||
714 | 1312 | SHOW CREATE TABLE t1; | ||
715 | 1313 | Table Create Table | ||
716 | 1314 | t1 CREATE TABLE `t1` ( | ||
717 | 1315 | `c1` int(11) NOT NULL DEFAULT '0', | ||
718 | 1316 | `c2` varchar(10) DEFAULT NULL, | ||
719 | 1317 | PRIMARY KEY (`c1`) | ||
720 | 1318 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1 | ||
721 | 1319 | INSERT INTO t1(c2) VALUES('b'); | ||
722 | 1320 | SELECT * FROM t1; | ||
723 | 1321 | c1 c2 | ||
724 | 1322 | 0 b | ||
725 | 1323 | 2147483647 a | ||
726 | 1324 | SHOW CREATE TABLE t1; | ||
727 | 1325 | Table Create Table | ||
728 | 1326 | t1 CREATE TABLE `t1` ( | ||
729 | 1327 | `c1` int(11) NOT NULL DEFAULT '0', | ||
730 | 1328 | `c2` varchar(10) DEFAULT NULL, | ||
731 | 1329 | PRIMARY KEY (`c1`) | ||
732 | 1330 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1 | ||
733 | 1331 | DROP TABLE t1; | ||
734 | 1332 | CREATE TABLE t1 (c1 INT AUTO_INCREMENT PRIMARY KEY, c2 INT) ENGINE = MyISAM; | ||
735 | 1333 | INSERT INTO t1 (c1) VALUES (NULL), (-290783232), (NULL); | ||
736 | 1334 | Warnings: | ||
737 | 1335 | Warning 1264 Out of range value for column 'c1' at row 3 | ||
738 | 1336 | SHOW CREATE TABLE t1; | ||
739 | 1337 | Table Create Table | ||
740 | 1338 | t1 CREATE TABLE `t1` ( | ||
741 | 1339 | `c1` int(11) NOT NULL AUTO_INCREMENT, | ||
742 | 1340 | `c2` int(11) DEFAULT NULL, | ||
743 | 1341 | PRIMARY KEY (`c1`) | ||
744 | 1342 | ) ENGINE=MyISAM AUTO_INCREMENT=2147483648 DEFAULT CHARSET=latin1 | ||
745 | 1343 | SELECT * FROM t1; | ||
746 | 1344 | c1 c2 | ||
747 | 1345 | 1 NULL | ||
748 | 1346 | -290783232 NULL | ||
749 | 1347 | 2147483647 NULL | ||
750 | 1348 | ALTER TABLE t1 ENGINE = InnoDB; | ||
751 | 1349 | SELECT * FROM t1; | ||
752 | 1350 | c1 c2 | ||
753 | 1351 | -290783232 NULL | ||
754 | 1352 | 1 NULL | ||
755 | 1353 | 2147483647 NULL | ||
756 | 1354 | SHOW CREATE TABLE t1; | ||
757 | 1355 | Table Create Table | ||
758 | 1356 | t1 CREATE TABLE `t1` ( | ||
759 | 1357 | `c1` int(11) NOT NULL AUTO_INCREMENT, | ||
760 | 1358 | `c2` int(11) DEFAULT NULL, | ||
761 | 1359 | PRIMARY KEY (`c1`) | ||
762 | 1360 | ) ENGINE=InnoDB AUTO_INCREMENT=2147483648 DEFAULT CHARSET=latin1 | ||
763 | 1361 | REPLACE INTO t1 (c2 ) VALUES (0); | ||
764 | 1362 | ERROR HY000: Failed to read auto-increment value from storage engine | ||
765 | 1363 | SELECT * FROM t1; | ||
766 | 1364 | c1 c2 | ||
767 | 1365 | -290783232 NULL | ||
768 | 1366 | 1 NULL | ||
769 | 1367 | 2147483647 NULL | ||
770 | 1368 | DROP TABLE t1; | ||
771 | 1369 | CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY AUTO_INCREMENT) ENGINE=InnoDB | ||
772 | 1370 | AUTO_INCREMENT=10000000000000000000; | ||
773 | 1371 | SHOW CREATE TABLE t1; | ||
774 | 1372 | Table Create Table | ||
775 | 1373 | t1 CREATE TABLE `t1` ( | ||
776 | 1374 | `c1` double NOT NULL AUTO_INCREMENT, | ||
777 | 1375 | PRIMARY KEY (`c1`) | ||
778 | 1376 | ) ENGINE=InnoDB AUTO_INCREMENT=10000000000000000000 DEFAULT CHARSET=latin1 | ||
779 | 1377 | INSERT INTO t1 VALUES (); | ||
780 | 1378 | ERROR HY000: Failed to read auto-increment value from storage engine | ||
781 | 1379 | DROP TABLE t1; | ||
782 | 1292 | 1380 | ||
783 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb-zip.result' | |||
784 | --- Percona-Server/mysql-test/suite/innodb/r/innodb-zip.result 2011-08-08 09:16:15 +0000 | |||
785 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb-zip.result 2013-01-31 20:19:36 +0000 | |||
786 | @@ -126,12 +126,12 @@ | |||
787 | 126 | c TEXT NOT NULL, d TEXT NOT NULL, | 126 | c TEXT NOT NULL, d TEXT NOT NULL, |
788 | 127 | PRIMARY KEY (c(767),d(767))) | 127 | PRIMARY KEY (c(767),d(767))) |
789 | 128 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; | 128 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; |
791 | 129 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 129 | ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. |
792 | 130 | CREATE TABLE t1( | 130 | CREATE TABLE t1( |
793 | 131 | c TEXT NOT NULL, d TEXT NOT NULL, | 131 | c TEXT NOT NULL, d TEXT NOT NULL, |
794 | 132 | PRIMARY KEY (c(767),d(767))) | 132 | PRIMARY KEY (c(767),d(767))) |
795 | 133 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2 CHARSET=ASCII; | 133 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2 CHARSET=ASCII; |
797 | 134 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 134 | ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. |
798 | 135 | CREATE TABLE t1( | 135 | CREATE TABLE t1( |
799 | 136 | c TEXT NOT NULL, d TEXT NOT NULL, | 136 | c TEXT NOT NULL, d TEXT NOT NULL, |
800 | 137 | PRIMARY KEY (c(767),d(767))) | 137 | PRIMARY KEY (c(767),d(767))) |
801 | @@ -139,7 +139,7 @@ | |||
802 | 139 | drop table t1; | 139 | drop table t1; |
803 | 140 | CREATE TABLE t1(c TEXT, PRIMARY KEY (c(440))) | 140 | CREATE TABLE t1(c TEXT, PRIMARY KEY (c(440))) |
804 | 141 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; | 141 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; |
806 | 142 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 142 | ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. |
807 | 143 | CREATE TABLE t1(c TEXT, PRIMARY KEY (c(438))) | 143 | CREATE TABLE t1(c TEXT, PRIMARY KEY (c(438))) |
808 | 144 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; | 144 | ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII; |
809 | 145 | INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512)); | 145 | INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512)); |
810 | 146 | 146 | ||
811 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb.result' | |||
812 | --- Percona-Server/mysql-test/suite/innodb/r/innodb.result 2012-04-18 23:24:47 +0000 | |||
813 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb.result 2013-01-31 20:19:36 +0000 | |||
814 | @@ -3085,7 +3085,7 @@ | |||
815 | 3085 | c25 CHAR(255), c26 CHAR(255), c27 CHAR(255), c28 CHAR(255), | 3085 | c25 CHAR(255), c26 CHAR(255), c27 CHAR(255), c28 CHAR(255), |
816 | 3086 | c29 CHAR(255), c30 CHAR(255), c31 CHAR(255), c32 CHAR(255) | 3086 | c29 CHAR(255), c30 CHAR(255), c31 CHAR(255), c32 CHAR(255) |
817 | 3087 | ) ENGINE = InnoDB; | 3087 | ) ENGINE = InnoDB; |
819 | 3088 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 3088 | ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. |
820 | 3089 | DROP TABLE IF EXISTS t1; | 3089 | DROP TABLE IF EXISTS t1; |
821 | 3090 | Warnings: | 3090 | Warnings: |
822 | 3091 | Note 1051 Unknown table 't1' | 3091 | Note 1051 Unknown table 't1' |
823 | 3092 | 3092 | ||
824 | === added file 'Percona-Server/mysql-test/suite/innodb/r/innodb_bug14704286.result' | |||
825 | --- Percona-Server/mysql-test/suite/innodb/r/innodb_bug14704286.result 1970-01-01 00:00:00 +0000 | |||
826 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb_bug14704286.result 2013-01-31 20:19:36 +0000 | |||
827 | @@ -0,0 +1,53 @@ | |||
828 | 1 | use test; | ||
829 | 2 | drop table if exists t1; | ||
830 | 3 | create table t1 (id int primary key, value int, value2 int, | ||
831 | 4 | value3 int, index(value,value2)) engine=innodb; | ||
832 | 5 | insert into t1 values | ||
833 | 6 | (10,10,10,10),(11,11,11,11),(12,12,12,12),(13,13,13,13),(14,14,14,14), | ||
834 | 7 | (15,15,15,15),(16,16,16,16),(17,17,17,17),(18,18,18,18),(19,19,19,19), | ||
835 | 8 | (20,20,20,20); | ||
836 | 9 | use test; | ||
837 | 10 | start transaction with consistent snapshot; | ||
838 | 11 | use test; | ||
839 | 12 | CREATE PROCEDURE update_t1() | ||
840 | 13 | BEGIN | ||
841 | 14 | DECLARE i INT DEFAULT 1; | ||
842 | 15 | while (i <= 5000) DO | ||
843 | 16 | update test.t1 set value2=value2+1, value3=value3+1 where id=12; | ||
844 | 17 | SET i = i + 1; | ||
845 | 18 | END WHILE; | ||
846 | 19 | END| | ||
847 | 20 | set autocommit=0; | ||
848 | 21 | CALL update_t1(); | ||
849 | 22 | select * from t1; | ||
850 | 23 | id value value2 value3 | ||
851 | 24 | 10 10 10 10 | ||
852 | 25 | 11 11 11 11 | ||
853 | 26 | 12 12 5012 5012 | ||
854 | 27 | 13 13 13 13 | ||
855 | 28 | 14 14 14 14 | ||
856 | 29 | 15 15 15 15 | ||
857 | 30 | 16 16 16 16 | ||
858 | 31 | 17 17 17 17 | ||
859 | 32 | 18 18 18 18 | ||
860 | 33 | 19 19 19 19 | ||
861 | 34 | 20 20 20 20 | ||
862 | 35 | set autocommit=1; | ||
863 | 36 | select * from t1; | ||
864 | 37 | id value value2 value3 | ||
865 | 38 | 10 10 10 10 | ||
866 | 39 | 11 11 11 11 | ||
867 | 40 | 12 12 5012 5012 | ||
868 | 41 | 13 13 13 13 | ||
869 | 42 | 14 14 14 14 | ||
870 | 43 | 15 15 15 15 | ||
871 | 44 | 16 16 16 16 | ||
872 | 45 | 17 17 17 17 | ||
873 | 46 | 18 18 18 18 | ||
874 | 47 | 19 19 19 19 | ||
875 | 48 | 20 20 20 20 | ||
876 | 49 | select * from t1 force index(value) where value=12; | ||
877 | 50 | kill query @id; | ||
878 | 51 | ERROR 70100: Query execution was interrupted | ||
879 | 52 | drop procedure if exists update_t1; | ||
880 | 53 | drop table if exists t1; | ||
881 | 0 | 54 | ||
882 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb_bug53591.result' | |||
883 | --- Percona-Server/mysql-test/suite/innodb/r/innodb_bug53591.result 2011-10-05 13:14:14 +0000 | |||
884 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb_bug53591.result 2013-01-31 20:19:36 +0000 | |||
885 | @@ -8,7 +8,7 @@ | |||
886 | 8 | SHOW WARNINGS; | 8 | SHOW WARNINGS; |
887 | 9 | Level Code Message | 9 | Level Code Message |
888 | 10 | Error 139 Too big row | 10 | Error 139 Too big row |
890 | 11 | Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 11 | Error 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. |
891 | 12 | Error 1030 Got error 139 from storage engine | 12 | Error 1030 Got error 139 from storage engine |
892 | 13 | DROP TABLE bug53591; | 13 | DROP TABLE bug53591; |
893 | 14 | SET GLOBAL innodb_file_format=Antelope; | 14 | SET GLOBAL innodb_file_format=Antelope; |
894 | 15 | 15 | ||
895 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb_corrupt_bit.result' | |||
896 | --- Percona-Server/mysql-test/suite/innodb/r/innodb_corrupt_bit.result 2011-08-17 09:39:55 +0000 | |||
897 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb_corrupt_bit.result 2013-01-31 20:19:36 +0000 | |||
898 | @@ -40,13 +40,13 @@ | |||
899 | 40 | test.corrupt_bit_test_ā check Warning InnoDB: The B-tree of index "idxē" is corrupted. | 40 | test.corrupt_bit_test_ā check Warning InnoDB: The B-tree of index "idxē" is corrupted. |
900 | 41 | test.corrupt_bit_test_ā check error Corrupt | 41 | test.corrupt_bit_test_ā check error Corrupt |
901 | 42 | select c from corrupt_bit_test_ā; | 42 | select c from corrupt_bit_test_ā; |
903 | 43 | ERROR HY000: Incorrect key file for table 'corrupt_bit_test_ā'; try to repair it | 43 | ERROR HY000: Index corrupt_bit_test_ā is corrupted |
904 | 44 | select z from corrupt_bit_test_ā; | 44 | select z from corrupt_bit_test_ā; |
906 | 45 | ERROR HY000: Incorrect key file for table 'corrupt_bit_test_ā'; try to repair it | 45 | ERROR HY000: Index corrupt_bit_test_ā is corrupted |
907 | 46 | show warnings; | 46 | show warnings; |
908 | 47 | Level Code Message | 47 | Level Code Message |
909 | 48 | Warning 179 InnoDB: Index "idxē" for table "test"."corrupt_bit_test_ā" is marked as corrupted | 48 | Warning 179 InnoDB: Index "idxē" for table "test"."corrupt_bit_test_ā" is marked as corrupted |
911 | 49 | Error 1034 Incorrect key file for table 'corrupt_bit_test_ā'; try to repair it | 49 | Error 1712 Index corrupt_bit_test_ā is corrupted |
912 | 50 | insert into corrupt_bit_test_ā values (10001, "a", 20001, 20001); | 50 | insert into corrupt_bit_test_ā values (10001, "a", 20001, 20001); |
913 | 51 | select * from corrupt_bit_test_ā use index(primary) where a = 10001; | 51 | select * from corrupt_bit_test_ā use index(primary) where a = 10001; |
914 | 52 | a b c z | 52 | a b c z |
915 | @@ -63,7 +63,7 @@ | |||
916 | 63 | test.corrupt_bit_test_ā check error Corrupt | 63 | test.corrupt_bit_test_ā check error Corrupt |
917 | 64 | set names utf8; | 64 | set names utf8; |
918 | 65 | select z from corrupt_bit_test_ā; | 65 | select z from corrupt_bit_test_ā; |
920 | 66 | ERROR HY000: Incorrect key file for table 'corrupt_bit_test_ā'; try to repair it | 66 | ERROR HY000: Index corrupt_bit_test_ā is corrupted |
921 | 67 | drop index idxē on corrupt_bit_test_ā; | 67 | drop index idxē on corrupt_bit_test_ā; |
922 | 68 | select z from corrupt_bit_test_ā limit 10; | 68 | select z from corrupt_bit_test_ā limit 10; |
923 | 69 | z | 69 | z |
924 | 70 | 70 | ||
925 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb_misc1.result' | |||
926 | --- Percona-Server/mysql-test/suite/innodb/r/innodb_misc1.result 2011-10-26 07:06:23 +0000 | |||
927 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb_misc1.result 2013-01-31 20:19:36 +0000 | |||
928 | @@ -779,7 +779,7 @@ | |||
929 | 779 | c25 CHAR(255), c26 CHAR(255), c27 CHAR(255), c28 CHAR(255), | 779 | c25 CHAR(255), c26 CHAR(255), c27 CHAR(255), c28 CHAR(255), |
930 | 780 | c29 CHAR(255), c30 CHAR(255), c31 CHAR(255), c32 CHAR(255) | 780 | c29 CHAR(255), c30 CHAR(255), c31 CHAR(255), c32 CHAR(255) |
931 | 781 | ) ENGINE = InnoDB; | 781 | ) ENGINE = InnoDB; |
933 | 782 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 782 | ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. |
934 | 783 | SET innodb_strict_mode=OFF; | 783 | SET innodb_strict_mode=OFF; |
935 | 784 | DROP TABLE IF EXISTS t1; | 784 | DROP TABLE IF EXISTS t1; |
936 | 785 | Warnings: | 785 | Warnings: |
937 | 786 | 786 | ||
938 | === modified file 'Percona-Server/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result' | |||
939 | --- Percona-Server/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result 2011-10-05 13:14:14 +0000 | |||
940 | +++ Percona-Server/mysql-test/suite/innodb/r/innodb_prefix_index_liftedlimit.result 2013-01-31 20:19:36 +0000 | |||
941 | @@ -649,7 +649,7 @@ | |||
942 | 649 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' , | 649 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' , |
943 | 650 | PRIMARY KEY (col_1_varchar(1024)) | 650 | PRIMARY KEY (col_1_varchar(1024)) |
944 | 651 | ) ROW_FORMAT=DYNAMIC, engine = innodb; | 651 | ) ROW_FORMAT=DYNAMIC, engine = innodb; |
946 | 652 | ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs | 652 | ERROR 42000: Row size too large (> max_row_size). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. |
947 | 653 | CREATE TABLE worklog5743 ( | 653 | CREATE TABLE worklog5743 ( |
948 | 654 | col_1_varbinary VARBINARY (4000) , | 654 | col_1_varbinary VARBINARY (4000) , |
949 | 655 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8', | 655 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8', |
950 | 656 | 656 | ||
951 | === modified file 'Percona-Server/mysql-test/suite/innodb/t/innodb-autoinc.test' | |||
952 | --- Percona-Server/mysql-test/suite/innodb/t/innodb-autoinc.test 2012-03-29 07:02:08 +0000 | |||
953 | +++ Percona-Server/mysql-test/suite/innodb/t/innodb-autoinc.test 2013-01-31 20:19:36 +0000 | |||
954 | @@ -139,7 +139,7 @@ | |||
955 | 139 | CREATE TABLE t1 (c1 INT AUTO_INCREMENT, c2 INT, PRIMARY KEY(c1)) ENGINE=InnoDB; | 139 | CREATE TABLE t1 (c1 INT AUTO_INCREMENT, c2 INT, PRIMARY KEY(c1)) ENGINE=InnoDB; |
956 | 140 | INSERT INTO t1 VALUES (NULL, 1); | 140 | INSERT INTO t1 VALUES (NULL, 1); |
957 | 141 | DELETE FROM t1 WHERE c1 = 1; | 141 | DELETE FROM t1 WHERE c1 = 1; |
959 | 142 | INSERT INTO t1 VALUES (2,1); | 142 | INSERT INTO t1 VALUES (2,1); |
960 | 143 | INSERT INTO t1 VALUES (NULL,8); | 143 | INSERT INTO t1 VALUES (NULL,8); |
961 | 144 | SELECT * FROM t1; | 144 | SELECT * FROM t1; |
962 | 145 | DROP TABLE t1; | 145 | DROP TABLE t1; |
963 | @@ -639,7 +639,7 @@ | |||
964 | 639 | DROP TABLE t1; | 639 | DROP TABLE t1; |
965 | 640 | 640 | ||
966 | 641 | 641 | ||
968 | 642 | # Check if we handl offset > column max value properly | 642 | # Check if we handle offset > column max value properly |
969 | 643 | SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=256; | 643 | SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=256; |
970 | 644 | SHOW VARIABLES LIKE "%auto_inc%"; | 644 | SHOW VARIABLES LIKE "%auto_inc%"; |
971 | 645 | # TINYINT | 645 | # TINYINT |
972 | @@ -648,3 +648,40 @@ | |||
973 | 648 | SHOW CREATE TABLE t1; | 648 | SHOW CREATE TABLE t1; |
974 | 649 | SELECT * FROM t1; | 649 | SELECT * FROM t1; |
975 | 650 | DROP TABLE t1; | 650 | DROP TABLE t1; |
976 | 651 | |||
977 | 652 | # Check if we handle the case where a current value is greater than the max | ||
978 | 653 | # of the column. IMO, this should not be allowed and the assertion that fails | ||
979 | 654 | # is actually an invariant. | ||
980 | 655 | SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=1; | ||
981 | 656 | SHOW VARIABLES LIKE "%auto_inc%"; | ||
982 | 657 | # TINYINT | ||
983 | 658 | CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY AUTO_INCREMENT, c2 VARCHAR(10)) ENGINE=InnoDB; | ||
984 | 659 | INSERT INTO t1 VALUES (2147483648, 'a'); | ||
985 | 660 | SHOW CREATE TABLE t1; | ||
986 | 661 | SELECT * FROM t1; | ||
987 | 662 | ALTER TABLE t1 CHANGE c1 c1 INT; | ||
988 | 663 | SHOW CREATE TABLE t1; | ||
989 | 664 | INSERT INTO t1(c2) VALUES('b'); | ||
990 | 665 | SELECT * FROM t1; | ||
991 | 666 | SHOW CREATE TABLE t1; | ||
992 | 667 | DROP TABLE t1; | ||
993 | 668 | |||
994 | 669 | CREATE TABLE t1 (c1 INT AUTO_INCREMENT PRIMARY KEY, c2 INT) ENGINE = MyISAM; | ||
995 | 670 | INSERT INTO t1 (c1) VALUES (NULL), (-290783232), (NULL); | ||
996 | 671 | SHOW CREATE TABLE t1; | ||
997 | 672 | SELECT * FROM t1; | ||
998 | 673 | ALTER TABLE t1 ENGINE = InnoDB; | ||
999 | 674 | SELECT * FROM t1; | ||
1000 | 675 | SHOW CREATE TABLE t1; | ||
1001 | 676 | --error ER_AUTOINC_READ_FAILED | ||
1002 | 677 | REPLACE INTO t1 (c2 ) VALUES (0); | ||
1003 | 678 | SELECT * FROM t1; | ||
1004 | 679 | DROP TABLE t1; | ||
1005 | 680 | |||
1006 | 681 | #DOUBLE | ||
1007 | 682 | CREATE TABLE t1 (c1 DOUBLE NOT NULL PRIMARY KEY AUTO_INCREMENT) ENGINE=InnoDB | ||
1008 | 683 | AUTO_INCREMENT=10000000000000000000; | ||
1009 | 684 | SHOW CREATE TABLE t1; | ||
1010 | 685 | --error 1467 | ||
1011 | 686 | INSERT INTO t1 VALUES (); | ||
1012 | 687 | DROP TABLE t1; | ||
1013 | 651 | 688 | ||
1014 | === added file 'Percona-Server/mysql-test/suite/innodb/t/innodb_bug14704286.test' | |||
1015 | --- Percona-Server/mysql-test/suite/innodb/t/innodb_bug14704286.test 1970-01-01 00:00:00 +0000 | |||
1016 | +++ Percona-Server/mysql-test/suite/innodb/t/innodb_bug14704286.test 2013-01-31 20:19:36 +0000 | |||
1017 | @@ -0,0 +1,95 @@ | |||
1018 | 1 | --source include/have_innodb.inc | ||
1019 | 2 | |||
1020 | 3 | # | ||
1021 | 4 | # create test-bed to run test | ||
1022 | 5 | # | ||
1023 | 6 | use test; | ||
1024 | 7 | --disable_warnings | ||
1025 | 8 | drop table if exists t1; | ||
1026 | 9 | --enable_warnings | ||
1027 | 10 | create table t1 (id int primary key, value int, value2 int, | ||
1028 | 11 | value3 int, index(value,value2)) engine=innodb; | ||
1029 | 12 | |||
1030 | 13 | insert into t1 values | ||
1031 | 14 | (10,10,10,10),(11,11,11,11),(12,12,12,12),(13,13,13,13),(14,14,14,14), | ||
1032 | 15 | (15,15,15,15),(16,16,16,16),(17,17,17,17),(18,18,18,18),(19,19,19,19), | ||
1033 | 16 | (20,20,20,20); | ||
1034 | 17 | let $ID= `SELECT @id := CONNECTION_ID()`; | ||
1035 | 18 | |||
1036 | 19 | # | ||
1037 | 20 | # we need multiple connections as we need to keep one connection | ||
1038 | 21 | # active with trx requesting consistent read. | ||
1039 | 22 | # | ||
1040 | 23 | connect (conn1, localhost, root,,); | ||
1041 | 24 | connect (conn2, localhost, root,,); | ||
1042 | 25 | connect (conn3, localhost, root,,); | ||
1043 | 26 | |||
1044 | 27 | # | ||
1045 | 28 | # start trx with consistent read | ||
1046 | 29 | # | ||
1047 | 30 | connection conn1; | ||
1048 | 31 | use test; | ||
1049 | 32 | |||
1050 | 33 | start transaction with consistent snapshot; | ||
1051 | 34 | |||
1052 | 35 | # | ||
1053 | 36 | # update table such that secondary index is updated. | ||
1054 | 37 | # | ||
1055 | 38 | connection conn2; | ||
1056 | 39 | use test; | ||
1057 | 40 | delimiter |; | ||
1058 | 41 | CREATE PROCEDURE update_t1() | ||
1059 | 42 | BEGIN | ||
1060 | 43 | DECLARE i INT DEFAULT 1; | ||
1061 | 44 | while (i <= 5000) DO | ||
1062 | 45 | update test.t1 set value2=value2+1, value3=value3+1 where id=12; | ||
1063 | 46 | SET i = i + 1; | ||
1064 | 47 | END WHILE; | ||
1065 | 48 | END| | ||
1066 | 49 | |||
1067 | 50 | delimiter ;| | ||
1068 | 51 | set autocommit=0; | ||
1069 | 52 | CALL update_t1(); | ||
1070 | 53 | select * from t1; | ||
1071 | 54 | set autocommit=1; | ||
1072 | 55 | select * from t1; | ||
1073 | 56 | |||
1074 | 57 | # | ||
1075 | 58 | # Now try to fire select query from connection-1 enforcing | ||
1076 | 59 | # use of secondary index. | ||
1077 | 60 | # | ||
1078 | 61 | connection conn1; | ||
1079 | 62 | let $ID= `SELECT @id := CONNECTION_ID()`; | ||
1080 | 63 | #--error ER_QUERY_INTERRUPTED | ||
1081 | 64 | --send | ||
1082 | 65 | select * from t1 force index(value) where value=12; | ||
1083 | 66 | |||
1084 | 67 | # | ||
1085 | 68 | # select is going to take good time so let's kill query. | ||
1086 | 69 | # | ||
1087 | 70 | connection conn3; | ||
1088 | 71 | let $wait_condition= | ||
1089 | 72 | select * from information_schema.processlist where state = 'Sending data' and | ||
1090 | 73 | info = 'select * from t1 force index(value) where value=12'; | ||
1091 | 74 | --source include/wait_condition.inc | ||
1092 | 75 | let $ignore= `SELECT @id := $ID`; | ||
1093 | 76 | kill query @id; | ||
1094 | 77 | |||
1095 | 78 | # | ||
1096 | 79 | # reap the value of connection-1 | ||
1097 | 80 | # | ||
1098 | 81 | connection conn1; | ||
1099 | 82 | --error ER_QUERY_INTERRUPTED | ||
1100 | 83 | reap; | ||
1101 | 84 | |||
1102 | 85 | # | ||
1103 | 86 | # clean test-bed. | ||
1104 | 87 | # | ||
1105 | 88 | connection default; | ||
1106 | 89 | disconnect conn1; | ||
1107 | 90 | disconnect conn2; | ||
1108 | 91 | disconnect conn3; | ||
1109 | 92 | drop procedure if exists update_t1; | ||
1110 | 93 | drop table if exists t1; | ||
1111 | 94 | |||
1112 | 95 | |||
1113 | 0 | 96 | ||
1114 | === modified file 'Percona-Server/mysql-test/suite/innodb/t/innodb_corrupt_bit.test' | |||
1115 | --- Percona-Server/mysql-test/suite/innodb/t/innodb_corrupt_bit.test 2011-11-22 15:06:19 +0000 | |||
1116 | +++ Percona-Server/mysql-test/suite/innodb/t/innodb_corrupt_bit.test 2013-01-31 20:19:36 +0000 | |||
1117 | @@ -79,10 +79,10 @@ | |||
1118 | 79 | check table corrupt_bit_test_ā; | 79 | check table corrupt_bit_test_ā; |
1119 | 80 | 80 | ||
1120 | 81 | # This selection intend to use the corrupted index. Expect to fail | 81 | # This selection intend to use the corrupted index. Expect to fail |
1122 | 82 | -- error ER_NOT_KEYFILE | 82 | -- error ER_INDEX_CORRUPT |
1123 | 83 | select c from corrupt_bit_test_ā; | 83 | select c from corrupt_bit_test_ā; |
1124 | 84 | 84 | ||
1126 | 85 | -- error ER_NOT_KEYFILE | 85 | -- error ER_INDEX_CORRUPT |
1127 | 86 | select z from corrupt_bit_test_ā; | 86 | select z from corrupt_bit_test_ā; |
1128 | 87 | 87 | ||
1129 | 88 | show warnings; | 88 | show warnings; |
1130 | @@ -108,7 +108,7 @@ | |||
1131 | 108 | 108 | ||
1132 | 109 | set names utf8; | 109 | set names utf8; |
1133 | 110 | 110 | ||
1135 | 111 | -- error ER_NOT_KEYFILE | 111 | -- error ER_INDEX_CORRUPT |
1136 | 112 | select z from corrupt_bit_test_ā; | 112 | select z from corrupt_bit_test_ā; |
1137 | 113 | 113 | ||
1138 | 114 | # Drop the corrupted index | 114 | # Drop the corrupted index |
1139 | 115 | 115 | ||
1140 | === modified file 'Percona-Server/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test' | |||
1141 | --- Percona-Server/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test 2011-10-05 13:14:14 +0000 | |||
1142 | +++ Percona-Server/mysql-test/suite/innodb/t/innodb_prefix_index_liftedlimit.test 2013-01-31 20:19:36 +0000 | |||
1143 | @@ -601,6 +601,7 @@ | |||
1144 | 601 | # Prefix index with utf8 charset + varchar. | 601 | # Prefix index with utf8 charset + varchar. |
1145 | 602 | # For varchar we also log the column itself as oppose of TEXT so it error | 602 | # For varchar we also log the column itself as oppose of TEXT so it error |
1146 | 603 | # with limit 1024 due to overhead. | 603 | # with limit 1024 due to overhead. |
1147 | 604 | --replace_regex /> [0-9]*/> max_row_size/ | ||
1148 | 604 | -- error 1118 | 605 | -- error 1118 |
1149 | 605 | CREATE TABLE worklog5743 (col_1_varchar VARCHAR (4000) CHARACTER SET 'utf8', | 606 | CREATE TABLE worklog5743 (col_1_varchar VARCHAR (4000) CHARACTER SET 'utf8', |
1150 | 606 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' , | 607 | col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' , |
1151 | 607 | 608 | ||
1152 | === modified file 'Percona-Server/mysql-test/suite/perfschema/r/func_file_io.result' | |||
1153 | --- Percona-Server/mysql-test/suite/perfschema/r/func_file_io.result 2012-05-23 08:21:35 +0000 | |||
1154 | +++ Percona-Server/mysql-test/suite/perfschema/r/func_file_io.result 2013-01-31 20:19:36 +0000 | |||
1155 | @@ -1,6 +1,7 @@ | |||
1156 | 1 | UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES'; | 1 | UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES'; |
1157 | 2 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' | 2 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' |
1158 | 3 | WHERE name LIKE 'wait/io/file/%'; | 3 | WHERE name LIKE 'wait/io/file/%'; |
1159 | 4 | flush status; | ||
1160 | 4 | DROP TABLE IF EXISTS t1; | 5 | DROP TABLE IF EXISTS t1; |
1161 | 5 | CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value') | 6 | CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value') |
1162 | 6 | ENGINE=MyISAM; | 7 | ENGINE=MyISAM; |
1163 | @@ -113,3 +114,19 @@ | |||
1164 | 113 | GROUP BY h.EVENT_NAME | 114 | GROUP BY h.EVENT_NAME |
1165 | 114 | HAVING TOTAL_WAIT > 0; | 115 | HAVING TOTAL_WAIT > 0; |
1166 | 115 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; | 116 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; |
1167 | 117 | show status like "performance_schema%"; | ||
1168 | 118 | Variable_name Value | ||
1169 | 119 | Performance_schema_cond_classes_lost 0 | ||
1170 | 120 | Performance_schema_cond_instances_lost 0 | ||
1171 | 121 | Performance_schema_file_classes_lost 0 | ||
1172 | 122 | Performance_schema_file_handles_lost 0 | ||
1173 | 123 | Performance_schema_file_instances_lost 0 | ||
1174 | 124 | Performance_schema_locker_lost 0 | ||
1175 | 125 | Performance_schema_mutex_classes_lost 0 | ||
1176 | 126 | Performance_schema_mutex_instances_lost 0 | ||
1177 | 127 | Performance_schema_rwlock_classes_lost 0 | ||
1178 | 128 | Performance_schema_rwlock_instances_lost 0 | ||
1179 | 129 | Performance_schema_table_handles_lost 0 | ||
1180 | 130 | Performance_schema_table_instances_lost 0 | ||
1181 | 131 | Performance_schema_thread_classes_lost 0 | ||
1182 | 132 | Performance_schema_thread_instances_lost 0 | ||
1183 | 116 | 133 | ||
1184 | === modified file 'Percona-Server/mysql-test/suite/perfschema/r/func_mutex.result' | |||
1185 | --- Percona-Server/mysql-test/suite/perfschema/r/func_mutex.result 2010-11-12 11:23:17 +0000 | |||
1186 | +++ Percona-Server/mysql-test/suite/perfschema/r/func_mutex.result 2013-01-31 20:19:36 +0000 | |||
1187 | @@ -2,6 +2,15 @@ | |||
1188 | 2 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' | 2 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' |
1189 | 3 | WHERE name LIKE 'wait/synch/mutex/%' | 3 | WHERE name LIKE 'wait/synch/mutex/%' |
1190 | 4 | OR name LIKE 'wait/synch/rwlock/%'; | 4 | OR name LIKE 'wait/synch/rwlock/%'; |
1191 | 5 | flush status; | ||
1192 | 6 | select NAME from performance_schema.mutex_instances | ||
1193 | 7 | where NAME = 'wait/synch/mutex/sql/LOCK_open'; | ||
1194 | 8 | NAME | ||
1195 | 9 | wait/synch/mutex/sql/LOCK_open | ||
1196 | 10 | select NAME from performance_schema.rwlock_instances | ||
1197 | 11 | where NAME = 'wait/synch/rwlock/sql/LOCK_grant'; | ||
1198 | 12 | NAME | ||
1199 | 13 | wait/synch/rwlock/sql/LOCK_grant | ||
1200 | 5 | DROP TABLE IF EXISTS t1; | 14 | DROP TABLE IF EXISTS t1; |
1201 | 6 | CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value') | 15 | CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value') |
1202 | 7 | ENGINE=MyISAM; | 16 | ENGINE=MyISAM; |
1203 | @@ -112,3 +121,19 @@ | |||
1204 | 112 | Success | 121 | Success |
1205 | 113 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; | 122 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; |
1206 | 114 | DROP TABLE t1; | 123 | DROP TABLE t1; |
1207 | 124 | show status like "performance_schema%"; | ||
1208 | 125 | Variable_name Value | ||
1209 | 126 | Performance_schema_cond_classes_lost 0 | ||
1210 | 127 | Performance_schema_cond_instances_lost 0 | ||
1211 | 128 | Performance_schema_file_classes_lost 0 | ||
1212 | 129 | Performance_schema_file_handles_lost 0 | ||
1213 | 130 | Performance_schema_file_instances_lost 0 | ||
1214 | 131 | Performance_schema_locker_lost 0 | ||
1215 | 132 | Performance_schema_mutex_classes_lost 0 | ||
1216 | 133 | Performance_schema_mutex_instances_lost 0 | ||
1217 | 134 | Performance_schema_rwlock_classes_lost 0 | ||
1218 | 135 | Performance_schema_rwlock_instances_lost 0 | ||
1219 | 136 | Performance_schema_table_handles_lost 0 | ||
1220 | 137 | Performance_schema_table_instances_lost 0 | ||
1221 | 138 | Performance_schema_thread_classes_lost 0 | ||
1222 | 139 | Performance_schema_thread_instances_lost 0 | ||
1223 | 115 | 140 | ||
1224 | === modified file 'Percona-Server/mysql-test/suite/perfschema/t/func_file_io.test' | |||
1225 | --- Percona-Server/mysql-test/suite/perfschema/t/func_file_io.test 2012-05-23 08:21:35 +0000 | |||
1226 | +++ Percona-Server/mysql-test/suite/perfschema/t/func_file_io.test 2013-01-31 20:19:36 +0000 | |||
1227 | @@ -12,6 +12,9 @@ | |||
1228 | 12 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' | 12 | UPDATE performance_schema.setup_instruments SET enabled = 'YES' |
1229 | 13 | WHERE name LIKE 'wait/io/file/%'; | 13 | WHERE name LIKE 'wait/io/file/%'; |
1230 | 14 | 14 | ||
1231 | 15 | # reset lost counters | ||
1232 | 16 | flush status; | ||
1233 | 17 | |||
1234 | 15 | --disable_warnings | 18 | --disable_warnings |
1235 | 16 | DROP TABLE IF EXISTS t1; | 19 | DROP TABLE IF EXISTS t1; |
1236 | 17 | --enable_warnings | 20 | --enable_warnings |
1237 | @@ -182,3 +185,7 @@ | |||
1238 | 182 | 185 | ||
1239 | 183 | # Clean-up. | 186 | # Clean-up. |
1240 | 184 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; | 187 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; |
1241 | 188 | |||
1242 | 189 | # In case of failure, will indicate the root cause | ||
1243 | 190 | show status like "performance_schema%"; | ||
1244 | 191 | |||
1245 | 185 | 192 | ||
1246 | === modified file 'Percona-Server/mysql-test/suite/perfschema/t/func_mutex.test' | |||
1247 | --- Percona-Server/mysql-test/suite/perfschema/t/func_mutex.test 2011-10-19 21:44:17 +0000 | |||
1248 | +++ Percona-Server/mysql-test/suite/perfschema/t/func_mutex.test 2013-01-31 20:19:36 +0000 | |||
1249 | @@ -13,6 +13,15 @@ | |||
1250 | 13 | WHERE name LIKE 'wait/synch/mutex/%' | 13 | WHERE name LIKE 'wait/synch/mutex/%' |
1251 | 14 | OR name LIKE 'wait/synch/rwlock/%'; | 14 | OR name LIKE 'wait/synch/rwlock/%'; |
1252 | 15 | 15 | ||
1253 | 16 | # reset lost counters | ||
1254 | 17 | flush status; | ||
1255 | 18 | |||
1256 | 19 | # Make sure objects are instrumented | ||
1257 | 20 | select NAME from performance_schema.mutex_instances | ||
1258 | 21 | where NAME = 'wait/synch/mutex/sql/LOCK_open'; | ||
1259 | 22 | select NAME from performance_schema.rwlock_instances | ||
1260 | 23 | where NAME = 'wait/synch/rwlock/sql/LOCK_grant'; | ||
1261 | 24 | |||
1262 | 16 | --disable_warnings | 25 | --disable_warnings |
1263 | 17 | DROP TABLE IF EXISTS t1; | 26 | DROP TABLE IF EXISTS t1; |
1264 | 18 | --enable_warnings | 27 | --enable_warnings |
1265 | @@ -116,3 +125,7 @@ | |||
1266 | 116 | # Clean-up. | 125 | # Clean-up. |
1267 | 117 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; | 126 | UPDATE performance_schema.setup_instruments SET enabled = 'YES'; |
1268 | 118 | DROP TABLE t1; | 127 | DROP TABLE t1; |
1269 | 128 | |||
1270 | 129 | # In case of failure, will indicate the root cause | ||
1271 | 130 | show status like "performance_schema%"; | ||
1272 | 131 | |||
1273 | 119 | 132 | ||
1274 | === modified file 'Percona-Server/mysql-test/suite/rpl/r/rpl_semi_sync.result' | |||
1275 | --- Percona-Server/mysql-test/suite/rpl/r/rpl_semi_sync.result 2010-12-19 17:15:12 +0000 | |||
1276 | +++ Percona-Server/mysql-test/suite/rpl/r/rpl_semi_sync.result 2013-01-31 20:19:36 +0000 | |||
1277 | @@ -93,7 +93,7 @@ | |||
1278 | 93 | Rpl_semi_sync_master_no_tx 0 | 93 | Rpl_semi_sync_master_no_tx 0 |
1279 | 94 | show status like 'Rpl_semi_sync_master_yes_tx'; | 94 | show status like 'Rpl_semi_sync_master_yes_tx'; |
1280 | 95 | Variable_name Value | 95 | Variable_name Value |
1282 | 96 | Rpl_semi_sync_master_yes_tx 301 | 96 | Rpl_semi_sync_master_yes_tx 11 |
1283 | 97 | [ on slave ] | 97 | [ on slave ] |
1284 | 98 | [ slave status after replicated inserts ] | 98 | [ slave status after replicated inserts ] |
1285 | 99 | show status like 'Rpl_semi_sync_slave_status'; | 99 | show status like 'Rpl_semi_sync_slave_status'; |
1286 | @@ -101,13 +101,13 @@ | |||
1287 | 101 | Rpl_semi_sync_slave_status ON | 101 | Rpl_semi_sync_slave_status ON |
1288 | 102 | select count(distinct a) from t1; | 102 | select count(distinct a) from t1; |
1289 | 103 | count(distinct a) | 103 | count(distinct a) |
1291 | 104 | 300 | 104 | 10 |
1292 | 105 | select min(a) from t1; | 105 | select min(a) from t1; |
1293 | 106 | min(a) | 106 | min(a) |
1294 | 107 | 1 | 107 | 1 |
1295 | 108 | select max(a) from t1; | 108 | select max(a) from t1; |
1296 | 109 | max(a) | 109 | max(a) |
1298 | 110 | 300 | 110 | 10 |
1299 | 111 | 111 | ||
1300 | 112 | # BUG#50157 | 112 | # BUG#50157 |
1301 | 113 | # semi-sync replication crashes when replicating a transaction which | 113 | # semi-sync replication crashes when replicating a transaction which |
1302 | @@ -133,6 +133,7 @@ | |||
1303 | 133 | # | 133 | # |
1304 | 134 | include/stop_slave.inc | 134 | include/stop_slave.inc |
1305 | 135 | [ on master ] | 135 | [ on master ] |
1306 | 136 | set global rpl_semi_sync_master_timeout= 5000; | ||
1307 | 136 | [ master status should be ON ] | 137 | [ master status should be ON ] |
1308 | 137 | show status like 'Rpl_semi_sync_master_status'; | 138 | show status like 'Rpl_semi_sync_master_status'; |
1309 | 138 | Variable_name Value | 139 | Variable_name Value |
1310 | @@ -142,7 +143,7 @@ | |||
1311 | 142 | Rpl_semi_sync_master_no_tx 0 | 143 | Rpl_semi_sync_master_no_tx 0 |
1312 | 143 | show status like 'Rpl_semi_sync_master_yes_tx'; | 144 | show status like 'Rpl_semi_sync_master_yes_tx'; |
1313 | 144 | Variable_name Value | 145 | Variable_name Value |
1315 | 145 | Rpl_semi_sync_master_yes_tx 304 | 146 | Rpl_semi_sync_master_yes_tx 14 |
1316 | 146 | show status like 'Rpl_semi_sync_master_clients'; | 147 | show status like 'Rpl_semi_sync_master_clients'; |
1317 | 147 | Variable_name Value | 148 | Variable_name Value |
1318 | 148 | Rpl_semi_sync_master_clients 1 | 149 | Rpl_semi_sync_master_clients 1 |
1319 | @@ -157,7 +158,7 @@ | |||
1320 | 157 | Rpl_semi_sync_master_no_tx 1 | 158 | Rpl_semi_sync_master_no_tx 1 |
1321 | 158 | show status like 'Rpl_semi_sync_master_yes_tx'; | 159 | show status like 'Rpl_semi_sync_master_yes_tx'; |
1322 | 159 | Variable_name Value | 160 | Variable_name Value |
1324 | 160 | Rpl_semi_sync_master_yes_tx 304 | 161 | Rpl_semi_sync_master_yes_tx 14 |
1325 | 161 | insert into t1 values (100); | 162 | insert into t1 values (100); |
1326 | 162 | [ master status should be OFF ] | 163 | [ master status should be OFF ] |
1327 | 163 | show status like 'Rpl_semi_sync_master_status'; | 164 | show status like 'Rpl_semi_sync_master_status'; |
1328 | @@ -165,10 +166,10 @@ | |||
1329 | 165 | Rpl_semi_sync_master_status OFF | 166 | Rpl_semi_sync_master_status OFF |
1330 | 166 | show status like 'Rpl_semi_sync_master_no_tx'; | 167 | show status like 'Rpl_semi_sync_master_no_tx'; |
1331 | 167 | Variable_name Value | 168 | Variable_name Value |
1333 | 168 | Rpl_semi_sync_master_no_tx 302 | 169 | Rpl_semi_sync_master_no_tx 12 |
1334 | 169 | show status like 'Rpl_semi_sync_master_yes_tx'; | 170 | show status like 'Rpl_semi_sync_master_yes_tx'; |
1335 | 170 | Variable_name Value | 171 | Variable_name Value |
1337 | 171 | Rpl_semi_sync_master_yes_tx 304 | 172 | Rpl_semi_sync_master_yes_tx 14 |
1338 | 172 | # | 173 | # |
1339 | 173 | # Test semi-sync status on master will be ON again when slave catches up | 174 | # Test semi-sync status on master will be ON again when slave catches up |
1340 | 174 | # | 175 | # |
1341 | @@ -198,10 +199,10 @@ | |||
1342 | 198 | Rpl_semi_sync_master_status ON | 199 | Rpl_semi_sync_master_status ON |
1343 | 199 | show status like 'Rpl_semi_sync_master_no_tx'; | 200 | show status like 'Rpl_semi_sync_master_no_tx'; |
1344 | 200 | Variable_name Value | 201 | Variable_name Value |
1346 | 201 | Rpl_semi_sync_master_no_tx 302 | 202 | Rpl_semi_sync_master_no_tx 12 |
1347 | 202 | show status like 'Rpl_semi_sync_master_yes_tx'; | 203 | show status like 'Rpl_semi_sync_master_yes_tx'; |
1348 | 203 | Variable_name Value | 204 | Variable_name Value |
1350 | 204 | Rpl_semi_sync_master_yes_tx 304 | 205 | Rpl_semi_sync_master_yes_tx 14 |
1351 | 205 | show status like 'Rpl_semi_sync_master_clients'; | 206 | show status like 'Rpl_semi_sync_master_clients'; |
1352 | 206 | Variable_name Value | 207 | Variable_name Value |
1353 | 207 | Rpl_semi_sync_master_clients 1 | 208 | Rpl_semi_sync_master_clients 1 |
1354 | @@ -217,10 +218,10 @@ | |||
1355 | 217 | [ Semi-sync master status variables before FLUSH STATUS ] | 218 | [ Semi-sync master status variables before FLUSH STATUS ] |
1356 | 218 | SHOW STATUS LIKE 'Rpl_semi_sync_master_no_tx'; | 219 | SHOW STATUS LIKE 'Rpl_semi_sync_master_no_tx'; |
1357 | 219 | Variable_name Value | 220 | Variable_name Value |
1359 | 220 | Rpl_semi_sync_master_no_tx 302 | 221 | Rpl_semi_sync_master_no_tx 12 |
1360 | 221 | SHOW STATUS LIKE 'Rpl_semi_sync_master_yes_tx'; | 222 | SHOW STATUS LIKE 'Rpl_semi_sync_master_yes_tx'; |
1361 | 222 | Variable_name Value | 223 | Variable_name Value |
1363 | 223 | Rpl_semi_sync_master_yes_tx 305 | 224 | Rpl_semi_sync_master_yes_tx 15 |
1364 | 224 | FLUSH NO_WRITE_TO_BINLOG STATUS; | 225 | FLUSH NO_WRITE_TO_BINLOG STATUS; |
1365 | 225 | [ Semi-sync master status variables after FLUSH STATUS ] | 226 | [ Semi-sync master status variables after FLUSH STATUS ] |
1366 | 226 | SHOW STATUS LIKE 'Rpl_semi_sync_master_no_tx'; | 227 | SHOW STATUS LIKE 'Rpl_semi_sync_master_no_tx'; |
1367 | 227 | 228 | ||
1368 | === modified file 'Percona-Server/mysql-test/suite/rpl/t/rpl_semi_sync.test' | |||
1369 | --- Percona-Server/mysql-test/suite/rpl/t/rpl_semi_sync.test 2011-03-16 16:38:30 +0000 | |||
1370 | +++ Percona-Server/mysql-test/suite/rpl/t/rpl_semi_sync.test 2013-01-31 20:19:36 +0000 | |||
1371 | @@ -63,7 +63,7 @@ | |||
1372 | 63 | { | 63 | { |
1373 | 64 | set sql_log_bin=0; | 64 | set sql_log_bin=0; |
1374 | 65 | eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN'; | 65 | eval INSTALL PLUGIN rpl_semi_sync_master SONAME '$SEMISYNC_MASTER_PLUGIN'; |
1376 | 66 | set global rpl_semi_sync_master_timeout= 5000; /* 5s */ | 66 | set global rpl_semi_sync_master_timeout= 60000; /* 60s */ |
1377 | 67 | set sql_log_bin=1; | 67 | set sql_log_bin=1; |
1378 | 68 | } | 68 | } |
1379 | 69 | enable_query_log; | 69 | enable_query_log; |
1380 | @@ -170,7 +170,7 @@ | |||
1381 | 170 | replace_result $_connections_normal_slave CONNECTIONS_NORMAL_SLAVE; | 170 | replace_result $_connections_normal_slave CONNECTIONS_NORMAL_SLAVE; |
1382 | 171 | eval select $_connections_semisync_slave - $_connections_normal_slave as 'Should be 0'; | 171 | eval select $_connections_semisync_slave - $_connections_normal_slave as 'Should be 0'; |
1383 | 172 | 172 | ||
1385 | 173 | let $i=300; | 173 | let $i=10; |
1386 | 174 | echo [ insert records to table ]; | 174 | echo [ insert records to table ]; |
1387 | 175 | disable_query_log; | 175 | disable_query_log; |
1388 | 176 | while ($i) | 176 | while ($i) |
1389 | @@ -234,6 +234,7 @@ | |||
1390 | 234 | 234 | ||
1391 | 235 | connection master; | 235 | connection master; |
1392 | 236 | echo [ on master ]; | 236 | echo [ on master ]; |
1393 | 237 | set global rpl_semi_sync_master_timeout= 5000; | ||
1394 | 237 | 238 | ||
1395 | 238 | # The first semi-sync check should be on because after slave stop, | 239 | # The first semi-sync check should be on because after slave stop, |
1396 | 239 | # there are no transactions on the master. | 240 | # there are no transactions on the master. |
1397 | @@ -260,7 +261,7 @@ | |||
1398 | 260 | 261 | ||
1399 | 261 | # Semi-sync status on master is now OFF, so all these transactions | 262 | # Semi-sync status on master is now OFF, so all these transactions |
1400 | 262 | # will be replicated asynchronously. | 263 | # will be replicated asynchronously. |
1402 | 263 | let $i=300; | 264 | let $i=10; |
1403 | 264 | disable_query_log; | 265 | disable_query_log; |
1404 | 265 | while ($i) | 266 | while ($i) |
1405 | 266 | { | 267 | { |
1406 | 267 | 268 | ||
1407 | === modified file 'Percona-Server/mysql-test/suite/sys_vars/r/innodb_change_buffering_debug_basic.result' | |||
1408 | --- Percona-Server/mysql-test/suite/sys_vars/r/innodb_change_buffering_debug_basic.result 2012-01-16 14:39:05 +0000 | |||
1409 | +++ Percona-Server/mysql-test/suite/sys_vars/r/innodb_change_buffering_debug_basic.result 2013-01-31 20:19:36 +0000 | |||
1410 | @@ -55,9 +55,6 @@ | |||
1411 | 55 | Warning 1292 Truncated incorrect innodb_change_buffering_debug value: '-2' | 55 | Warning 1292 Truncated incorrect innodb_change_buffering_debug value: '-2' |
1412 | 56 | set global innodb_change_buffering_debug=1e1; | 56 | set global innodb_change_buffering_debug=1e1; |
1413 | 57 | ERROR 42000: Incorrect argument type to variable 'innodb_change_buffering_debug' | 57 | ERROR 42000: Incorrect argument type to variable 'innodb_change_buffering_debug' |
1414 | 58 | set global innodb_change_buffering_debug=2; | ||
1415 | 59 | Warnings: | ||
1416 | 60 | Warning 1292 Truncated incorrect innodb_change_buffering_debug value: '2' | ||
1417 | 61 | SET @@global.innodb_change_buffering_debug = @start_global_value; | 58 | SET @@global.innodb_change_buffering_debug = @start_global_value; |
1418 | 62 | SELECT @@global.innodb_change_buffering_debug; | 59 | SELECT @@global.innodb_change_buffering_debug; |
1419 | 63 | @@global.innodb_change_buffering_debug | 60 | @@global.innodb_change_buffering_debug |
1420 | 64 | 61 | ||
1421 | === modified file 'Percona-Server/mysql-test/suite/sys_vars/t/innodb_change_buffering_debug_basic.test' | |||
1422 | --- Percona-Server/mysql-test/suite/sys_vars/t/innodb_change_buffering_debug_basic.test 2012-01-16 14:39:05 +0000 | |||
1423 | +++ Percona-Server/mysql-test/suite/sys_vars/t/innodb_change_buffering_debug_basic.test 2013-01-31 20:19:36 +0000 | |||
1424 | @@ -42,7 +42,9 @@ | |||
1425 | 42 | set global innodb_change_buffering_debug=-2; | 42 | set global innodb_change_buffering_debug=-2; |
1426 | 43 | --error ER_WRONG_TYPE_FOR_VAR | 43 | --error ER_WRONG_TYPE_FOR_VAR |
1427 | 44 | set global innodb_change_buffering_debug=1e1; | 44 | set global innodb_change_buffering_debug=1e1; |
1429 | 45 | set global innodb_change_buffering_debug=2; | 45 | # The value 2 is supposed to kill the server if there are unmerged changes. |
1430 | 46 | # Do not try to set the value to 2 or anything that can be clamped to 2. | ||
1431 | 47 | #set global innodb_change_buffering_debug=2; | ||
1432 | 46 | 48 | ||
1433 | 47 | # | 49 | # |
1434 | 48 | # Cleanup | 50 | # Cleanup |
1435 | 49 | 51 | ||
1436 | === modified file 'Percona-Server/mysql-test/t/ctype_ucs.test' | |||
1437 | --- Percona-Server/mysql-test/t/ctype_ucs.test 2012-03-20 05:16:51 +0000 | |||
1438 | +++ Percona-Server/mysql-test/t/ctype_ucs.test 2013-01-31 20:19:36 +0000 | |||
1439 | @@ -68,6 +68,38 @@ | |||
1440 | 68 | SHOW CREATE TABLE t1; | 68 | SHOW CREATE TABLE t1; |
1441 | 69 | DROP TABLE t1; | 69 | DROP TABLE t1; |
1442 | 70 | 70 | ||
1443 | 71 | --echo # | ||
1444 | 72 | --echo # Bug #51876 : crash/memory underrun when loading data with ucs2 | ||
1445 | 73 | --echo # and reverse() function | ||
1446 | 74 | --echo # | ||
1447 | 75 | |||
1448 | 76 | --echo # Problem # 1 (original report): wrong parsing of ucs2 data | ||
1449 | 77 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt'; | ||
1450 | 78 | CREATE TABLE t1(a INT); | ||
1451 | 79 | LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
1452 | 80 | (@b) SET a=REVERSE(@b); | ||
1453 | 81 | --echo # should return 2 zeroes (as the value is truncated) | ||
1454 | 82 | SELECT * FROM t1; | ||
1455 | 83 | |||
1456 | 84 | DROP TABLE t1; | ||
1457 | 85 | let $MYSQLD_DATADIR= `select @@datadir`; | ||
1458 | 86 | remove_file $MYSQLD_DATADIR/test/tmpp.txt; | ||
1459 | 87 | |||
1460 | 88 | |||
1461 | 89 | --echo # Problem # 2 : if you write and read ucs2 data to a file they're lost | ||
1462 | 90 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2; | ||
1463 | 91 | CREATE TABLE t1(a INT); | ||
1464 | 92 | LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2 | ||
1465 | 93 | (@b) SET a=REVERSE(@b); | ||
1466 | 94 | --echo # should return 0 and 1 (10 reversed) | ||
1467 | 95 | SELECT * FROM t1; | ||
1468 | 96 | |||
1469 | 97 | DROP TABLE t1; | ||
1470 | 98 | let $MYSQLD_DATADIR= `select @@datadir`; | ||
1471 | 99 | remove_file $MYSQLD_DATADIR/test/tmpp2.txt; | ||
1472 | 100 | |||
1473 | 101 | |||
1474 | 102 | |||
1475 | 71 | # | 103 | # |
1476 | 72 | # BUG3946 | 104 | # BUG3946 |
1477 | 73 | # | 105 | # |
1478 | 74 | 106 | ||
1479 | === modified file 'Percona-Server/mysql-test/t/loaddata.test' | |||
1480 | --- Percona-Server/mysql-test/t/loaddata.test 2012-05-10 07:49:14 +0000 | |||
1481 | +++ Percona-Server/mysql-test/t/loaddata.test 2013-01-31 20:19:36 +0000 | |||
1482 | @@ -570,36 +570,40 @@ | |||
1483 | 570 | connection default; | 570 | connection default; |
1484 | 571 | disconnect con1; | 571 | disconnect con1; |
1485 | 572 | 572 | ||
1516 | 573 | 573 | ############################################################################# | |
1517 | 574 | --echo # | 574 | # The below protion is moved to ctype_ucs.test # |
1518 | 575 | --echo # Bug #51876 : crash/memory underrun when loading data with ucs2 | 575 | ############################################################################# |
1519 | 576 | --echo # and reverse() function | 576 | #--echo # |
1520 | 577 | --echo # | 577 | #--echo # Bug #51876 : crash/memory underrun when loading data with ucs2 |
1521 | 578 | 578 | #--echo # and reverse() function | |
1522 | 579 | --echo # Problem # 1 (original report): wrong parsing of ucs2 data | 579 | #--echo # |
1523 | 580 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt'; | 580 | |
1524 | 581 | CREATE TABLE t1(a INT); | 581 | #--echo # Problem # 1 (original report): wrong parsing of ucs2 data |
1525 | 582 | LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 | 582 | #SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt'; |
1526 | 583 | (@b) SET a=REVERSE(@b); | 583 | #CREATE TABLE t1(a INT); |
1527 | 584 | --echo # should return 2 zeroes (as the value is truncated) | 584 | #LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2 |
1528 | 585 | SELECT * FROM t1; | 585 | #(@b) SET a=REVERSE(@b); |
1529 | 586 | 586 | #--echo # should return 2 zeroes (as the value is truncated) | |
1530 | 587 | DROP TABLE t1; | 587 | #SELECT * FROM t1; |
1531 | 588 | let $MYSQLD_DATADIR= `select @@datadir`; | 588 | |
1532 | 589 | remove_file $MYSQLD_DATADIR/test/tmpp.txt; | 589 | #DROP TABLE t1; |
1533 | 590 | 590 | #let $MYSQLD_DATADIR= `select @@datadir`; | |
1534 | 591 | 591 | #remove_file $MYSQLD_DATADIR/test/tmpp.txt; | |
1535 | 592 | --echo # Problem # 2 : if you write and read ucs2 data to a file they're lost | 592 | |
1536 | 593 | SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2; | 593 | |
1537 | 594 | CREATE TABLE t1(a INT); | 594 | #--echo # Problem # 2 : if you write and read ucs2 data to a file they're lost |
1538 | 595 | LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2 | 595 | #SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2; |
1539 | 596 | (@b) SET a=REVERSE(@b); | 596 | #CREATE TABLE t1(a INT); |
1540 | 597 | --echo # should return 0 and 1 (10 reversed) | 597 | #LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2 |
1541 | 598 | SELECT * FROM t1; | 598 | #(@b) SET a=REVERSE(@b); |
1542 | 599 | 599 | #--echo # should return 0 and 1 (10 reversed) | |
1543 | 600 | DROP TABLE t1; | 600 | #SELECT * FROM t1; |
1544 | 601 | let $MYSQLD_DATADIR= `select @@datadir`; | 601 | |
1545 | 602 | remove_file $MYSQLD_DATADIR/test/tmpp2.txt; | 602 | #DROP TABLE t1; |
1546 | 603 | #let $MYSQLD_DATADIR= `select @@datadir`; | ||
1547 | 604 | #remove_file $MYSQLD_DATADIR/test/tmpp2.txt; | ||
1548 | 605 | ###################################################################################### | ||
1549 | 606 | |||
1550 | 603 | 607 | ||
1551 | 604 | --echo # | 608 | --echo # |
1552 | 605 | --echo # Bug#11765139 58069: LOAD DATA INFILE: VALGRIND REPORTS INVALID MEMORY READS AND WRITES WITH U | 609 | --echo # Bug#11765139 58069: LOAD DATA INFILE: VALGRIND REPORTS INVALID MEMORY READS AND WRITES WITH U |
1553 | 606 | 610 | ||
1554 | === added file 'Percona-Server/mysql-test/t/percona_bug1017192.test' | |||
1555 | --- Percona-Server/mysql-test/t/percona_bug1017192.test 1970-01-01 00:00:00 +0000 | |||
1556 | +++ Percona-Server/mysql-test/t/percona_bug1017192.test 2013-01-31 20:19:36 +0000 | |||
1557 | @@ -0,0 +1,40 @@ | |||
1558 | 1 | ######################################################################## | ||
1559 | 2 | # Bug 1017192: Server crashes in add_identifier on concurrent | ||
1560 | 3 | # ALTER TABLE and SHOW ENGINE INNODB STATUS | ||
1561 | 4 | # We run concurrent ALTER TABLE PARTITION and execute | ||
1562 | 5 | # SHOW ENGINE INNODB STATUS exactly at the moment when | ||
1563 | 6 | # temporary tables already created and locked. | ||
1564 | 7 | ######################################################################## | ||
1565 | 8 | |||
1566 | 9 | --source include/have_partition.inc | ||
1567 | 10 | --source include/have_innodb.inc | ||
1568 | 11 | --source include/have_debug_sync.inc | ||
1569 | 12 | |||
1570 | 13 | SET DEBUG_SYNC='reset'; | ||
1571 | 14 | |||
1572 | 15 | CREATE TABLE IF NOT EXISTS t1 (`a` INT) ENGINE=InnoDB; | ||
1573 | 16 | INSERT INTO t1 VALUES (1),(2),(3),(4); | ||
1574 | 17 | |||
1575 | 18 | --connect (con1,localhost,root,,) | ||
1576 | 19 | |||
1577 | 20 | --connection default | ||
1578 | 21 | SET DEBUG_SYNC='after_copy_data_between_tables SIGNAL run_show_innodb_status | ||
1579 | 22 | WAIT_FOR show_innodb_status_done'; | ||
1580 | 23 | --send ALTER TABLE t1 PARTITION BY HASH (`a`) PARTITIONS 4 | ||
1581 | 24 | --connection con1 | ||
1582 | 25 | SET DEBUG_SYNC='now WAIT_FOR run_show_innodb_status'; | ||
1583 | 26 | # We catch the moment when SHOW ENGINE INNODB STATUS should produce lines like: | ||
1584 | 27 | # TABLE LOCK table `test`.`#sql-14021_2#P#p1` /* Partition `p1` */ trx id 506 lock mode IX | ||
1585 | 28 | # TABLE LOCK table `test`.`#sql-14021_2#P#p2` /* Partition `p2` */ trx id 506 lock mode IX | ||
1586 | 29 | # TABLE LOCK table `test`.`#sql-14021_2#P#p3` /* Partition `p3` */ trx id 506 lock mode IX | ||
1587 | 30 | # TABLE LOCK table `test`.`#sql-14021_2#P#p0` /* Partition `p0` */ trx id 506 lock mode IX | ||
1588 | 31 | # This cause segmentation fault because of incorrect handling of table names | ||
1589 | 32 | # which look like `#sql-14021_2#P#p0` | ||
1590 | 33 | --disable_result_log | ||
1591 | 34 | SHOW ENGINE INNODB STATUS; | ||
1592 | 35 | --enable_result_log | ||
1593 | 36 | SET DEBUG_SYNC='now SIGNAL show_innodb_status_done'; | ||
1594 | 37 | --connection default | ||
1595 | 38 | --reap | ||
1596 | 39 | |||
1597 | 40 | DROP TABLE t1; | ||
1598 | 0 | 41 | ||
1599 | === modified file 'Percona-Server/mysql-test/t/plugin_auth.test' | |||
1600 | --- Percona-Server/mysql-test/t/plugin_auth.test 2012-07-05 06:55:20 +0000 | |||
1601 | +++ Percona-Server/mysql-test/t/plugin_auth.test 2013-01-31 20:19:36 +0000 | |||
1602 | @@ -179,21 +179,35 @@ | |||
1603 | 179 | --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR | 179 | --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR |
1604 | 180 | GRANT PROXY ON grant_plug TO grant_plug_dest; | 180 | GRANT PROXY ON grant_plug TO grant_plug_dest; |
1605 | 181 | 181 | ||
1608 | 182 | --echo this should fail : same user, but on a different host | 182 | # Security context in THD contains two pairs of (user,host) |
1609 | 183 | --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR | 183 | # 1. (user,host) pair referring to inbound connection |
1610 | 184 | # 2. (priv_user,priv_host) pair obtained from mysql.user table after doing | ||
1611 | 185 | # authnetication of incoming connection. | ||
1612 | 186 | # Granting/revoking proxy privileges, privileges should be checked wrt | ||
1613 | 187 | # (priv_user, priv_host) tuple that is obtained from mysql.user table | ||
1614 | 188 | # Following is a valid grant because effective user of connection is | ||
1615 | 189 | # grant_plug_dest@% and statement is trying to grant proxy on the same | ||
1616 | 190 | # user. | ||
1617 | 191 | --echo This is a valid grant | ||
1618 | 184 | GRANT PROXY ON grant_plug_dest TO grant_plug; | 192 | GRANT PROXY ON grant_plug_dest TO grant_plug; |
1625 | 185 | 193 | REVOKE PROXY ON grant_plug_dest FROM grant_plug; | |
1626 | 186 | --echo this should work : same user | 194 | |
1627 | 187 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug_dest2; | 195 | --echo this should work : same user |
1628 | 188 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug_dest2; | 196 | GRANT PROXY ON grant_plug_dest TO grant_plug_dest2; |
1629 | 189 | 197 | REVOKE PROXY ON grant_plug_dest FROM grant_plug_dest2; | |
1630 | 190 | --echo this should work : same user | 198 | |
1631 | 199 | # grant_plug_dest@localhost is not the same as grant_plug_dest@% | ||
1632 | 200 | # so following grant/revoke should fail | ||
1633 | 201 | --echo this should fail : not the same user | ||
1634 | 202 | --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR | ||
1635 | 191 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION; | 203 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION; |
1636 | 204 | --echo this should fail : not the same user | ||
1637 | 205 | --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR | ||
1638 | 192 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug; | 206 | REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug; |
1639 | 193 | 207 | ||
1640 | 194 | --echo this should fail : can't create users | 208 | --echo this should fail : can't create users |
1641 | 195 | --error ER_CANT_CREATE_USER_WITH_GRANT | 209 | --error ER_CANT_CREATE_USER_WITH_GRANT |
1643 | 196 | GRANT PROXY ON grant_plug_dest@localhost TO grant_plug@localhost; | 210 | GRANT PROXY ON grant_plug_dest TO grant_plug@localhost; |
1644 | 197 | 211 | ||
1645 | 198 | connection default; | 212 | connection default; |
1646 | 199 | --echo in default connection | 213 | --echo in default connection |
1647 | 200 | 214 | ||
1648 | === modified file 'Percona-Server/mysql-test/t/show_check.test' | |||
1649 | --- Percona-Server/mysql-test/t/show_check.test 2012-04-18 23:26:11 +0000 | |||
1650 | +++ Percona-Server/mysql-test/t/show_check.test 2013-01-31 20:19:36 +0000 | |||
1651 | @@ -1371,3 +1371,17 @@ | |||
1652 | 1371 | --connection default | 1371 | --connection default |
1653 | 1372 | SET NAMES latin1; | 1372 | SET NAMES latin1; |
1654 | 1373 | 1373 | ||
1655 | 1374 | |||
1656 | 1375 | --echo # | ||
1657 | 1376 | --echo # WL#6454: Deprecate SHOW AUTHORS and SHOW CONTRIBUTORS | ||
1658 | 1377 | --echo # | ||
1659 | 1378 | |||
1660 | 1379 | --disable_result_log | ||
1661 | 1380 | SHOW AUTHORS; | ||
1662 | 1381 | --enable_result_log | ||
1663 | 1382 | SHOW WARNINGS; | ||
1664 | 1383 | |||
1665 | 1384 | --disable_result_log | ||
1666 | 1385 | SHOW CONTRIBUTORS; | ||
1667 | 1386 | --enable_result_log | ||
1668 | 1387 | SHOW WARNINGS; | ||
1669 | 1374 | 1388 | ||
1670 | === modified file 'Percona-Server/mysql-test/t/sp_notembedded.test' | |||
1671 | --- Percona-Server/mysql-test/t/sp_notembedded.test 2012-03-28 08:05:08 +0000 | |||
1672 | +++ Percona-Server/mysql-test/t/sp_notembedded.test 2013-01-31 20:19:36 +0000 | |||
1673 | @@ -475,14 +475,6 @@ | |||
1674 | 475 | DROP DATABASE `my.db`; | 475 | DROP DATABASE `my.db`; |
1675 | 476 | USE test; | 476 | USE test; |
1676 | 477 | 477 | ||
1677 | 478 | # | ||
1678 | 479 | # Restore global concurrent_insert value. Keep in the end of the test file. | ||
1679 | 480 | # | ||
1680 | 481 | |||
1681 | 482 | set @@global.concurrent_insert= @old_concurrent_insert; | ||
1682 | 483 | |||
1683 | 484 | # Wait till all disconnects are completed | ||
1684 | 485 | --source include/wait_until_count_sessions.inc | ||
1685 | 486 | 478 | ||
1686 | 487 | --echo # | 479 | --echo # |
1687 | 488 | --echo # Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE | 480 | --echo # Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE |
1688 | @@ -507,3 +499,13 @@ | |||
1689 | 507 | 499 | ||
1690 | 508 | DROP EVENT teste_bug11763507; | 500 | DROP EVENT teste_bug11763507; |
1691 | 509 | --echo #END OF BUG#11763507 test. | 501 | --echo #END OF BUG#11763507 test. |
1692 | 502 | |||
1693 | 503 | |||
1694 | 504 | # | ||
1695 | 505 | # Restore global concurrent_insert value. Keep in the end of the test file. | ||
1696 | 506 | # | ||
1697 | 507 | |||
1698 | 508 | set @@global.concurrent_insert= @old_concurrent_insert; | ||
1699 | 509 | |||
1700 | 510 | # Wait till all disconnects are completed | ||
1701 | 511 | --source include/wait_until_count_sessions.inc | ||
1702 | 510 | 512 | ||
1703 | === added directory 'Percona-Server/packaging/rpm-uln' | |||
1704 | === added file 'Percona-Server/packaging/rpm-uln/CMakeLists.txt' | |||
1705 | --- Percona-Server/packaging/rpm-uln/CMakeLists.txt 1970-01-01 00:00:00 +0000 | |||
1706 | +++ Percona-Server/packaging/rpm-uln/CMakeLists.txt 2013-01-31 20:19:36 +0000 | |||
1707 | @@ -0,0 +1,38 @@ | |||
1708 | 1 | # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. | ||
1709 | 2 | # | ||
1710 | 3 | # This program is free software; you can redistribute it and/or modify | ||
1711 | 4 | # it under the terms of the GNU General Public License as published by | ||
1712 | 5 | # the Free Software Foundation; version 2 of the License. | ||
1713 | 6 | # | ||
1714 | 7 | # This program is distributed in the hope that it will be useful, | ||
1715 | 8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1716 | 9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1717 | 10 | # GNU General Public License for more details. | ||
1718 | 11 | # | ||
1719 | 12 | # You should have received a copy of the GNU General Public License | ||
1720 | 13 | # along with this program; if not, write to the Free Software | ||
1721 | 14 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
1722 | 15 | |||
1723 | 16 | |||
1724 | 17 | IF(UNIX) | ||
1725 | 18 | SET(prefix ${CMAKE_INSTALL_PREFIX}) | ||
1726 | 19 | |||
1727 | 20 | SET(SPECFILENAME "mysql.${VERSION}.spec") | ||
1728 | 21 | IF("${VERSION}" MATCHES "-ndb-") | ||
1729 | 22 | STRING(REGEX REPLACE "^.*-ndb-" "" NDBVERSION "${VERSION}") | ||
1730 | 23 | SET(SPECFILENAME "mysql-cluster-${NDBVERSION}.spec") | ||
1731 | 24 | ENDIF() | ||
1732 | 25 | |||
1733 | 26 | # Left in current directory, to be taken during build | ||
1734 | 27 | CONFIGURE_FILE(mysql.spec.sh ${CMAKE_CURRENT_BINARY_DIR}/${SPECFILENAME} @ONLY) | ||
1735 | 28 | |||
1736 | 29 | FOREACH(ulnfile filter-requires-mysql.sh generate-tarball.sh my.cnf my_config.h | ||
1737 | 30 | mysql-5.5-errno.patch mysql-5.5-fix-tests.patch mysql-5.5-libdir.patch | ||
1738 | 31 | mysql-5.5-mtr1.patch mysql-5.5-stack-guard.patch mysql-5.5-testing.patch | ||
1739 | 32 | mysql-chain-certs.patch mysql-embedded-check.c mysql-expired-certs.patch | ||
1740 | 33 | mysql.init mysql-install-test.patch mysql-strmov.patch scriptstub.c | ||
1741 | 34 | README.mysql-docs) | ||
1742 | 35 | CONFIGURE_FILE(${ulnfile} ${CMAKE_CURRENT_BINARY_DIR}/${ulnfile} COPYONLY) | ||
1743 | 36 | ENDFOREACH() | ||
1744 | 37 | ENDIF() | ||
1745 | 38 | |||
1746 | 0 | 39 | ||
1747 | === added file 'Percona-Server/packaging/rpm-uln/README-ULN' | |||
1748 | --- Percona-Server/packaging/rpm-uln/README-ULN 1970-01-01 00:00:00 +0000 | |||
1749 | +++ Percona-Server/packaging/rpm-uln/README-ULN 2013-01-31 20:19:36 +0000 | |||
1750 | @@ -0,0 +1,15 @@ | |||
1751 | 1 | In order to have RPMs of MySQL which are distributed via ULN for Oracle Linux | ||
1752 | 2 | to be as closely compatible to such RPMs built and distributed by RedHat, | ||
1753 | 3 | this directory contains additional files which originated at RedHat | ||
1754 | 4 | and are used only for such RPMs intended for distribution via ULN. | ||
1755 | 5 | |||
1756 | 6 | Especially, this directory contains the spec file used to build these RPMs, | ||
1757 | 7 | named "mysql.spec". Please regard the following note: | ||
1758 | 8 | |||
1759 | 9 | You are receiving a copy of the Red Hat spec file. | ||
1760 | 10 | The terms of the Oracle license do NOT apply to the Red Hat spec file; | ||
1761 | 11 | it is licensed under the | ||
1762 | 12 | GNU GENERAL PUBLIC LICENSE Version 2, June 1991 | ||
1763 | 13 | separately from the Oracle programs you receive. | ||
1764 | 14 | |||
1765 | 15 | |||
1766 | 0 | 16 | ||
1767 | === added file 'Percona-Server/packaging/rpm-uln/README.mysql-docs' | |||
1768 | --- Percona-Server/packaging/rpm-uln/README.mysql-docs 1970-01-01 00:00:00 +0000 | |||
1769 | +++ Percona-Server/packaging/rpm-uln/README.mysql-docs 2013-01-31 20:19:36 +0000 | |||
1770 | @@ -0,0 +1,4 @@ | |||
1771 | 1 | The official MySQL documentation is not freely redistributable, so we cannot | ||
1772 | 2 | include it in RHEL or Fedora. You can find it on-line at | ||
1773 | 3 | |||
1774 | 4 | http://dev.mysql.com/doc/ | ||
1775 | 0 | 5 | ||
1776 | === added file 'Percona-Server/packaging/rpm-uln/filter-requires-mysql.sh' | |||
1777 | --- Percona-Server/packaging/rpm-uln/filter-requires-mysql.sh 1970-01-01 00:00:00 +0000 | |||
1778 | +++ Percona-Server/packaging/rpm-uln/filter-requires-mysql.sh 2013-01-31 20:19:36 +0000 | |||
1779 | @@ -0,0 +1,3 @@ | |||
1780 | 1 | #!/bin/sh | ||
1781 | 2 | |||
1782 | 3 | /usr/lib/rpm/perl.req $* | grep -v -e "perl(th" -e "perl(lib::mtr" -e "perl(mtr" | ||
1783 | 0 | 4 | ||
1784 | === added file 'Percona-Server/packaging/rpm-uln/generate-tarball.sh' | |||
1785 | --- Percona-Server/packaging/rpm-uln/generate-tarball.sh 1970-01-01 00:00:00 +0000 | |||
1786 | +++ Percona-Server/packaging/rpm-uln/generate-tarball.sh 2013-01-31 20:19:36 +0000 | |||
1787 | @@ -0,0 +1,15 @@ | |||
1788 | 1 | #!/bin/sh | ||
1789 | 2 | |||
1790 | 3 | VERSION=$1 | ||
1791 | 4 | |||
1792 | 5 | rm -rf mysql-$VERSION | ||
1793 | 6 | |||
1794 | 7 | tar xfz mysql-$VERSION.tar.gz || exit 1 | ||
1795 | 8 | |||
1796 | 9 | rm mysql-$VERSION/Docs/mysql.info | ||
1797 | 10 | |||
1798 | 11 | tar cfz mysql-$VERSION-nodocs.tar.gz mysql-$VERSION || exit 1 | ||
1799 | 12 | |||
1800 | 13 | rm -rf mysql-$VERSION | ||
1801 | 14 | |||
1802 | 15 | exit 0 | ||
1803 | 0 | 16 | ||
1804 | === added file 'Percona-Server/packaging/rpm-uln/my.cnf' | |||
1805 | --- Percona-Server/packaging/rpm-uln/my.cnf 1970-01-01 00:00:00 +0000 | |||
1806 | +++ Percona-Server/packaging/rpm-uln/my.cnf 2013-01-31 20:19:36 +0000 | |||
1807 | @@ -0,0 +1,10 @@ | |||
1808 | 1 | [mysqld] | ||
1809 | 2 | datadir=/var/lib/mysql | ||
1810 | 3 | socket=/var/lib/mysql/mysql.sock | ||
1811 | 4 | user=mysql | ||
1812 | 5 | # Disabling symbolic-links is recommended to prevent assorted security risks | ||
1813 | 6 | symbolic-links=0 | ||
1814 | 7 | |||
1815 | 8 | [mysqld_safe] | ||
1816 | 9 | log-error=/var/log/mysqld.log | ||
1817 | 10 | pid-file=/var/run/mysqld/mysqld.pid | ||
1818 | 0 | 11 | ||
1819 | === added file 'Percona-Server/packaging/rpm-uln/my_config.h' | |||
1820 | --- Percona-Server/packaging/rpm-uln/my_config.h 1970-01-01 00:00:00 +0000 | |||
1821 | +++ Percona-Server/packaging/rpm-uln/my_config.h 2013-01-31 20:19:36 +0000 | |||
1822 | @@ -0,0 +1,29 @@ | |||
1823 | 1 | /* | ||
1824 | 2 | * Kluge to support multilib installation of both 32- and 64-bit RPMS: | ||
1825 | 3 | * we need to arrange that header files that appear in both RPMs are | ||
1826 | 4 | * identical. Hence, this file is architecture-independent and calls | ||
1827 | 5 | * in an arch-dependent file that will appear in just one RPM. | ||
1828 | 6 | * | ||
1829 | 7 | * To avoid breaking arches not explicitly supported by Red Hat, we | ||
1830 | 8 | * use this indirection file *only* on known multilib arches. | ||
1831 | 9 | * | ||
1832 | 10 | * Note: this may well fail if user tries to use gcc's -I- option. | ||
1833 | 11 | * But that option is deprecated anyway. | ||
1834 | 12 | */ | ||
1835 | 13 | #if defined(__x86_64__) | ||
1836 | 14 | #include "my_config_x86_64.h" | ||
1837 | 15 | #elif defined(__i386__) | ||
1838 | 16 | #include "my_config_i386.h" | ||
1839 | 17 | #elif defined(__ppc64__) || defined(__powerpc64__) | ||
1840 | 18 | #include "my_config_ppc64.h" | ||
1841 | 19 | #elif defined(__ppc__) || defined(__powerpc__) | ||
1842 | 20 | #include "my_config_ppc.h" | ||
1843 | 21 | #elif defined(__s390x__) | ||
1844 | 22 | #include "my_config_s390x.h" | ||
1845 | 23 | #elif defined(__s390__) | ||
1846 | 24 | #include "my_config_s390.h" | ||
1847 | 25 | #elif defined(__sparc__) && defined(__arch64__) | ||
1848 | 26 | #include "my_config_sparc64.h" | ||
1849 | 27 | #elif defined(__sparc__) | ||
1850 | 28 | #include "my_config_sparc.h" | ||
1851 | 29 | #endif | ||
1852 | 0 | 30 | ||
1853 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-errno.patch' | |||
1854 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-errno.patch 1970-01-01 00:00:00 +0000 | |||
1855 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-errno.patch 2013-01-31 20:19:36 +0000 | |||
1856 | @@ -0,0 +1,21 @@ | |||
1857 | 1 | "extern int errno" is just a really bad idea. | ||
1858 | 2 | |||
1859 | 3 | |||
1860 | 4 | diff -Naur mysql-5.1.32.orig/include/my_sys.h mysql-5.1.32/include/my_sys.h | ||
1861 | 5 | --- mysql-5.1.32.orig/include/my_sys.h 2009-02-13 19:52:19.000000000 -0500 | ||
1862 | 6 | +++ mysql-5.1.32/include/my_sys.h 2009-03-04 18:08:40.000000000 -0500 | ||
1863 | 7 | @@ -199,13 +199,8 @@ | ||
1864 | 8 | #define my_afree(PTR) my_free(PTR) | ||
1865 | 9 | #endif /* HAVE_ALLOCA */ | ||
1866 | 10 | |||
1867 | 11 | -#ifndef errno /* did we already get it? */ | ||
1868 | 12 | -#ifdef HAVE_ERRNO_AS_DEFINE | ||
1869 | 13 | #include <errno.h> /* errno is a define */ | ||
1870 | 14 | -#else | ||
1871 | 15 | -extern int errno; /* declare errno */ | ||
1872 | 16 | -#endif | ||
1873 | 17 | -#endif /* #ifndef errno */ | ||
1874 | 18 | + | ||
1875 | 19 | extern char *home_dir; /* Home directory for user */ | ||
1876 | 20 | extern const char *my_progname; /* program-name (printed in errors) */ | ||
1877 | 21 | extern char curr_dir[]; /* Current directory for user */ | ||
1878 | 0 | 22 | ||
1879 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-fix-tests.patch' | |||
1880 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-fix-tests.patch 1970-01-01 00:00:00 +0000 | |||
1881 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-fix-tests.patch 2013-01-31 20:19:36 +0000 | |||
1882 | @@ -0,0 +1,34 @@ | |||
1883 | 1 | Adapt tests (where needed) to RedHat conventions. | ||
1884 | 2 | |||
1885 | 3 | 1) The RedHat convention uses the package name "mysql*" whereas upstream uses "MySQL*". | ||
1886 | 4 | Test "file_contents" constructs path names and needs to be adapted. | ||
1887 | 5 | |||
1888 | 6 | === modified file 'mysql-test/t/file_contents.test' | ||
1889 | 7 | --- mysql-5.5.17-orig/mysql-test/t/file_contents.test 2011-10-10 12:03:29 +0000 | ||
1890 | 8 | +++ mysql-5.5.17/mysql-test/t/file_contents.test 2011-11-16 18:07:55 +0000 | ||
1891 | 9 | @@ -17,20 +17,20 @@ if ($dir_bin =~ m|/usr/|) { | ||
1892 | 10 | $dir_docs =~ s|/lib|/share/doc|; | ||
1893 | 11 | if(-d "$dir_docs/packages") { | ||
1894 | 12 | # SuSE: "packages/" in the documentation path | ||
1895 | 13 | - $dir_docs = glob "$dir_docs/packages/MySQL-server*"; | ||
1896 | 14 | + $dir_docs = glob "$dir_docs/packages/mysql-server*"; | ||
1897 | 15 | } else { | ||
1898 | 16 | # RedHat: version number in directory name | ||
1899 | 17 | - $dir_docs = glob "$dir_docs/MySQL-server*"; | ||
1900 | 18 | + $dir_docs = glob "$dir_docs/mysql-server*"; | ||
1901 | 19 | } | ||
1902 | 20 | } elsif ($dir_bin =~ m|/usr$|) { | ||
1903 | 21 | # RPM build during development | ||
1904 | 22 | $dir_docs = "$dir_bin/share/doc"; | ||
1905 | 23 | if(-d "$dir_docs/packages") { | ||
1906 | 24 | # SuSE: "packages/" in the documentation path | ||
1907 | 25 | - $dir_docs = glob "$dir_docs/packages/MySQL-server*"; | ||
1908 | 26 | + $dir_docs = glob "$dir_docs/packages/mysql-server*"; | ||
1909 | 27 | } else { | ||
1910 | 28 | # RedHat: version number in directory name | ||
1911 | 29 | - $dir_docs = glob "$dir_docs/MySQL-server*"; | ||
1912 | 30 | + $dir_docs = glob "$dir_docs/mysql-server*"; | ||
1913 | 31 | } | ||
1914 | 32 | } else { | ||
1915 | 33 | # tar.gz package, Windows, or developer work (in BZR) | ||
1916 | 34 | |||
1917 | 0 | 35 | ||
1918 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-libdir.patch' | |||
1919 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-libdir.patch 1970-01-01 00:00:00 +0000 | |||
1920 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-libdir.patch 2013-01-31 20:19:36 +0000 | |||
1921 | @@ -0,0 +1,28 @@ | |||
1922 | 1 | The RPMs built by MySQL AB (-> Sun -> Oracle) put the libraries into "/usr/lib". | ||
1923 | 2 | Those built by RedHat put them into "/usr/lib/mysql". | ||
1924 | 3 | This patch is to modify the cmake files to follow the RedHat convention. | ||
1925 | 4 | Similar, the server is now in "/usr/libexec" (formerly "/usr/sbin"). | ||
1926 | 5 | |||
1927 | 6 | |||
1928 | 7 | diff -Naur mysql-5.5.17.orig/cmake/install_layout.cmake mysql-5.5.17/cmake/install_layout.cmake | ||
1929 | 8 | --- mysql-5.5.17.orig/cmake/install_layout.cmake 2011-06-30 15:46:53 +0000 | ||
1930 | 9 | +++ mysql-5.5.17/cmake/install_layout.cmake 2011-10-27 16:40:10 +0000 | ||
1931 | 10 | @@ -140,14 +140,14 @@ SET(INSTALL_SBINDIR_RPM | ||
1932 | 11 | # be applied at build time via "rpmbuild". | ||
1933 | 12 | # | ||
1934 | 13 | SET(INSTALL_BINDIR_RPM "bin") | ||
1935 | 14 | -SET(INSTALL_SBINDIR_RPM "sbin") | ||
1936 | 15 | +SET(INSTALL_SBINDIR_RPM "libexec") | ||
1937 | 16 | SET(INSTALL_SCRIPTDIR_RPM "bin") | ||
1938 | 17 | # | ||
1939 | 18 | IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") | ||
1940 | 19 | - SET(INSTALL_LIBDIR_RPM "lib64") | ||
1941 | 20 | + SET(INSTALL_LIBDIR_RPM "lib64/mysql") | ||
1942 | 21 | SET(INSTALL_PLUGINDIR_RPM "lib64/mysql/plugin") | ||
1943 | 22 | ELSE() | ||
1944 | 23 | - SET(INSTALL_LIBDIR_RPM "lib") | ||
1945 | 24 | + SET(INSTALL_LIBDIR_RPM "lib/mysql") | ||
1946 | 25 | SET(INSTALL_PLUGINDIR_RPM "lib/mysql/plugin") | ||
1947 | 26 | ENDIF() | ||
1948 | 27 | # | ||
1949 | 28 | |||
1950 | 0 | 29 | ||
1951 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-mtr1.patch' | |||
1952 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-mtr1.patch 1970-01-01 00:00:00 +0000 | |||
1953 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-mtr1.patch 2013-01-31 20:19:36 +0000 | |||
1954 | @@ -0,0 +1,25 @@ | |||
1955 | 1 | Drop support for version 1 of "mysql-test-run.pl" from the RPMs: | ||
1956 | 2 | |||
1957 | 3 | 1) The auto-generation of Perl dependencies will mishandle that code, | ||
1958 | 4 | probably because its run directory differs from its storage location. | ||
1959 | 5 | 2) It does not provide several variables which are used in tests of MySQL 5.5 | ||
1960 | 6 | |||
1961 | 7 | If you really need it, take it from the source tarball. | ||
1962 | 8 | |||
1963 | 9 | === modified file 'mysql-test/mysql-test-run.pl' | ||
1964 | 10 | --- mysql-5.5.17-orig/mysql-test/mysql-test-run.pl 2011-10-03 11:16:40 +0000 | ||
1965 | 11 | +++ mysql-5.5.17/mysql-test/mysql-test-run.pl 2011-11-16 19:06:38 +0000 | ||
1966 | 12 | @@ -58,10 +58,9 @@ BEGIN { | ||
1967 | 13 | if ( $version == 1 ) | ||
1968 | 14 | { | ||
1969 | 15 | print "=======================================================\n"; | ||
1970 | 16 | - print " WARNING: Using mysql-test-run.pl version 1! \n"; | ||
1971 | 17 | + print " ERROR: Support for version 1 is dropped in this distribution! \n"; | ||
1972 | 18 | print "=======================================================\n"; | ||
1973 | 19 | - # Should use exec() here on *nix but this appears not to work on Windows | ||
1974 | 20 | - exit(system($^X, "lib/v1/mysql-test-run.pl", @ARGV) >> 8); | ||
1975 | 21 | + exit(1); | ||
1976 | 22 | } | ||
1977 | 23 | elsif ( $version == 2 ) | ||
1978 | 24 | { | ||
1979 | 25 | |||
1980 | 0 | 26 | ||
1981 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-stack-guard.patch' | |||
1982 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-stack-guard.patch 1970-01-01 00:00:00 +0000 | |||
1983 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-stack-guard.patch 2013-01-31 20:19:36 +0000 | |||
1984 | @@ -0,0 +1,140 @@ | |||
1985 | 1 | mysql is not accounting for the "guard page" when setting thread stack size | ||
1986 | 2 | requests. This is fatal on PPC systems, which may use guard pages as large | ||
1987 | 3 | as 64K. This patch also documents the IA64 situation a bit better. | ||
1988 | 4 | |||
1989 | 5 | Note: there are quite a few other setstacksize calls besides the two in | ||
1990 | 6 | mysqld.cc; is it important to fix any of the others? | ||
1991 | 7 | |||
1992 | 8 | Filed upstream at http://bugs.mysql.com/bug.php?id=35019 | ||
1993 | 9 | |||
1994 | 10 | |||
1995 | 11 | diff -Naur mysql-5.1.30.orig/sql/mysqld.cc mysql-5.1.30/sql/mysqld.cc | ||
1996 | 12 | --- mysql-5.1.30.orig/sql/mysqld.cc 2008-11-14 11:37:13.000000000 -0500 | ||
1997 | 13 | +++ mysql-5.1.30/sql/mysqld.cc 2009-01-13 12:08:35.000000000 -0500 | ||
1998 | 14 | @@ -2653,6 +2653,70 @@ | ||
1999 | 15 | } | ||
2000 | 16 | |||
2001 | 17 | |||
2002 | 18 | +/* pthread_attr_setstacksize without so much platform-dependency */ | ||
2003 | 19 | +/* returns the actual stack size if possible */ | ||
2004 | 20 | +static size_t my_setstacksize(pthread_attr_t *attr, size_t stacksize) | ||
2005 | 21 | +{ | ||
2006 | 22 | + size_t guard_size = 0; | ||
2007 | 23 | + | ||
2008 | 24 | +#if defined(__ia64__) || defined(__ia64) | ||
2009 | 25 | + /* | ||
2010 | 26 | + On IA64, half of the requested stack size is used for "normal stack" | ||
2011 | 27 | + and half for "register stack". The space measured by check_stack_overrun | ||
2012 | 28 | + is the "normal stack", so double the request to make sure we have the | ||
2013 | 29 | + caller-expected amount of normal stack. | ||
2014 | 30 | + | ||
2015 | 31 | + NOTE: there is no guarantee that the register stack can't grow faster | ||
2016 | 32 | + than normal stack, so it's very unclear that we won't dump core due to | ||
2017 | 33 | + stack overrun despite check_stack_overrun's efforts. Experimentation | ||
2018 | 34 | + shows that in the execution_constants test, the register stack grows | ||
2019 | 35 | + less than half as fast as normal stack, but perhaps other scenarios are | ||
2020 | 36 | + less forgiving. If it turns out that more space is needed for the | ||
2021 | 37 | + register stack, that could be forced (rather inefficiently) by using a | ||
2022 | 38 | + multiplier higher than 2 here. | ||
2023 | 39 | + */ | ||
2024 | 40 | + stacksize *= 2; | ||
2025 | 41 | +#endif | ||
2026 | 42 | + | ||
2027 | 43 | + /* | ||
2028 | 44 | + On many machines, the "guard space" is subtracted from the requested | ||
2029 | 45 | + stack size, and that space is quite large on some platforms. So add | ||
2030 | 46 | + it to our request, if we can find out what it is. | ||
2031 | 47 | + | ||
2032 | 48 | + FIXME: autoconfiscate use of pthread_attr_getguardsize | ||
2033 | 49 | + */ | ||
2034 | 50 | + if (pthread_attr_getguardsize(attr, &guard_size)) | ||
2035 | 51 | + guard_size = 0; /* if can't find it out, treat as 0 */ | ||
2036 | 52 | + | ||
2037 | 53 | + pthread_attr_setstacksize(attr, stacksize + guard_size); | ||
2038 | 54 | + | ||
2039 | 55 | + /* Retrieve actual stack size if possible */ | ||
2040 | 56 | +#ifdef HAVE_PTHREAD_ATTR_GETSTACKSIZE | ||
2041 | 57 | + { | ||
2042 | 58 | + size_t real_stack_size= 0; | ||
2043 | 59 | + /* We must ignore real_stack_size = 0 as Solaris 2.9 can return 0 here */ | ||
2044 | 60 | + if (pthread_attr_getstacksize(attr, &real_stack_size) == 0 && | ||
2045 | 61 | + real_stack_size > guard_size) | ||
2046 | 62 | + { | ||
2047 | 63 | + real_stack_size -= guard_size; | ||
2048 | 64 | + if (real_stack_size < stacksize) | ||
2049 | 65 | + { | ||
2050 | 66 | + if (global_system_variables.log_warnings) | ||
2051 | 67 | + sql_print_warning("Asked for %ld thread stack, but got %ld", | ||
2052 | 68 | + (long) stacksize, (long) real_stack_size); | ||
2053 | 69 | + stacksize= real_stack_size; | ||
2054 | 70 | + } | ||
2055 | 71 | + } | ||
2056 | 72 | + } | ||
2057 | 73 | +#endif | ||
2058 | 74 | + | ||
2059 | 75 | +#if defined(__ia64__) || defined(__ia64) | ||
2060 | 76 | + stacksize /= 2; | ||
2061 | 77 | +#endif | ||
2062 | 78 | + return stacksize; | ||
2063 | 79 | +} | ||
2064 | 80 | + | ||
2065 | 81 | + | ||
2066 | 82 | static void start_signal_handler(void) | ||
2067 | 83 | { | ||
2068 | 84 | int error; | ||
2069 | 85 | @@ -2663,15 +2727,7 @@ | ||
2070 | 86 | #if !defined(HAVE_DEC_3_2_THREADS) | ||
2071 | 87 | pthread_attr_setscope(&thr_attr,PTHREAD_SCOPE_SYSTEM); | ||
2072 | 88 | (void) pthread_attr_setdetachstate(&thr_attr,PTHREAD_CREATE_DETACHED); | ||
2073 | 89 | -#if defined(__ia64__) || defined(__ia64) | ||
2074 | 90 | - /* | ||
2075 | 91 | - Peculiar things with ia64 platforms - it seems we only have half the | ||
2076 | 92 | - stack size in reality, so we have to double it here | ||
2077 | 93 | - */ | ||
2078 | 94 | - pthread_attr_setstacksize(&thr_attr,my_thread_stack_size*2); | ||
2079 | 95 | -#else | ||
2080 | 96 | - pthread_attr_setstacksize(&thr_attr,my_thread_stack_size); | ||
2081 | 97 | -#endif | ||
2082 | 98 | + (void) my_setstacksize(&thr_attr,my_thread_stack_size); | ||
2083 | 99 | #endif | ||
2084 | 100 | |||
2085 | 101 | mysql_mutex_lock(&LOCK_thread_count); | ||
2086 | 102 | @@ -4445,37 +4501,7 @@ | ||
2087 | 103 | unireg_abort(1); // Will do exit | ||
2088 | 104 | |||
2089 | 105 | init_signals(); | ||
2090 | 106 | -#if defined(__ia64__) || defined(__ia64) | ||
2091 | 107 | - /* | ||
2092 | 108 | - Peculiar things with ia64 platforms - it seems we only have half the | ||
2093 | 109 | - stack size in reality, so we have to double it here | ||
2094 | 110 | - */ | ||
2095 | 111 | - pthread_attr_setstacksize(&connection_attrib,my_thread_stack_size*2); | ||
2096 | 112 | -#else | ||
2097 | 113 | - pthread_attr_setstacksize(&connection_attrib,my_thread_stack_size); | ||
2098 | 114 | -#endif | ||
2099 | 115 | -#ifdef HAVE_PTHREAD_ATTR_GETSTACKSIZE | ||
2100 | 116 | - { | ||
2101 | 117 | - /* Retrieve used stack size; Needed for checking stack overflows */ | ||
2102 | 118 | - size_t stack_size= 0; | ||
2103 | 119 | - pthread_attr_getstacksize(&connection_attrib, &stack_size); | ||
2104 | 120 | -#if defined(__ia64__) || defined(__ia64) | ||
2105 | 121 | - stack_size/= 2; | ||
2106 | 122 | -#endif | ||
2107 | 123 | - /* We must check if stack_size = 0 as Solaris 2.9 can return 0 here */ | ||
2108 | 124 | - if (stack_size && stack_size < my_thread_stack_size) | ||
2109 | 125 | - { | ||
2110 | 126 | - if (global_system_variables.log_warnings) | ||
2111 | 127 | - sql_print_warning("Asked for %lu thread stack, but got %ld", | ||
2112 | 128 | - my_thread_stack_size, (long) stack_size); | ||
2113 | 129 | -#if defined(__ia64__) || defined(__ia64) | ||
2114 | 130 | - my_thread_stack_size= stack_size*2; | ||
2115 | 131 | -#else | ||
2116 | 132 | - my_thread_stack_size= stack_size; | ||
2117 | 133 | -#endif | ||
2118 | 134 | - } | ||
2119 | 135 | - } | ||
2120 | 136 | -#endif | ||
2121 | 137 | + my_thread_stack_size = my_setstacksize(&connection_attrib,my_thread_stack_size); | ||
2122 | 138 | |||
2123 | 139 | (void) thr_setconcurrency(concurrency); // 10 by default | ||
2124 | 140 | |||
2125 | 0 | 141 | ||
2126 | === added file 'Percona-Server/packaging/rpm-uln/mysql-5.5-testing.patch' | |||
2127 | --- Percona-Server/packaging/rpm-uln/mysql-5.5-testing.patch 1970-01-01 00:00:00 +0000 | |||
2128 | +++ Percona-Server/packaging/rpm-uln/mysql-5.5-testing.patch 2013-01-31 20:19:36 +0000 | |||
2129 | @@ -0,0 +1,23 @@ | |||
2130 | 1 | Hack the top-level Makefile to enable the openssl regression tests. | ||
2131 | 2 | (Why doesn't this happen automatically given the configure option??) | ||
2132 | 3 | |||
2133 | 4 | Also, increase the overall timeout for the regression tests to 12 hours, | ||
2134 | 5 | because on a slow or heavily-loaded build machine sometimes the default of | ||
2135 | 6 | 5 hours isn't enough. (This has been demonstrated to fail in mass-rebuild | ||
2136 | 7 | scenarios, which aren't that uncommon for Fedora.) Similarly increase the | ||
2137 | 8 | per-testcase timeout to 30 minutes, since the default of 15 hasn't got a | ||
2138 | 9 | great deal of headroom either. | ||
2139 | 10 | |||
2140 | 11 | |||
2141 | 12 | diff -Naur mysql-5.1.32.orig/Makefile.am mysql-5.1.32/Makefile.am | ||
2142 | 13 | --- mysql-5.1.32.orig/Makefile.am 2009-02-13 19:51:56.000000000 -0500 | ||
2143 | 14 | +++ mysql-5.1.32/Makefile.am 2009-03-04 18:12:36.000000000 -0500 | ||
2144 | 15 | @@ -98,7 +98,7 @@ | ||
2145 | 16 | |||
2146 | 17 | test-ns: | ||
2147 | 18 | cd mysql-test ; \ | ||
2148 | 19 | - @PERL@ ./mysql-test-run.pl $(force) $(mem) --mysqld=--binlog-format=mixed | ||
2149 | 20 | + @PERL@ ./mysql-test-run.pl $(force) $(mem) --ssl --mysqld=--binlog-format=mixed --suite-timeout=720 --testcase-timeout=30 | ||
2150 | 21 | |||
2151 | 22 | test-binlog-statement: | ||
2152 | 23 | cd mysql-test ; \ | ||
2153 | 0 | 24 | ||
2154 | === added file 'Percona-Server/packaging/rpm-uln/mysql-chain-certs.patch' | |||
2155 | --- Percona-Server/packaging/rpm-uln/mysql-chain-certs.patch 1970-01-01 00:00:00 +0000 | |||
2156 | +++ Percona-Server/packaging/rpm-uln/mysql-chain-certs.patch 2013-01-31 20:19:36 +0000 | |||
2157 | @@ -0,0 +1,45 @@ | |||
2158 | 1 | Fix things so that chains of certificates work in the server and client | ||
2159 | 2 | certificate files. | ||
2160 | 3 | |||
2161 | 4 | This only really works for OpenSSL-based builds, as yassl is unable to read | ||
2162 | 5 | multiple certificates from a file. The patch below to yassl/src/ssl.cpp | ||
2163 | 6 | doesn't fix that, but just arranges that the viosslfactories.c patch won't | ||
2164 | 7 | have any ill effects in a yassl build. Since we don't use yassl in Red Hat/ | ||
2165 | 8 | Fedora builds, I'm not feeling motivated to try to fix yassl for this. | ||
2166 | 9 | |||
2167 | 10 | See RH bug #598656. Filed upstream at http://bugs.mysql.com/bug.php?id=54158 | ||
2168 | 11 | |||
2169 | 12 | === | ||
2170 | 13 | |||
2171 | 14 | Joerg Bruehe, MySQL Build Team at Oracle: First patch adapted to code changes in MySQL 5.5 | ||
2172 | 15 | |||
2173 | 16 | |||
2174 | 17 | diff -Naur mysql-5.5.29.orig/vio/viosslfactories.c mysql-5.5.29/vio/viosslfactories.c | ||
2175 | 18 | --- mysql-5.5.29.orig/vio/viosslfactories.c 2010-05-06 11:28:07.000000000 -0400 | ||
2176 | 19 | +++ mysql-5.5.29/vio/viosslfactories.c 2010-05-26 23:23:46.000000000 -0400 | ||
2177 | 20 | @@ -106,7 +106,7 @@ | ||
2178 | 21 | key_file= cert_file; | ||
2179 | 22 | |||
2180 | 23 | if (cert_file && | ||
2181 | 24 | - SSL_CTX_use_certificate_file(ctx, cert_file, SSL_FILETYPE_PEM) <= 0) | ||
2182 | 25 | + SSL_CTX_use_certificate_chain_file(ctx, cert_file) <= 0) | ||
2183 | 26 | { | ||
2184 | 27 | *error= SSL_INITERR_CERT; | ||
2185 | 28 | DBUG_PRINT("error",("%s from file '%s'", sslGetErrString(*error), cert_file)); | ||
2186 | 29 | diff -Naur mysql-5.1.47.orig/extra/yassl/src/ssl.cpp mysql-5.1.47/extra/yassl/src/ssl.cpp | ||
2187 | 30 | --- mysql-5.1.47.orig/extra/yassl/src/ssl.cpp 2010-05-06 11:24:26.000000000 -0400 | ||
2188 | 31 | +++ mysql-5.1.47/extra/yassl/src/ssl.cpp 2010-05-26 23:29:13.000000000 -0400 | ||
2189 | 32 | @@ -1606,10 +1606,10 @@ | ||
2190 | 33 | } | ||
2191 | 34 | |||
2192 | 35 | |||
2193 | 36 | - int SSL_CTX_use_certificate_chain_file(SSL_CTX*, const char*) | ||
2194 | 37 | + int SSL_CTX_use_certificate_chain_file(SSL_CTX* ctx, const char* file) | ||
2195 | 38 | { | ||
2196 | 39 | - // TDOD: | ||
2197 | 40 | - return SSL_SUCCESS; | ||
2198 | 41 | + // For the moment, treat like use_certificate_file | ||
2199 | 42 | + return read_file(ctx, file, SSL_FILETYPE_PEM, Cert); | ||
2200 | 43 | } | ||
2201 | 44 | |||
2202 | 45 | |||
2203 | 0 | 46 | ||
2204 | === added file 'Percona-Server/packaging/rpm-uln/mysql-embedded-check.c' | |||
2205 | --- Percona-Server/packaging/rpm-uln/mysql-embedded-check.c 1970-01-01 00:00:00 +0000 | |||
2206 | +++ Percona-Server/packaging/rpm-uln/mysql-embedded-check.c 2013-01-31 20:19:36 +0000 | |||
2207 | @@ -0,0 +1,26 @@ | |||
2208 | 1 | /* simple test program to see if we can link the embedded server library */ | ||
2209 | 2 | |||
2210 | 3 | #include <stdio.h> | ||
2211 | 4 | #include <stdlib.h> | ||
2212 | 5 | #include <stdarg.h> | ||
2213 | 6 | |||
2214 | 7 | #include "mysql.h" | ||
2215 | 8 | |||
2216 | 9 | MYSQL *mysql; | ||
2217 | 10 | |||
2218 | 11 | static char *server_options[] = \ | ||
2219 | 12 | { "mysql_test", "--defaults-file=my.cnf", NULL }; | ||
2220 | 13 | int num_elements = (sizeof(server_options) / sizeof(char *)) - 1; | ||
2221 | 14 | |||
2222 | 15 | static char *server_groups[] = { "libmysqld_server", | ||
2223 | 16 | "libmysqld_client", NULL }; | ||
2224 | 17 | |||
2225 | 18 | int main(int argc, char **argv) | ||
2226 | 19 | { | ||
2227 | 20 | mysql_library_init(num_elements, server_options, server_groups); | ||
2228 | 21 | mysql = mysql_init(NULL); | ||
2229 | 22 | mysql_close(mysql); | ||
2230 | 23 | mysql_library_end(); | ||
2231 | 24 | |||
2232 | 25 | return 0; | ||
2233 | 26 | } | ||
2234 | 0 | 27 | ||
2235 | === added file 'Percona-Server/packaging/rpm-uln/mysql-expired-certs.patch' | |||
2236 | --- Percona-Server/packaging/rpm-uln/mysql-expired-certs.patch 1970-01-01 00:00:00 +0000 | |||
2237 | +++ Percona-Server/packaging/rpm-uln/mysql-expired-certs.patch 2013-01-31 20:19:36 +0000 | |||
2238 | @@ -0,0 +1,555 @@ | |||
2239 | 1 | Upstream insists on generating SSL testing certificates with relatively short | ||
2240 | 2 | lifespan, which has repeatedly caused problems (ie, one day the regression | ||
2241 | 3 | tests suddenly stop working). Replace them with certificates with 20-year | ||
2242 | 4 | lifespan. We should periodically regenerate these, too, but at least not | ||
2243 | 5 | very often. | ||
2244 | 6 | |||
2245 | 7 | |||
2246 | 8 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/cacert.pem mysql-5.1.50/mysql-test/std_data/cacert.pem | ||
2247 | 9 | --- mysql-5.1.50.orig/mysql-test/std_data/cacert.pem 2010-08-03 13:55:04.000000000 -0400 | ||
2248 | 10 | +++ mysql-5.1.50/mysql-test/std_data/cacert.pem 2010-08-27 23:42:05.751428144 -0400 | ||
2249 | 11 | @@ -1,17 +1,22 @@ | ||
2250 | 12 | -----BEGIN CERTIFICATE----- | ||
2251 | 13 | -MIICrTCCAhagAwIBAgIJAMI7xZKjhrDbMA0GCSqGSIb3DQEBBAUAMEQxCzAJBgNV | ||
2252 | 14 | +MIIDsjCCApqgAwIBAgIJAL5YrUwfPSWVMA0GCSqGSIb3DQEBBQUAMEQxCzAJBgNV | ||
2253 | 15 | BAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxhMREwDwYD | ||
2254 | 16 | -VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkxMTQ3MTBaFw0xNTAxMjgxMTQ3MTBaMEQx | ||
2255 | 17 | +VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkwNTU5NTNaFw0xNTAxMjgwNTU5NTNaMEQx | ||
2256 | 18 | CzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxh | ||
2257 | 19 | -MREwDwYDVQQKEwhNeVNRTCBBQjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA | ||
2258 | 20 | -wQYsOEfrN4ESP3FjsI8cghE+tZVuyK2gck61lwieVxjgFMtBd65mI5a1y9pmlOI1 | ||
2259 | 21 | -yM4SB2Ppqcuw7/e1CdV1y7lvHrGNt5yqEHbN4QX1gvsN8TQauP/2WILturk4R4Hq | ||
2260 | 22 | -rKg0ZySu7f1Xhl0ed9a48LpaEHD17IcxWEGMMJwAxF0CAwEAAaOBpjCBozAMBgNV | ||
2261 | 23 | -HRMEBTADAQH/MB0GA1UdDgQWBBSvktYQ0ahLnyxyVKqty+WpBbBrDTB0BgNVHSME | ||
2262 | 24 | -bTBrgBSvktYQ0ahLnyxyVKqty+WpBbBrDaFIpEYwRDELMAkGA1UEBhMCU0UxEDAO | ||
2263 | 25 | -BgNVBAgTB1VwcHNhbGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FM | ||
2264 | 26 | -IEFCggkAwjvFkqOGsNswDQYJKoZIhvcNAQEEBQADgYEAdKN1PjwMHAKG2Ww1145g | ||
2265 | 27 | -JQGBnKxSFOUaoSvkBi/4ntTM+ysnViWh7WvxyWjR9zU9arfr7aqsDeQxm0XDOqzj | ||
2266 | 28 | -AQ/cQIla2/Li8tXyfc06bisH/IHRaSc2zWqioTKbEwMdVOdrvq4a8V8ic3xYyIWn | ||
2267 | 29 | -7F4WeS07J8LKardSvM0+hOA= | ||
2268 | 30 | +MREwDwYDVQQKEwhNeVNRTCBBQjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC | ||
2269 | 31 | +ggEBAL6kNN4peX7uhK9rb06W/QbPEpVuejmdWdl2PqMshP/eSuXXw7kwVgfpxx9R | ||
2270 | 32 | +vC000CKQQSG9MCoZjtqPnFRsetmWLZgApRpEalGXTXJqq9sEbCfoFizg94U8G7d2 | ||
2271 | 33 | +u5XJjLVmcG34ru36KoBgVx1zeH1puBAf8dOzrE4L7Y+ZQBFzFohjh8C2LqWC4nM5 | ||
2272 | 34 | +qsLmOkDWMipGqYU5DvkKjIbTbwTyRNRgZHWSPfVDDPUIUOsY4BGUp2DpgeGY9aEv | ||
2273 | 35 | +lIs57Ev9JqlIUCV65lOhhDkG+xwmkHKHA+ECEU9cALI8+uXbh48MB9XpMOuk408X | ||
2274 | 36 | +/lX89aZwD0/G9kmObVGnE2G+H5UCAwEAAaOBpjCBozAdBgNVHQ4EFgQUsft+d7VA | ||
2275 | 37 | +jWgRftkR5cPG2k2sUbAwdAYDVR0jBG0wa4AUsft+d7VAjWgRftkR5cPG2k2sUbCh | ||
2276 | 38 | +SKRGMEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdV | ||
2277 | 39 | +cHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMAwGA1UdEwQFMAMB | ||
2278 | 40 | +Af8wDQYJKoZIhvcNAQEFBQADggEBALRUOAmdL8R8sl1y8kiEiFgDatdXK5RDqWai | ||
2279 | 41 | +8yZChfmwTIToHhmQsOEshJe2e8hky3huUj+33VyXjINoMbebIwMuXPwEkbJal8RZ | ||
2280 | 42 | +nSJmF0jN1Qz7J/jFffwK9xmejWZJx49Kt2+Qwrwp6kDeq9TLFqQOoVczgyJPYsTL | ||
2281 | 43 | +NAOib5WqTud3XWvCwxrhqmWu7JZq6sp1fomP/uunprb8y2miWfLESZN2mKAhm44Q | ||
2282 | 44 | +Lws867LT8v2lskEjq2dT1LutD5+R66XcdjgSr0uDziDs64jZwCD6ea94hVFM7ej0 | ||
2283 | 45 | +ZOXYeSEZJ56FjUxu632e9fY8NyMh30yKjjmQf1mM9PuGJvdvsWU= | ||
2284 | 46 | -----END CERTIFICATE----- | ||
2285 | 47 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/client-cert.pem mysql-5.1.50/mysql-test/std_data/client-cert.pem | ||
2286 | 48 | --- mysql-5.1.50.orig/mysql-test/std_data/client-cert.pem 2010-08-03 13:55:04.000000000 -0400 | ||
2287 | 49 | +++ mysql-5.1.50/mysql-test/std_data/client-cert.pem 2010-08-27 23:42:05.752428395 -0400 | ||
2288 | 50 | @@ -1,46 +1,69 @@ | ||
2289 | 51 | Certificate: | ||
2290 | 52 | Data: | ||
2291 | 53 | - Version: 1 (0x0) | ||
2292 | 54 | - Serial Number: 1048577 (0x100001) | ||
2293 | 55 | - Signature Algorithm: md5WithRSAEncryption | ||
2294 | 56 | + Version: 3 (0x2) | ||
2295 | 57 | + Serial Number: 6 (0x6) | ||
2296 | 58 | + Signature Algorithm: sha1WithRSAEncryption | ||
2297 | 59 | Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB | ||
2298 | 60 | Validity | ||
2299 | 61 | - Not Before: Jan 29 11:50:22 2010 GMT | ||
2300 | 62 | - Not After : Jan 28 11:50:22 2015 GMT | ||
2301 | 63 | + Not Before: Feb 20 03:03:26 2010 GMT | ||
2302 | 64 | + Not After : Sep 3 03:03:26 2030 GMT | ||
2303 | 65 | Subject: C=SE, ST=Uppsala, O=MySQL AB | ||
2304 | 66 | Subject Public Key Info: | ||
2305 | 67 | Public Key Algorithm: rsaEncryption | ||
2306 | 68 | - Public-Key: (1024 bit) | ||
2307 | 69 | - Modulus: | ||
2308 | 70 | - 00:cc:9a:37:49:13:66:dc:cf:e3:0b:13:a1:23:ed: | ||
2309 | 71 | - 78:db:4e:bd:11:f6:8c:0d:76:f9:a3:32:56:9a:f8: | ||
2310 | 72 | - a1:21:6a:55:4e:4d:3f:e6:67:9d:26:99:b2:cd:a4: | ||
2311 | 73 | - 9a:d2:2b:59:5c:d7:8a:d3:60:68:f8:18:bd:c5:be: | ||
2312 | 74 | - 15:e1:2a:3c:a3:d4:61:cb:f5:11:94:17:81:81:f7: | ||
2313 | 75 | - 87:8c:f6:6a:d2:ee:d8:e6:77:f6:62:66:4d:2e:16: | ||
2314 | 76 | - 8d:08:81:4a:c9:c6:4b:31:e5:b9:c7:8a:84:96:48: | ||
2315 | 77 | - a7:47:8c:0d:26:90:56:4e:e6:a5:6e:8c:b3:f2:9f: | ||
2316 | 78 | - fc:3d:78:9b:49:6e:86:83:77 | ||
2317 | 79 | + RSA Public Key: (1024 bit) | ||
2318 | 80 | + Modulus (1024 bit): | ||
2319 | 81 | + 00:c2:e7:20:cf:89:59:2f:67:cb:4c:9f:e8:11:f2: | ||
2320 | 82 | + 23:e5:f1:b1:ee:3f:66:5f:c3:f5:fd:1e:31:ee:8f: | ||
2321 | 83 | + 4c:2a:bd:c0:4a:a5:9f:c8:44:d5:77:8f:15:1b:4d: | ||
2322 | 84 | + 78:6e:b2:a2:48:a5:24:33:05:40:02:b3:c1:87:8d: | ||
2323 | 85 | + 59:3c:1a:07:aa:86:f0:04:e1:9c:20:4b:22:32:c4: | ||
2324 | 86 | + 51:9e:40:e4:31:c3:57:f5:98:bf:2e:b1:fd:2c:56: | ||
2325 | 87 | + bf:49:d9:9b:e7:17:cc:95:5f:b5:08:19:5e:9d:df: | ||
2326 | 88 | + 65:22:39:2c:48:fb:69:96:31:7a:35:4d:de:60:b4: | ||
2327 | 89 | + c1:60:19:5f:96:56:7e:55:19 | ||
2328 | 90 | Exponent: 65537 (0x10001) | ||
2329 | 91 | - Signature Algorithm: md5WithRSAEncryption | ||
2330 | 92 | - 5e:1f:a3:53:5f:24:13:1c:f8:28:32:b0:7f:69:69:f3:0e:c0: | ||
2331 | 93 | - 34:87:10:03:7d:da:15:8b:bd:19:b8:1a:56:31:e7:85:49:81: | ||
2332 | 94 | - c9:7f:45:20:74:3e:89:c0:e0:26:84:51:cc:04:16:ce:69:99: | ||
2333 | 95 | - 01:e1:26:99:b3:e3:f5:bd:ec:5f:a0:84:e4:38:da:75:78:7b: | ||
2334 | 96 | - 89:9c:d2:cd:60:95:20:ba:8e:e3:7c:e6:df:76:3a:7c:89:77: | ||
2335 | 97 | - 02:94:86:11:3a:c4:61:7d:6f:71:83:21:8a:17:fb:17:e2:ee: | ||
2336 | 98 | - 02:6b:61:c1:b4:52:63:d7:d8:46:b2:c5:9c:6f:38:91:8a:35: | ||
2337 | 99 | - 32:0b | ||
2338 | 100 | + X509v3 extensions: | ||
2339 | 101 | + X509v3 Basic Constraints: | ||
2340 | 102 | + CA:FALSE | ||
2341 | 103 | + X509v3 Subject Key Identifier: | ||
2342 | 104 | + 8D:10:67:91:33:76:9C:02:E5:78:5D:D8:C5:EF:25:96:B2:D7:FA:1F | ||
2343 | 105 | + X509v3 Authority Key Identifier: | ||
2344 | 106 | + keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0 | ||
2345 | 107 | + DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB | ||
2346 | 108 | + serial:BE:58:AD:4C:1F:3D:25:95 | ||
2347 | 109 | + | ||
2348 | 110 | + Signature Algorithm: sha1WithRSAEncryption | ||
2349 | 111 | + a9:88:10:3e:5d:2a:47:29:c8:03:27:7a:31:5a:8e:10:03:bc: | ||
2350 | 112 | + b5:4e:37:1d:12:7b:eb:5f:50:71:70:b1:a3:8e:93:0e:77:17: | ||
2351 | 113 | + 6c:47:b6:c9:a4:4d:2a:c4:38:f0:61:55:b2:7f:28:ba:06:79: | ||
2352 | 114 | + ee:67:11:7d:d4:c9:7f:0a:18:c8:c1:cb:d0:2c:f9:63:0f:bb: | ||
2353 | 115 | + 45:ca:de:ea:bb:ac:00:01:52:48:36:2b:07:2b:c8:46:c7:b1: | ||
2354 | 116 | + 21:81:bd:77:39:e7:4c:39:aa:bd:ac:60:d8:a7:bf:cf:14:98: | ||
2355 | 117 | + 4a:0b:a1:40:55:06:8d:6f:35:a9:39:a0:71:a9:97:ba:7c:73: | ||
2356 | 118 | + 3c:41:ba:c5:1c:11:4b:2b:43:1d:2d:ba:7b:5f:14:b5:3d:64: | ||
2357 | 119 | + 62:15:36:b4:16:bd:78:c8:43:8d:f9:1c:a5:d2:ac:a1:58:74: | ||
2358 | 120 | + e1:99:de:ad:04:19:43:a8:bd:0a:fd:19:9b:50:44:46:6d:18: | ||
2359 | 121 | + 55:4d:bf:b4:5b:a4:93:62:c7:64:91:6c:54:34:d1:f8:f3:ff: | ||
2360 | 122 | + 12:6d:5f:85:e7:35:9e:5c:42:81:5e:fb:c8:bb:44:51:98:b2: | ||
2361 | 123 | + ef:1b:9f:5a:22:77:28:7d:da:fb:08:c2:94:9a:0f:42:08:93: | ||
2362 | 124 | + 54:10:1e:ad:f2:4f:fc:62:98:51:e9:9b:b9:3a:93:d9:e4:1f: | ||
2363 | 125 | + 1d:c4:76:d0 | ||
2364 | 126 | -----BEGIN CERTIFICATE----- | ||
2365 | 127 | -MIIB5zCCAVACAxAAATANBgkqhkiG9w0BAQQFADBEMQswCQYDVQQGEwJTRTEQMA4G | ||
2366 | 128 | -A1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwg | ||
2367 | 129 | -QUIwHhcNMTAwMTI5MTE1MDIyWhcNMTUwMTI4MTE1MDIyWjAyMQswCQYDVQQGEwJT | ||
2368 | 130 | -RTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIwgZ8wDQYJKoZI | ||
2369 | 131 | -hvcNAQEBBQADgY0AMIGJAoGBAMyaN0kTZtzP4wsToSPteNtOvRH2jA12+aMyVpr4 | ||
2370 | 132 | -oSFqVU5NP+ZnnSaZss2kmtIrWVzXitNgaPgYvcW+FeEqPKPUYcv1EZQXgYH3h4z2 | ||
2371 | 133 | -atLu2OZ39mJmTS4WjQiBSsnGSzHluceKhJZIp0eMDSaQVk7mpW6Ms/Kf/D14m0lu | ||
2372 | 134 | -hoN3AgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAXh+jU18kExz4KDKwf2lp8w7ANIcQ | ||
2373 | 135 | -A33aFYu9GbgaVjHnhUmByX9FIHQ+icDgJoRRzAQWzmmZAeEmmbPj9b3sX6CE5Dja | ||
2374 | 136 | -dXh7iZzSzWCVILqO43zm33Y6fIl3ApSGETrEYX1vcYMhihf7F+LuAmthwbRSY9fY | ||
2375 | 137 | -RrLFnG84kYo1Mgs= | ||
2376 | 138 | +MIIDETCCAfmgAwIBAgIBBjANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ | ||
2377 | 139 | +MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT | ||
2378 | 140 | +UUwgQUIwHhcNMTAwMjIwMDMwMzI2WhcNMzAwOTAzMDMwMzI2WjAyMQswCQYDVQQG | ||
2379 | 141 | +EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIwgZ8wDQYJ | ||
2380 | 142 | +KoZIhvcNAQEBBQADgY0AMIGJAoGBAMLnIM+JWS9ny0yf6BHyI+Xxse4/Zl/D9f0e | ||
2381 | 143 | +Me6PTCq9wEqln8hE1XePFRtNeG6yokilJDMFQAKzwYeNWTwaB6qG8AThnCBLIjLE | ||
2382 | 144 | +UZ5A5DHDV/WYvy6x/SxWv0nZm+cXzJVftQgZXp3fZSI5LEj7aZYxejVN3mC0wWAZ | ||
2383 | 145 | +X5ZWflUZAgMBAAGjgaMwgaAwCQYDVR0TBAIwADAdBgNVHQ4EFgQUjRBnkTN2nALl | ||
2384 | 146 | +eF3Yxe8llrLX+h8wdAYDVR0jBG0wa4AUsft+d7VAjWgRftkR5cPG2k2sUbChSKRG | ||
2385 | 147 | +MEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBz | ||
2386 | 148 | +YWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMA0GCSqGSIb3DQEBBQUA | ||
2387 | 149 | +A4IBAQCpiBA+XSpHKcgDJ3oxWo4QA7y1TjcdEnvrX1BxcLGjjpMOdxdsR7bJpE0q | ||
2388 | 150 | +xDjwYVWyfyi6BnnuZxF91Ml/ChjIwcvQLPljD7tFyt7qu6wAAVJINisHK8hGx7Eh | ||
2389 | 151 | +gb13OedMOaq9rGDYp7/PFJhKC6FAVQaNbzWpOaBxqZe6fHM8QbrFHBFLK0MdLbp7 | ||
2390 | 152 | +XxS1PWRiFTa0Fr14yEON+Ryl0qyhWHThmd6tBBlDqL0K/RmbUERGbRhVTb+0W6ST | ||
2391 | 153 | +YsdkkWxUNNH48/8SbV+F5zWeXEKBXvvIu0RRmLLvG59aIncofdr7CMKUmg9CCJNU | ||
2392 | 154 | +EB6t8k/8YphR6Zu5OpPZ5B8dxHbQ | ||
2393 | 155 | -----END CERTIFICATE----- | ||
2394 | 156 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/client-key.pem mysql-5.1.50/mysql-test/std_data/client-key.pem | ||
2395 | 157 | --- mysql-5.1.50.orig/mysql-test/std_data/client-key.pem 2010-08-03 13:55:05.000000000 -0400 | ||
2396 | 158 | +++ mysql-5.1.50/mysql-test/std_data/client-key.pem 2010-08-27 23:42:05.752428395 -0400 | ||
2397 | 159 | @@ -1,15 +1,15 @@ | ||
2398 | 160 | -----BEGIN RSA PRIVATE KEY----- | ||
2399 | 161 | -MIICXQIBAAKBgQDMmjdJE2bcz+MLE6Ej7XjbTr0R9owNdvmjMlaa+KEhalVOTT/m | ||
2400 | 162 | -Z50mmbLNpJrSK1lc14rTYGj4GL3FvhXhKjyj1GHL9RGUF4GB94eM9mrS7tjmd/Zi | ||
2401 | 163 | -Zk0uFo0IgUrJxksx5bnHioSWSKdHjA0mkFZO5qVujLPyn/w9eJtJboaDdwIDAQAB | ||
2402 | 164 | -AoGASqk/4We2En+93y3jkIO4pXafIe3w/3zZ7caRue1ehx4RUQh5d+95djuB9u7J | ||
2403 | 165 | -HEZ7TpjM7QNyao5EueL6gvbxt0LXFvqAMni7yM9tt/HUYtHHPqYiRtUny9bKYFTm | ||
2404 | 166 | -l8szCCMal/wD9GZU9ByHDNHm7tHUMyMhARNTYSgx+SERFmECQQD/6jJocC4SXf6f | ||
2405 | 167 | -T3LqimWR02lbJ7qCoDgRglsUXh0zjrG+IIiAyE+QOCCx1GMe3Uw6bsIuYwdHT6as | ||
2406 | 168 | -WcdPs04xAkEAzKulvEvLVvN5zfa/DTYRTV7jh6aDleOxjsD5oN/oJXoACnPzVuUL | ||
2407 | 169 | -qQQMNtuAXm6Q1QItrRxpQsSKbY0UQka6JwJBAOSgoNoG5lIIYTKIMvzwGV+XBLeo | ||
2408 | 170 | -HYsXgh+6Wo4uql3mLErUG78ZtWL9kc/tE4R+ZdyKGLaCR/1gXmH5bwN4B/ECQEBb | ||
2409 | 171 | -uUH8k3REG4kojesZlVc+/00ojzgS4UKCa/yqa9VdB6ZBz8MDQydinnShkTwgiGpy | ||
2410 | 172 | -xOoqhO753o2UT0qH8wECQQC99IEJWUnwvExVMkLaZH5NjAFJkb22sjkmuT11tAgU | ||
2411 | 173 | -RQgOMoDOm6driojnOnDWOkx1r1Gy9NgMLooduja4v6cx | ||
2412 | 174 | +MIICWwIBAAKBgQDC5yDPiVkvZ8tMn+gR8iPl8bHuP2Zfw/X9HjHuj0wqvcBKpZ/I | ||
2413 | 175 | +RNV3jxUbTXhusqJIpSQzBUACs8GHjVk8GgeqhvAE4ZwgSyIyxFGeQOQxw1f1mL8u | ||
2414 | 176 | +sf0sVr9J2ZvnF8yVX7UIGV6d32UiOSxI+2mWMXo1Td5gtMFgGV+WVn5VGQIDAQAB | ||
2415 | 177 | +AoGARXcXLKDpVooJ3W+IyQyiWsw//IhANpWjUOm4JiyQmxMyO+i4ACr4Yjpu7WI5 | ||
2416 | 178 | +MEseqAGj20NdwxjKO0PXsCIe5LmrGZ+SI8+CSERFOWXWRtCWz7y7SG30i1k6suvM | ||
2417 | 179 | +mwqWom0tJLwn93uA1lm/WSwKQwUrJRahRQd3EaZqrl7DP5kCQQD/8gbuYAT5pxQe | ||
2418 | 180 | +ULLGM0RvEsXxDYbEDxNbY5wrBazfklBwpumxZpFl6jEAT++7Kh2Ns3A7kB1oUNlA | ||
2419 | 181 | +FPYr+dYPAkEAwvHEwRtoyUr8jqoqVVJWI76CDmBjEOzVeMKW97ztqbs2LxZW8dYI | ||
2420 | 182 | +iOh/myFGpdoUwgu0U8w9MmXcj3ZeZCYKVwJALyQ+AJPw9qa+fuLwOq9gsHCtwrty | ||
2421 | 183 | +EhSQxSlwrz/pWniRll439vPkXfgntF4E0t1r+hiN2Hqv3/HcQgBaYzkuIwJAG023 | ||
2422 | 184 | +bACFxaOuCeFFepvEms8E8jSHy4gQQhCnCl24v8wLw76SQN7kZSCDNtwLRBFuVNtE | ||
2423 | 185 | +z3PMonFn2eQPRmGZkwJAP1c1BHprMQx/ruafdscROILv3JrH40C1bR6KVVBKt1dK | ||
2424 | 186 | +Qpnpgi7hK5rUQjDF8k3bn9ugTt06jyeHe/QhAml0kg== | ||
2425 | 187 | -----END RSA PRIVATE KEY----- | ||
2426 | 188 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server-cert.pem mysql-5.1.50/mysql-test/std_data/server-cert.pem | ||
2427 | 189 | --- mysql-5.1.50.orig/mysql-test/std_data/server-cert.pem 2010-08-03 13:55:08.000000000 -0400 | ||
2428 | 190 | +++ mysql-5.1.50/mysql-test/std_data/server-cert.pem 2010-08-27 23:42:05.753428361 -0400 | ||
2429 | 191 | @@ -1,41 +1,69 @@ | ||
2430 | 192 | Certificate: | ||
2431 | 193 | Data: | ||
2432 | 194 | - Version: 1 (0x0) | ||
2433 | 195 | - Serial Number: 1048578 (0x100002) | ||
2434 | 196 | - Signature Algorithm: md5WithRSAEncryption | ||
2435 | 197 | + Version: 3 (0x2) | ||
2436 | 198 | + Serial Number: 4 (0x4) | ||
2437 | 199 | + Signature Algorithm: sha1WithRSAEncryption | ||
2438 | 200 | Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB | ||
2439 | 201 | Validity | ||
2440 | 202 | - Not Before: Jan 29 11:56:49 2010 GMT | ||
2441 | 203 | - Not After : Jan 28 11:56:49 2015 GMT | ||
2442 | 204 | + Not Before: Feb 20 02:55:06 2010 GMT | ||
2443 | 205 | + Not After : Sep 3 02:55:06 2030 GMT | ||
2444 | 206 | Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=localhost | ||
2445 | 207 | Subject Public Key Info: | ||
2446 | 208 | Public Key Algorithm: rsaEncryption | ||
2447 | 209 | - Public-Key: (512 bit) | ||
2448 | 210 | - Modulus: | ||
2449 | 211 | - 00:cd:e4:87:51:9d:72:11:a0:d1:fa:f3:92:8b:13: | ||
2450 | 212 | - 1c:eb:f7:e2:9a:2f:72:a8:d6:65:48:d1:69:af:1b: | ||
2451 | 213 | - c0:4c:13:e5:60:60:51:41:e9:ab:a6:bc:13:bb:0c: | ||
2452 | 214 | - 5e:32:7c:d9:6c:9e:cd:05:24:84:78:db:80:91:2e: | ||
2453 | 215 | - d8:88:2b:c2:ed | ||
2454 | 216 | + RSA Public Key: (1024 bit) | ||
2455 | 217 | + Modulus (1024 bit): | ||
2456 | 218 | + 00:e3:7d:4f:c2:23:77:a9:3a:2c:d2:69:59:a0:2f: | ||
2457 | 219 | + 4e:d1:51:4c:ae:8d:f5:17:cc:ce:58:9c:83:4f:0b: | ||
2458 | 220 | + a3:bb:29:a2:b8:1d:3e:1b:04:f9:a9:3e:e2:61:d0: | ||
2459 | 221 | + e6:7b:b9:7c:12:d8:1f:86:c9:53:b5:04:dd:df:26: | ||
2460 | 222 | + e9:c0:2b:de:4a:96:2e:f3:23:6f:79:6d:a9:d2:4e: | ||
2461 | 223 | + 17:af:2f:de:8b:68:44:ae:de:a3:e2:c4:37:1c:04: | ||
2462 | 224 | + ad:73:4b:85:f9:83:ac:fe:b7:c1:54:47:2e:96:d4: | ||
2463 | 225 | + 31:96:85:94:69:d6:5a:63:24:04:99:89:19:1d:56: | ||
2464 | 226 | + 8a:d1:77:aa:87:fb:38:cd:b7 | ||
2465 | 227 | Exponent: 65537 (0x10001) | ||
2466 | 228 | - Signature Algorithm: md5WithRSAEncryption | ||
2467 | 229 | - 73:ce:9c:6e:39:46:b4:14:be:da:3f:f3:1b:ba:90:bc:23:43: | ||
2468 | 230 | - d7:82:2a:70:4e:a6:d9:5a:65:5c:b7:df:71:df:75:77:c5:80: | ||
2469 | 231 | - a4:af:fa:d2:59:e2:fd:c9:9c:f0:98:95:8e:69:a9:8c:7c:d8: | ||
2470 | 232 | - 6f:48:d2:e3:36:e0:cd:ff:3f:d1:a5:e6:ab:75:09:c4:50:10: | ||
2471 | 233 | - c4:96:dd:bf:3b:de:32:46:da:ca:4a:f1:d6:52:8a:33:2f:ab: | ||
2472 | 234 | - f5:2e:70:3f:d4:9c:be:00:c8:03:f9:39:8a:df:5b:70:3c:40: | ||
2473 | 235 | - ef:03:be:7c:3d:1d:32:32:f3:51:81:e2:83:30:6e:3d:38:9b: | ||
2474 | 236 | - fb:3c | ||
2475 | 237 | + X509v3 extensions: | ||
2476 | 238 | + X509v3 Basic Constraints: | ||
2477 | 239 | + CA:FALSE | ||
2478 | 240 | + X509v3 Subject Key Identifier: | ||
2479 | 241 | + CC:8C:71:40:D0:0F:BF:D1:99:79:3F:1B:E9:10:76:19:67:36:0F:A3 | ||
2480 | 242 | + X509v3 Authority Key Identifier: | ||
2481 | 243 | + keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0 | ||
2482 | 244 | + DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB | ||
2483 | 245 | + serial:BE:58:AD:4C:1F:3D:25:95 | ||
2484 | 246 | + | ||
2485 | 247 | + Signature Algorithm: sha1WithRSAEncryption | ||
2486 | 248 | + 6f:ad:5e:59:fa:84:3a:be:e2:72:b1:e8:66:2a:4e:f8:73:19: | ||
2487 | 249 | + 11:06:11:92:78:56:3e:d6:e8:68:29:90:8b:59:d2:fe:aa:ae: | ||
2488 | 250 | + 25:59:c7:e9:99:bb:4a:06:43:dd:40:bd:cb:f4:ae:79:95:7d: | ||
2489 | 251 | + 8e:90:ef:58:d2:a8:fc:bf:07:f3:37:b2:9b:bd:da:e6:8c:56: | ||
2490 | 252 | + dd:5e:c6:4a:70:7c:3e:3d:a1:e8:35:06:b8:a7:7b:ac:26:85: | ||
2491 | 253 | + 54:5d:09:a2:7b:77:b4:17:7f:72:31:cb:ff:cc:67:6d:e6:3e: | ||
2492 | 254 | + c6:dc:96:eb:4a:0a:ae:e9:48:ae:8a:e0:d6:73:57:6e:32:4c: | ||
2493 | 255 | + 00:dc:28:da:55:b3:9f:9f:d8:98:cc:d9:f1:b6:b3:14:67:2e: | ||
2494 | 256 | + a1:47:1e:51:11:cf:70:9f:31:8f:ba:59:29:f2:d0:88:0b:e2: | ||
2495 | 257 | + 51:6b:f8:31:ed:6d:ac:00:5e:d3:78:4c:95:97:02:cc:74:2b: | ||
2496 | 258 | + 3b:c6:28:e6:2a:c3:30:99:35:b4:4d:31:46:d4:90:f2:47:ed: | ||
2497 | 259 | + 64:85:1a:75:2a:72:0a:2f:c6:3a:2f:d2:ac:6b:31:cc:e5:a8: | ||
2498 | 260 | + 07:c2:d6:22:f3:c6:0f:bf:67:d9:d6:b2:79:cd:48:b5:c3:e0: | ||
2499 | 261 | + e3:18:7f:b5:74:c9:43:19:fb:c4:93:29:ca:cc:90:2b:1b:6f: | ||
2500 | 262 | + 45:f6:25:f9 | ||
2501 | 263 | -----BEGIN CERTIFICATE----- | ||
2502 | 264 | -MIIBtzCCASACAxAAAjANBgkqhkiG9w0BAQQFADBEMQswCQYDVQQGEwJTRTEQMA4G | ||
2503 | 265 | -A1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwg | ||
2504 | 266 | -QUIwHhcNMTAwMTI5MTE1NjQ5WhcNMTUwMTI4MTE1NjQ5WjBGMQswCQYDVQQGEwJT | ||
2505 | 267 | -RTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxEjAQBgNVBAMT | ||
2506 | 268 | -CWxvY2FsaG9zdDBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDN5IdRnXIRoNH685KL | ||
2507 | 269 | -Exzr9+KaL3Ko1mVI0WmvG8BME+VgYFFB6aumvBO7DF4yfNlsns0FJIR424CRLtiI | ||
2508 | 270 | -K8LtAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAc86cbjlGtBS+2j/zG7qQvCND14Iq | ||
2509 | 271 | -cE6m2VplXLffcd91d8WApK/60lni/cmc8JiVjmmpjHzYb0jS4zbgzf8/0aXmq3UJ | ||
2510 | 272 | -xFAQxJbdvzveMkbaykrx1lKKMy+r9S5wP9ScvgDIA/k5it9bcDxA7wO+fD0dMjLz | ||
2511 | 273 | -UYHigzBuPTib+zw= | ||
2512 | 274 | +MIIDJTCCAg2gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ | ||
2513 | 275 | +MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT | ||
2514 | 276 | +UUwgQUIwHhcNMTAwMjIwMDI1NTA2WhcNMzAwOTAzMDI1NTA2WjBGMQswCQYDVQQG | ||
2515 | 277 | +EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxEjAQBgNV | ||
2516 | 278 | +BAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA431PwiN3 | ||
2517 | 279 | +qTos0mlZoC9O0VFMro31F8zOWJyDTwujuymiuB0+GwT5qT7iYdDme7l8EtgfhslT | ||
2518 | 280 | +tQTd3ybpwCveSpYu8yNveW2p0k4Xry/ei2hErt6j4sQ3HAStc0uF+YOs/rfBVEcu | ||
2519 | 281 | +ltQxloWUadZaYyQEmYkZHVaK0Xeqh/s4zbcCAwEAAaOBozCBoDAJBgNVHRMEAjAA | ||
2520 | 282 | +MB0GA1UdDgQWBBTMjHFA0A+/0Zl5PxvpEHYZZzYPozB0BgNVHSMEbTBrgBSx+353 | ||
2521 | 283 | +tUCNaBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1Vw | ||
2522 | 284 | +cHNhbGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlit | ||
2523 | 285 | +TB89JZUwDQYJKoZIhvcNAQEFBQADggEBAG+tXln6hDq+4nKx6GYqTvhzGREGEZJ4 | ||
2524 | 286 | +Vj7W6GgpkItZ0v6qriVZx+mZu0oGQ91Avcv0rnmVfY6Q71jSqPy/B/M3spu92uaM | ||
2525 | 287 | +Vt1exkpwfD49oeg1Brine6wmhVRdCaJ7d7QXf3Ixy//MZ23mPsbclutKCq7pSK6K | ||
2526 | 288 | +4NZzV24yTADcKNpVs5+f2JjM2fG2sxRnLqFHHlERz3CfMY+6WSny0IgL4lFr+DHt | ||
2527 | 289 | +bawAXtN4TJWXAsx0KzvGKOYqwzCZNbRNMUbUkPJH7WSFGnUqcgovxjov0qxrMczl | ||
2528 | 290 | +qAfC1iLzxg+/Z9nWsnnNSLXD4OMYf7V0yUMZ+8STKcrMkCsbb0X2Jfk= | ||
2529 | 291 | -----END CERTIFICATE----- | ||
2530 | 292 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server-key.pem mysql-5.1.50/mysql-test/std_data/server-key.pem | ||
2531 | 293 | --- mysql-5.1.50.orig/mysql-test/std_data/server-key.pem 2010-08-03 13:55:08.000000000 -0400 | ||
2532 | 294 | +++ mysql-5.1.50/mysql-test/std_data/server-key.pem 2010-08-27 23:42:05.754428433 -0400 | ||
2533 | 295 | @@ -1,9 +1,15 @@ | ||
2534 | 296 | -----BEGIN RSA PRIVATE KEY----- | ||
2535 | 297 | -MIIBOwIBAAJBAM3kh1GdchGg0frzkosTHOv34povcqjWZUjRaa8bwEwT5WBgUUHp | ||
2536 | 298 | -q6a8E7sMXjJ82WyezQUkhHjbgJEu2Igrwu0CAwEAAQJBAJuwhFbF3NzRpBbEmnqJ | ||
2537 | 299 | -4GPa1UJMQMLFJF+04tqj/HxJcAIVhOJhGmmtYNw1yjz/ZsPnfJCMz4eFOtdjvGtf | ||
2538 | 300 | -peECIQDmFFg2WLvYo+2m9w9V7z4ZIkg7ixYkI/ObUUctfZkPOQIhAOUWnrvjFrAX | ||
2539 | 301 | -bIvYT/YR50+3ZDLEc51XxNgJnWqWYl1VAiEAnTOFWgyivFC1DgF8PvDp8u5TgCt2 | ||
2540 | 302 | -A1d1GMgd490O+TECIC/WMl0/hTxOF9930vKqOGf//o9PUGkZq8QE9fcM4gtlAiAE | ||
2541 | 303 | -iOcFpnLjtWj57jrhuw214ucnB5rklkQQe+AtcARNkg== | ||
2542 | 304 | +MIICXgIBAAKBgQDjfU/CI3epOizSaVmgL07RUUyujfUXzM5YnINPC6O7KaK4HT4b | ||
2543 | 305 | +BPmpPuJh0OZ7uXwS2B+GyVO1BN3fJunAK95Kli7zI295banSThevL96LaESu3qPi | ||
2544 | 306 | +xDccBK1zS4X5g6z+t8FURy6W1DGWhZRp1lpjJASZiRkdVorRd6qH+zjNtwIDAQAB | ||
2545 | 307 | +AoGAUb0o91y/FjMs/72S0pes/lDz+JRRSGfyjKxQEgrgndNsADOhqRu0iTdrKDJj | ||
2546 | 308 | +XnlbN3ooecnFJfnFrvTQcJhSmlS30j6VrBw6LXpCBK3dvjYgJ9LOne7WK+dF1+vS | ||
2547 | 309 | +FMQtsP04C56Sxy6HJDpMyWJ6oS3Bu169ygG2AxKo+Fk+E6ECQQD38w/MzmrARz2Z | ||
2548 | 310 | +AGeEPDUnVZPYgtmXkmks95S0/2jSoLhmgpvJimzxwpYwVG/BG8dSDVuTDu5kp05D | ||
2549 | 311 | +3bZIp3EzAkEA6uAwJsCZPtHXlWU3wYZJsA697rUNjPaCQOIaZ/lnh5RUHTmUiw1h | ||
2550 | 312 | +Oj/VORqKB0kXqcDfawwLjZEvh1Xli+H5bQJBANTmhw2TvEPnp/OFTl1UGUvyBmXl | ||
2551 | 313 | +TRMB639qAu07VfVtfYi/4ya1zn/0VmOfTOoigQ5qW9Q1AOu6YNCTQl62L9MCQQDc | ||
2552 | 314 | +YfEsW2kvNYxYJHoVfuBjbuGuOnn1e1Oqd70ZND59S6NFLMMBWlORaVWzWACNZ3rp | ||
2553 | 315 | +kAzSj6HDeqgjD2jsQONdAkEAt7S1YHUn8F760bRn4AnAto2TVOYdArtTP/wYjd4o | ||
2554 | 316 | +9rJREO/d8AYkYJ96APLvF0SZ4n3t1pLwQRsKKN8ZGTmzLA== | ||
2555 | 317 | -----END RSA PRIVATE KEY----- | ||
2556 | 318 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server8k-cert.pem mysql-5.1.50/mysql-test/std_data/server8k-cert.pem | ||
2557 | 319 | --- mysql-5.1.50.orig/mysql-test/std_data/server8k-cert.pem 2010-08-03 13:55:08.000000000 -0400 | ||
2558 | 320 | +++ mysql-5.1.50/mysql-test/std_data/server8k-cert.pem 2010-08-27 23:43:00.005366270 -0400 | ||
2559 | 321 | @@ -1,51 +1,69 @@ | ||
2560 | 322 | +Certificate: | ||
2561 | 323 | + Data: | ||
2562 | 324 | + Version: 3 (0x2) | ||
2563 | 325 | + Serial Number: 5 (0x5) | ||
2564 | 326 | + Signature Algorithm: sha1WithRSAEncryption | ||
2565 | 327 | + Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB | ||
2566 | 328 | + Validity | ||
2567 | 329 | + Not Before: Feb 20 03:00:54 2010 GMT | ||
2568 | 330 | + Not After : Sep 3 03:00:54 2030 GMT | ||
2569 | 331 | + Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=server | ||
2570 | 332 | + Subject Public Key Info: | ||
2571 | 333 | + Public Key Algorithm: rsaEncryption | ||
2572 | 334 | + RSA Public Key: (1024 bit) | ||
2573 | 335 | + Modulus (1024 bit): | ||
2574 | 336 | + 00:c5:da:44:95:06:77:16:21:af:a0:c4:3c:e9:f8: | ||
2575 | 337 | + 1d:2d:95:f9:63:90:8c:3f:86:ba:77:76:4a:52:4b: | ||
2576 | 338 | + 6b:af:29:f5:1c:aa:d4:3f:3e:42:9f:6d:46:ba:86: | ||
2577 | 339 | + 90:b1:2d:cc:db:c6:33:15:a3:f4:af:53:33:4f:a1: | ||
2578 | 340 | + 56:d1:aa:3b:26:10:f7:64:b5:f9:bf:1b:b1:47:8e: | ||
2579 | 341 | + cc:a6:d6:0d:aa:4a:77:e3:a3:63:9d:2a:dc:65:f4: | ||
2580 | 342 | + 7f:91:17:38:2d:d6:cd:4e:8d:53:52:97:6e:87:fc: | ||
2581 | 343 | + 64:60:a6:a1:00:ac:96:6c:e4:42:94:75:17:46:6f: | ||
2582 | 344 | + 91:b5:dd:06:47:ed:05:e3:db | ||
2583 | 345 | + Exponent: 65537 (0x10001) | ||
2584 | 346 | + X509v3 extensions: | ||
2585 | 347 | + X509v3 Basic Constraints: | ||
2586 | 348 | + CA:FALSE | ||
2587 | 349 | + X509v3 Subject Key Identifier: | ||
2588 | 350 | + 6E:60:3F:29:13:60:99:ED:0C:F7:15:B5:DB:7B:1C:FB:6F:60:19:ED | ||
2589 | 351 | + X509v3 Authority Key Identifier: | ||
2590 | 352 | + keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0 | ||
2591 | 353 | + DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB | ||
2592 | 354 | + serial:BE:58:AD:4C:1F:3D:25:95 | ||
2593 | 355 | + | ||
2594 | 356 | + Signature Algorithm: sha1WithRSAEncryption | ||
2595 | 357 | + 63:2e:0f:07:14:06:cf:74:90:3d:37:42:f2:48:70:60:21:bc: | ||
2596 | 358 | + 34:52:31:f1:87:70:d2:b2:fb:ff:13:38:dc:f0:5e:43:d7:ee: | ||
2597 | 359 | + a7:c7:1f:ac:aa:d2:8c:4f:fa:3c:4c:73:f6:b6:c2:0c:a0:ea: | ||
2598 | 360 | + a2:c9:e2:73:61:c3:2e:78:40:0f:2a:d3:63:50:9b:b8:f9:89: | ||
2599 | 361 | + 40:ed:98:08:97:c3:07:24:17:34:b5:78:89:0a:bb:83:4c:e2: | ||
2600 | 362 | + 5c:2e:13:d6:21:30:ad:30:48:b5:70:12:ff:4a:6f:42:f0:f8: | ||
2601 | 363 | + 9f:b1:4b:bd:89:2b:f0:9d:e2:49:2b:35:69:18:1f:76:40:b4: | ||
2602 | 364 | + 76:bd:cb:dd:27:2f:c0:c1:e2:33:3e:6e:df:68:54:19:92:8a: | ||
2603 | 365 | + bb:13:9c:cf:d6:17:56:da:bf:0d:64:70:3a:45:b7:aa:5f:e3: | ||
2604 | 366 | + f5:96:ae:34:f2:17:37:27:d0:4b:e8:30:4a:c0:02:42:e2:d2: | ||
2605 | 367 | + 30:eb:eb:c7:d7:ec:d8:df:5c:43:58:e2:6f:b7:58:54:0d:c4: | ||
2606 | 368 | + 01:71:2d:59:8f:44:c7:a1:6c:0b:41:28:fa:b7:63:a7:68:d3: | ||
2607 | 369 | + 4f:c3:0f:17:9e:b2:32:50:e6:0b:87:3d:e2:39:47:c0:d8:0a: | ||
2608 | 370 | + 3b:f6:af:50:68:0f:9d:ef:6e:34:0d:3a:07:94:f8:a4:d7:24: | ||
2609 | 371 | + 86:32:d3:b4 | ||
2610 | 372 | -----BEGIN CERTIFICATE----- | ||
2611 | 373 | -MIIJFDCCBPwCAQEwDQYJKoZIhvcNAQEEBQAwTjELMAkGA1UEBhMCU0UxEDAOBgNV | ||
2612 | 374 | -BAgTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCMQ0wCwYDVQQLEwRUZXN0MQsw | ||
2613 | 375 | -CQYDVQQDEwJDQTAeFw0xMDA3MjgxNDA3MjhaFw0xODEwMTQxNDA3MjhaMFIxCzAJ | ||
2614 | 376 | -BgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQjEN | ||
2615 | 377 | -MAsGA1UECxMEVGVzdDEPMA0GA1UEAxMGc2VydmVyMIIEIjANBgkqhkiG9w0BAQEF | ||
2616 | 378 | -AAOCBA8AMIIECgKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSEC | ||
2617 | 379 | -PgxNNcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+Lr | ||
2618 | 380 | -hXIqCz7K0PsK+bYusL9ezJ7PETDnCT7oy95q4GXbKsutbNsm9if4ZE41gs2KnoU2 | ||
2619 | 381 | -DA7kvMmkKojrMIL4+BqTXA20LLo0iSbgvUTvpSJw4u96BeyzMNnxK2wP5vvTtUo5 | ||
2620 | 382 | -hACbfU87YjaSKs+q2VXCzfyYGZk1L1xk5GUI0bP+jutf1dDzNttW2/q2Nf5rxx09 | ||
2621 | 383 | -Gh/GwmOnEk1O7cOZ8VQCsOHirIM39NuSARsY6Y3G5XM4k2W4nxyR/RtdG9bvs/33 | ||
2622 | 384 | -aGsZ5V5yp7WSs8s9HHwaCPSsUiLKckQ7uA0TTRgbeweMrrLKovG57jsbBBB8pQD4 | ||
2623 | 385 | -PRd31qgxCdstWXHiWwRyI8vOLWENPXPFqA/rJwwqNdWTogy38aqVXxGYR8PIwjA2 | ||
2624 | 386 | -OaIwFjwGZcsPNLqw6bgAN8O2UBqZHWiMF8mi7brvioDvAIufZuqa2SqT/At45H83 | ||
2625 | 387 | -psQ6R4FsxZt6SAK7EsdPo8OYTrY1i4iPZd/eKhnEu2srEZgsKRwY5H1mvDH5fWCc | ||
2626 | 388 | -HSFu07sWmlmK6Or65Fsa0IaKLJiQDVVETd6xrI0wkM4AOcbKDrS7aywJ426dopbs | ||
2627 | 389 | -+LFdt4N0cdII4gBgJAfLuuA2yrDXRq4P6cgpVMy0R+0dEYE8zzm8zf1a+Ud273LS | ||
2628 | 390 | -9+LB+LJKwqbW8nOPBoiekimIKfJYoOA4+C/mAjsYl1sVjjEhXJAs9S9L2UvnUk1P | ||
2629 | 391 | -sZi4UKHI6eAIEl7VM1sQ4GbdZ0px2dF2Ax7pGkhD+DLpYyYkCprharKZdmuUNLUd | ||
2630 | 392 | -NhXxi/HSEiE+Uy+o8RIzmH7LuROl/ZgnfHjJEiBLt2qPvwrwYd4c3XuXWs4YsWfV | ||
2631 | 393 | -JTt8Mx2ihgVcdGy9//shCSmgJwR1oWrhgC10AEL2fKeRnYUal1i+IxFPp7nb8uwx | ||
2632 | 394 | -UADgR0cY4A3qR/JP489QFIcxBTVs65De+Bq3ecnujk6yeGpD9iptonq4Y8uNZMc1 | ||
2633 | 395 | -kOE7GiFGwR4EufT5SEMh+tUkjth2r+842vmZZuxrVQaohDiATmIJA07W51zKH+nQ | ||
2634 | 396 | -uw4qVKnAhPaDLCLc7YMIH9JcmkeQX0nf8/S2O2WYDH8glVDi5hfW08tCmV647vRY | ||
2635 | 397 | -nTIywUTO0lFpz7M+VyMNaJ6yXU6biBV5hLAI8C5ldr/SWI789W2+ebBaJ9gfK+PT | ||
2636 | 398 | -trohFSK37GcoSH4V6qSLJHCBASEsiddqHIHMLJZRYD+B6J3tLhjVUM43u+MEGbFT | ||
2637 | 399 | -d33ZDke/WzLTExWkaOv36e67gDBmgDuj9yroq3wGfwIDAQABMA0GCSqGSIb3DQEB | ||
2638 | 400 | -BAUAA4IEAQCc9RBhRbuWlmRZPZkqIdi5/+enyjoMmOa6ryJPxFSP8D2jrlHgQsk1 | ||
2639 | 401 | -+GsJmPFT3rwWfoGAQu/aeSX4sp8OhKVJtqNA6MJrGYnZIMolgYa1wZPbkjJsdEfi | ||
2640 | 402 | -UsZdIB0n2+KA0xwEdGPdkGCfNPBtOg557DkcyEvsIZ9ELp4Pp2XzWRhyFGasJZc4 | ||
2641 | 403 | -YwgD/3K2rpOPZoMkBKeKqV19j41OfLKGBVyuaqzitbu9+KT4RU1ibr2a+UuFCwdT | ||
2642 | 404 | -oqyN7bfWXjcjXOMkxCsOmLfKmqQxs7TEOVrYPTdYjamDxLy/e5g5FgoCxGY8iil0 | ||
2643 | 405 | -+YFLZyH6eEx/Os9DlG/M3O1MeRD9U97CdsphbDVZIDyWw5xeX8qQHJe0KSprAgiG | ||
2644 | 406 | -TLhTZHeyrKujQCQS1oFFmNy4gSqXt0j1/6/9T80j6HeyjiiYEaEQK9YLTAjRoA7W | ||
2645 | 407 | -VN8wtHI5F3RlNOVQEJks/bjdlpLL3VhaWtfewGh/mXRGcow84cgcsejMexmhreHm | ||
2646 | 408 | -JfTUl9+X1IFFxGq2/606A9ROQ7kN/s4rXu7/TiMODXI/kZijoWd2SCc7Z0YWoNo7 | ||
2647 | 409 | -IRKkmZtrsflJbObEuK2Jk59uqzSxyQOBId8qtbPo8qJJyHGV5GCp34g4x67BxJBo | ||
2648 | 410 | -h1iyVMamBAS5Ip1ejghuROrB8Hit8NhAZApXju62btJeXLX+mQayXb/wC/IXNJJD | ||
2649 | 411 | -83tXiLfZgs6GzLAq7+KW/64sZSvj87CPiNtxkvjchAvyr+fhbBXCrf4rlOjJE6SH | ||
2650 | 412 | -Je2/Jon7uqijncARGLBeYUT0Aa6k1slpXuSKxDNt7EIkP21kDZ5/OJ0Y1u587KVB | ||
2651 | 413 | -dEhuDgNf2/8ij7gAQBwBoZMe1DrwddrxgLLBlyHpAZetNYFZNT+Cs/OlpqI0Jm59 | ||
2652 | 414 | -kK9pX0BY4AGOd23XM3K/uLawdmf67kkftim7aVaqXFHPiWsJVtlzmidKvNSmbmZe | ||
2653 | 415 | -dOmMXp6PBoqcdusFVUS7vjd3KAes5wUX/CaTyOOPRu0LMSnpwEnaL76IC9x4Jd6d | ||
2654 | 416 | -7QqY/OFTjpPH8nP57LwouiT6MgSUCWGaOkPuBJ9w9sENSbbINpgJJ42iAe2kE+R7 | ||
2655 | 417 | -qEIvf/2ETCTseeQUqm2nWiSPLkNagEh6kojmEoKrGyrv3YjrSXSOY1a70tDVy43+ | ||
2656 | 418 | -ueQDQzNZm3Q7inpke2ZKvWyY0LQmLzP2te+tnNBcdLyKJx7emPRTuMUlEdK7cLbt | ||
2657 | 419 | -V3Sy9IKtyAXqqd66fPFj4NhJygyncj8M6CSqhG5L0GhDbkA8UJ8yK/gfKm3h5xe2 | ||
2658 | 420 | -utULK5VMtAhQt6cVahO59A9t/OI17y45bmlIgdlEQISzVFe9ZbIUJW44zBfPx74k | ||
2659 | 421 | -/w8pMRr8gEuRqpL2WdJiKGG6lhMHLVFo | ||
2660 | 422 | +MIIDIjCCAgqgAwIBAgIBBTANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ | ||
2661 | 423 | +MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT | ||
2662 | 424 | +UUwgQUIwHhcNMTAwMjIwMDMwMDU0WhcNMzAwOTAzMDMwMDU0WjBDMQswCQYDVQQG | ||
2663 | 425 | +EwJTRTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIxDzANBgNV | ||
2664 | 426 | +BAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxdpElQZ3FiGv | ||
2665 | 427 | +oMQ86fgdLZX5Y5CMP4a6d3ZKUktrryn1HKrUPz5Cn21GuoaQsS3M28YzFaP0r1Mz | ||
2666 | 428 | +T6FW0ao7JhD3ZLX5vxuxR47MptYNqkp346NjnSrcZfR/kRc4LdbNTo1TUpduh/xk | ||
2667 | 429 | +YKahAKyWbORClHUXRm+Rtd0GR+0F49sCAwEAAaOBozCBoDAJBgNVHRMEAjAAMB0G | ||
2668 | 430 | +A1UdDgQWBBRuYD8pE2CZ7Qz3FbXbexz7b2AZ7TB0BgNVHSMEbTBrgBSx+353tUCN | ||
2669 | 431 | +aBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1VwcHNh | ||
2670 | 432 | +bGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlitTB89 | ||
2671 | 433 | +JZUwDQYJKoZIhvcNAQEFBQADggEBAGMuDwcUBs90kD03QvJIcGAhvDRSMfGHcNKy | ||
2672 | 434 | ++/8TONzwXkPX7qfHH6yq0oxP+jxMc/a2wgyg6qLJ4nNhwy54QA8q02NQm7j5iUDt | ||
2673 | 435 | +mAiXwwckFzS1eIkKu4NM4lwuE9YhMK0wSLVwEv9Kb0Lw+J+xS72JK/Cd4kkrNWkY | ||
2674 | 436 | +H3ZAtHa9y90nL8DB4jM+bt9oVBmSirsTnM/WF1bavw1kcDpFt6pf4/WWrjTyFzcn | ||
2675 | 437 | +0EvoMErAAkLi0jDr68fX7NjfXENY4m+3WFQNxAFxLVmPRMehbAtBKPq3Y6do00/D | ||
2676 | 438 | +DxeesjJQ5guHPeI5R8DYCjv2r1BoD53vbjQNOgeU+KTXJIYy07Q= | ||
2677 | 439 | -----END CERTIFICATE----- | ||
2678 | 440 | diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server8k-key.pem mysql-5.1.50/mysql-test/std_data/server8k-key.pem | ||
2679 | 441 | --- mysql-5.1.50.orig/mysql-test/std_data/server8k-key.pem 2010-08-03 13:55:08.000000000 -0400 | ||
2680 | 442 | +++ mysql-5.1.50/mysql-test/std_data/server8k-key.pem 2010-08-27 23:43:10.165365998 -0400 | ||
2681 | 443 | @@ -1,99 +1,15 @@ | ||
2682 | 444 | -----BEGIN RSA PRIVATE KEY----- | ||
2683 | 445 | -MIISKQIBAAKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSECPgxN | ||
2684 | 446 | -NcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+LrhXIq | ||
2685 | 447 | -Cz7K0PsK+bYusL9ezJ7PETDnCT7oy95q4GXbKsutbNsm9if4ZE41gs2KnoU2DA7k | ||
2686 | 448 | -vMmkKojrMIL4+BqTXA20LLo0iSbgvUTvpSJw4u96BeyzMNnxK2wP5vvTtUo5hACb | ||
2687 | 449 | -fU87YjaSKs+q2VXCzfyYGZk1L1xk5GUI0bP+jutf1dDzNttW2/q2Nf5rxx09Gh/G | ||
2688 | 450 | -wmOnEk1O7cOZ8VQCsOHirIM39NuSARsY6Y3G5XM4k2W4nxyR/RtdG9bvs/33aGsZ | ||
2689 | 451 | -5V5yp7WSs8s9HHwaCPSsUiLKckQ7uA0TTRgbeweMrrLKovG57jsbBBB8pQD4PRd3 | ||
2690 | 452 | -1qgxCdstWXHiWwRyI8vOLWENPXPFqA/rJwwqNdWTogy38aqVXxGYR8PIwjA2OaIw | ||
2691 | 453 | -FjwGZcsPNLqw6bgAN8O2UBqZHWiMF8mi7brvioDvAIufZuqa2SqT/At45H83psQ6 | ||
2692 | 454 | -R4FsxZt6SAK7EsdPo8OYTrY1i4iPZd/eKhnEu2srEZgsKRwY5H1mvDH5fWCcHSFu | ||
2693 | 455 | -07sWmlmK6Or65Fsa0IaKLJiQDVVETd6xrI0wkM4AOcbKDrS7aywJ426dopbs+LFd | ||
2694 | 456 | -t4N0cdII4gBgJAfLuuA2yrDXRq4P6cgpVMy0R+0dEYE8zzm8zf1a+Ud273LS9+LB | ||
2695 | 457 | -+LJKwqbW8nOPBoiekimIKfJYoOA4+C/mAjsYl1sVjjEhXJAs9S9L2UvnUk1PsZi4 | ||
2696 | 458 | -UKHI6eAIEl7VM1sQ4GbdZ0px2dF2Ax7pGkhD+DLpYyYkCprharKZdmuUNLUdNhXx | ||
2697 | 459 | -i/HSEiE+Uy+o8RIzmH7LuROl/ZgnfHjJEiBLt2qPvwrwYd4c3XuXWs4YsWfVJTt8 | ||
2698 | 460 | -Mx2ihgVcdGy9//shCSmgJwR1oWrhgC10AEL2fKeRnYUal1i+IxFPp7nb8uwxUADg | ||
2699 | 461 | -R0cY4A3qR/JP489QFIcxBTVs65De+Bq3ecnujk6yeGpD9iptonq4Y8uNZMc1kOE7 | ||
2700 | 462 | -GiFGwR4EufT5SEMh+tUkjth2r+842vmZZuxrVQaohDiATmIJA07W51zKH+nQuw4q | ||
2701 | 463 | -VKnAhPaDLCLc7YMIH9JcmkeQX0nf8/S2O2WYDH8glVDi5hfW08tCmV647vRYnTIy | ||
2702 | 464 | -wUTO0lFpz7M+VyMNaJ6yXU6biBV5hLAI8C5ldr/SWI789W2+ebBaJ9gfK+PTtroh | ||
2703 | 465 | -FSK37GcoSH4V6qSLJHCBASEsiddqHIHMLJZRYD+B6J3tLhjVUM43u+MEGbFTd33Z | ||
2704 | 466 | -Dke/WzLTExWkaOv36e67gDBmgDuj9yroq3wGfwIDAQABAoIEAQCSt6YoZqigz/50 | ||
2705 | 467 | -XvYT6Uf6T6S1lBDFXNmY1qOuDkLBJTWRiwYMDViQEaWCaZgGTKDYeT3M8uR/Phyu | ||
2706 | 468 | -lRFi5vCEMufmcAeZ3hxptw7KU+R8ILJ207/zgit6YglTys9h5txTIack39+6FJmx | ||
2707 | 469 | -wbZ64HpETJZnpMO6+fuZaMXyLjuT8mmXjvHcOgXOvjWeFkZOveDhjJkAesUXuqyX | ||
2708 | 470 | -EI+ajoXuQiPXeKonkD2qd7NTjzfy4gw/ZF4NXs0ZVJeviqtIPo2xp33udOw2vRFh | ||
2709 | 471 | -bMvlF4cNLAbIKYVyOG0ruOfd2I7Unsc/CvD1u5vlRVuUd8OO0JZLIZR7hlRX+A58 | ||
2710 | 472 | -8O1g2H/wJZAsF1BnLnFzDGYCX2WjCCK3Zn85FkKGRa0lTdYDduad/C/N3Y2/pHFE | ||
2711 | 473 | -e7U/2D7IkEei59tD2HcsDBB3MJnckkn/hyiL9qWcxqWZ61vurE+XjU6tc6fnfhk9 | ||
2712 | 474 | -pJQ6yU3epPU7Vfsk0UGA7bbgKpsyzyH8Zl76YC2mN2ZVJjZekfhY+ibT9odEPdOl | ||
2713 | 475 | -yLB5iXA6/WhKkDWaOqZGOH+7MblWgT9wHINlcn+nKzOr00JHl26ac6aMlXXi9vbe | ||
2714 | 476 | -4jgJbFK1HYlFIndyX/BdqRTsFemDoDrVqrEYsaONoVYDd9c5qrqYOeh34DhOksQW | ||
2715 | 477 | -hNwWBfmMlfzgOGtCYhMeK+AajqTtUbMYQA6qp47KJd/Oa5Dvi3ZCpvZh3Ll5iIau | ||
2716 | 478 | -rqCtmojsWCqmpWSu7P+Wu4+O3XkUMPdQUuQ5rJFESEBB3yEJcxqk/RItTcKNElNC | ||
2717 | 479 | -PASrPrMD9cli7S/pJ+frbhu1Gna1ArXzXQE9pMozPaBpjCig7+15R0lL3pmOKO6e | ||
2718 | 480 | -WK3dgSwrnW6TQdLPlSD4lbRoiIdTHVBczztDeUqVvFiV3/cuaEi1nvaVdAYLqjuL | ||
2719 | 481 | -ogK4HwE/FQ54S0ijAsP52n25usoH6OTU3bSd/7NTp0vZCy3yf10x7HUdsh2DvhRO | ||
2720 | 482 | -3+TSK5t0yz0Nt7hNwcI6pLmWUIYcZgpFc/WsiiGscTfhy8rh3kRHI8ylGq53KNF+ | ||
2721 | 483 | -yCVmjqnBRWs91ArxmeF1ctX2t3w5p7gf65hJWqoX/2DiSi5FBsr6HLxa5sUi4wRZ | ||
2722 | 484 | -136aCNt5Wu7w+AzPDbQW6qKUGSyfHJAw4JZasZcaZLise5IWb1ks0DtFbWWdT3ux | ||
2723 | 485 | -8r2AM7IO1WopnekrYCnx/aBvBAv4NjWozVA517ztVttPERt3AGb4nm387nYt5R2U | ||
2724 | 486 | -NO2GBWcDyT8JQLKmffE1AkWolCR1GsvcNLQfLCbnNppgsnsLE/viTG4mq1wjnd8O | ||
2725 | 487 | -2Q8nH1SVTuyGFREMp/zsiAEaGfdd0hI2r1J7OdNPBBCtmhITsy9ZYHqm5vrGvy3s | ||
2726 | 488 | -vi2GuB2RAoICAQD/oWUsg4eTJxHifTJLz/tVSTXnw7DhfbFVa1K1rUV63/MRQAFW | ||
2727 | 489 | -pabN4T6Yfp3CpdRkljCA8KPJZj7euwhm4OEg1ulpOouA+cfWlE9RFE8wyOK5SYwM | ||
2728 | 490 | -k+nk31P9MUC866pZg/ghzBGDub91OW1+ZGEtqnLI/n/LhiAIWt0hJvgZclTc1cAL | ||
2729 | 491 | -xffHVlFwoSyNl/nc3ueZCC95nOLst2XcuxZLLbOFtZCmDYsp49q/Jn6EFjn4Ge2o | ||
2730 | 492 | -qp38z6eZgDMP1F4lb9nDqXPHfUSt2jxKlmpfXS+IPKdba67+EjhbtmUYzaR4EoPI | ||
2731 | 493 | -zh+o6SrVWT6Yve7KGiYv06fuRz1m/lLQO/Arbd9ntSjgn+ZEXGOkbhnHUX3DJ4ny | ||
2732 | 494 | -/6XEGB9NLQjern4uNTn0AaV+uvhncapFMaIBnVfq0Cw8eog0136PBYRaVX7T44j5 | ||
2733 | 495 | -HwIyGXWtYGA/SzDEQoksD0Y/T61BEGnLZaKeavNd82WwFvcYHZtE0J4aQGjCEE7N | ||
2734 | 496 | -+nijzCy+j5ETmme9KJvQHpEyXP3N4RBko1eWvyTwFZDdIXtoa6TTEI51lm+FXJ/b | ||
2735 | 497 | -Y+BzMr6KRo29FB+7//1ptUoMvn5hzL0PwOv2ZSTQuoG5hLDEbxWXLNhd1VHcfznF | ||
2736 | 498 | -3EZHwfD2F8aGQ3kz+fkMTNfK955KorDrmLgvmV9eZZ5yQxGZrs5H5YfKpwKCAgEA | ||
2737 | 499 | -6nSUbzfSdVFUH89NM5FmEJgkD06vqCgHl2mpyF+VmDGcay4K06eA4QbRO5kns13+ | ||
2738 | 500 | -n6PcBl/YVW/rNE8iFi+WxfqUpAjdR1HlShvTuTRVqtFTfuN8XhbYU6VMjKyuE0kd | ||
2739 | 501 | -LKe3KRdwubjVNhXRZLBknU+3Y/4hnIR7mcE3/M5Zv5hjb7XnwWg/SzxV9WojCKiu | ||
2740 | 502 | -vQ7cXhH5/o7EuKcl1d6vueGhWsRylCG9RimwgViR2H7zD9kpkOc0nNym9cSpb0Gv | ||
2741 | 503 | -Lui4cf/fVwIt2HfNEGBjbM/83e2MH6b8Xp1fFAy0aXCdRtOo4LVOzJVAxn5dERMX | ||
2742 | 504 | -4JJ4d5cSFbssDN1bITOKzuytfBqRIQGNkOfizgQNWUiaFI0MhEN/icymjm1ybOIh | ||
2743 | 505 | -Gc9tzqKI4wP2X9g+u3+Oof1QaBcZ4UbZEU9ITN87Pa6XVJmpNx7A81BafWoEPFeE | ||
2744 | 506 | -ahoO4XDwlHZazDuSlOseEShxXcVwaIiqySy7OBEPBVuYdEd2Qw/z3JTx9Kw8MKnf | ||
2745 | 507 | -hu+ar5tz5dPnJIsvLeYCcJDe/K6loiZuHTtPbWEy9p6It7qubQNPBvTSBN5eVDKc | ||
2746 | 508 | -Q2bTQNCx8SAAA9C5gJiwWoQKsXJzbRFRY77P9JjuGpua3YJ2nYBHEJmF+fp1R33c | ||
2747 | 509 | -uHIyMphPMkKC4GC3/43kkMr6tck8kZbXGSYsLsBr2GkCggIBAJvvrjILQianzKcm | ||
2748 | 510 | -zAmnI6AQ+ssYesvyyrxaraeZvSqJdlLtgmOCxVANuQt5IW9djUSWwZvGL4Np1aw0 | ||
2749 | 511 | -15k6UNqhftzsE7FnrVneOsww4WXXBUcV8FKz4Bf3i9qFswILmGzmrfSf8YczRfGS | ||
2750 | 512 | -SJKzVPxwX3jwlrBmbx/pnb7dcLbFIbNcyLvl1ZJJu4BDMVRmgssTRp/5eExtQZg4 | ||
2751 | 513 | -//A4SA8wH7TO3yAMXvn8vrGgH8kfbdlEp88d1SYk3g4rP/rGB3A63NIYikIEzmJn | ||
2752 | 514 | -ICQ3wUfPJnGq3kRMWgEuyCZaCy2oNE3yrWVPJ8z3/2MJ/79ZDVNHxEeki2o1FuW+ | ||
2753 | 515 | -+nGAPq+fZIp03iy4HdVRro7dgugtc9QaSHJtNId8V4vSjviX5Oz3FxUb9AJst58S | ||
2754 | 516 | -nVV8Q2FMxBa/SlzSOkhRtCg2q1gXkzhaMnIVUleRZFGQ2uWBToxKMjcoUifIyN1J | ||
2755 | 517 | -z999bkfI4hBLq5pRSAXz+YVu5SMKa10GaawIwJLat+i+1zboF6QyI2o/Wz8nrsNq | ||
2756 | 518 | -KX/ajFGu5C94WFgsVoWKNI90KBLe48Ssje9c68waBlV/WHMg1YLvU3yqVDOV+K5c | ||
2757 | 519 | -IHB9tPMnG+AgBYZPxSzuvnLrrkj/GeKx0WI7TrvzOLRGKJo6irMEJ8IzFegASRUq | ||
2758 | 520 | -TVZKYQDYRG7m+lKlSxU+pyMAh2c9AoICAE4kavCip1eIssQjYLTGSkFPo/0iGbOv | ||
2759 | 521 | -G9CgXAE3snFWX67tWphupKrbjdMSWcQTmPD2OTg6q6zWL4twsIi6dcMooHAHsFC7 | ||
2760 | 522 | -//LyUV/SDJdxSyXohiQJ8zH1zwy35RDydnHSuF5OvLh53T44iWDI1dAEqLgAFI3J | ||
2761 | 523 | -LjTxzEpLMGiGTuYFt+ejai0WQAQayvBw4ESM9m+4CB2K0hBFTXv5y5HlnNTW0uWC | ||
2762 | 524 | -VUZUUMrbjUieDz8B/zOXi9aYSGFzmZFGUDAPSqJcSMEELemPDF7f8WNr8vi42tIV | ||
2763 | 525 | -4tlaFD1nep4F9bWMiCXU6B2RxVQi+7vcJEIqL1KUnGd3ydfD00K+ng4Xnj7Vz/cz | ||
2764 | 526 | -QE7CqrpFaXmPlCMzW6+dm51/AyhHXDLkL2od05hiXcNkJ7KMLWRqwExHVIxM3shR | ||
2765 | 527 | -x7lYNl3ArUsCrNd6m4aOjnrKFk7kjeLavHxskPccoGKrC9o0JMfTkWLgmuBJFQ0S | ||
2766 | 528 | -N/HzIbcvIFWF0Ms4ojb50yp6ziXhXfJOO/0KUQEki71XIhvw89mVZszDzD5lqzjf | ||
2767 | 529 | -HCZMBU4MbmL6NdEevFIDH0zPPkx3HPNtJt3kIJbit9wI8VhUMe+ldGnGxpWb8tKw | ||
2768 | 530 | -SfM3vrHkYr+lizk26XfXMFhdAuVtT7dzQKSNEyP/1a2Hs307Xzgiv8JulJ8QIkrX | ||
2769 | 531 | -/nsYWPOAGLG5AoICABmdW9Ppkvuhb1AEcjTWb+XCyopoBc6vit/uQWD9uO+CeX7a | ||
2770 | 532 | -cfzq+iH01CAjyVMc4E1JDc5Lpi106U+GRGcAAaPJB2Sp5NznoxaOVrb71blu4Q4x | ||
2771 | 533 | -bNjtKM/P/DXpO+yJYoOPdKtaSDhtnfNDM7H/jztJ3XIrOltKA7CcRDohbBWIx8Q0 | ||
2772 | 534 | -0uEpvfFpZZBco3yVmjP0RLgIVYn/ZDj9wGhSvFWIJ5vv6GXmtDrcHGMLxcfv7t76 | ||
2773 | 535 | -UVcMW/Yy4mYJRCzGOrWagyVijJ6MTVNciqadWcH1KcbB3EGoMFYMn61or2qJABPM | ||
2774 | 536 | -xz89IlhnROU1Re3X/QRx5t86cw6oa+FqrWMOhSs31I0dNWSuS/xDympG27YIYSDd | ||
2775 | 537 | -mv5seT78GjFmMJC5pPOLoXsbTPB0HpsX2/UL/w/eRAfilTOef/Cf9VE5MP/C2YR7 | ||
2776 | 538 | -NBxUU7/+21D6WvdtBTcZbrXWGroAo8zPP+PwX0+c6WoAvqDJvCPndp8xZhSgEJN/ | ||
2777 | 539 | -0kScptezi8n3ZHI95EA9U5mAHxHz0IhDDVzWw/z1f1SBPxKVX3+By3zaa3lrD2ch | ||
2778 | 540 | -cHq7nBkX72veEevnHUY8Z2rHE2G2jdmRfOtwm4sjL0VBV9fRRoxzJWRduKyeOtDL | ||
2779 | 541 | -EhhBhUoTrT48UnfW9hxnbNLB9P/hh+UJu9HrS2uAwHoGE1+8gcyundupGDBn | ||
2780 | 542 | +MIICXgIBAAKBgQDF2kSVBncWIa+gxDzp+B0tlfljkIw/hrp3dkpSS2uvKfUcqtQ/ | ||
2781 | 543 | +PkKfbUa6hpCxLczbxjMVo/SvUzNPoVbRqjsmEPdktfm/G7FHjsym1g2qSnfjo2Od | ||
2782 | 544 | +Ktxl9H+RFzgt1s1OjVNSl26H/GRgpqEArJZs5EKUdRdGb5G13QZH7QXj2wIDAQAB | ||
2783 | 545 | +AoGBAJLCjh7Q9eLnx+QDzH9s+Q/IcH4nSbERmh1lFEopAc6j29qQ6PGkmDy0DUPs | ||
2784 | 546 | +70VOCOh5A4mo3aZzm9sUfVb24/nRtmyTP/AtMuIVGCsUqzI28dJRGvRlY0aSQG/C | ||
2785 | 547 | +ILqMP69kiMNGBvuyEIiJhisOmMvDFEp7HrrXHJM9qcc217DpAkEA4nzJ9yyy2e4O | ||
2786 | 548 | +r6/D711hdfcU/F+ktXw+pL77kSSdTABUap92Uv2RL36UA4q5h8RNvq/GrzMNm6Ye | ||
2787 | 549 | +u2IMvBCiTQJBAN+iRbiMJCSitTg5YVMluVbT87co7jbTqk7LN1ujyIFEklm4xlHG | ||
2788 | 550 | +DLJNgEoDR7QJtAkL++FyogC4zsQsey5voscCQQCp54trTbDuI9QIoAaQrrDKWgz4 | ||
2789 | 551 | +NpfNPeOQm2UFQT5vIWAyjGWrZGViB8bp0UvVOcJI5nxaOiZfOYOcdrWu75uRAkAn | ||
2790 | 552 | +67zMc9/j1lPJRJz2Dc7nDBD+ikTz7pcBV897AWLCiK4jbBOi91q+3YzgKXO8VNsZ | ||
2791 | 553 | +nlUJasA2psbqSBJ5OJ5zAkEA2UxoMju54hASjT54Z92IzraVw4Vo8CYwOcw5fr7z | ||
2792 | 554 | ++m5xg1mmWdLBclmZ+WjARzDuTHIW6u/WCxNGg42AykWzfw== | ||
2793 | 555 | -----END RSA PRIVATE KEY----- | ||
2794 | 0 | 556 | ||
2795 | === added file 'Percona-Server/packaging/rpm-uln/mysql-install-test.patch' | |||
2796 | --- Percona-Server/packaging/rpm-uln/mysql-install-test.patch 1970-01-01 00:00:00 +0000 | |||
2797 | +++ Percona-Server/packaging/rpm-uln/mysql-install-test.patch 2013-01-31 20:19:36 +0000 | |||
2798 | @@ -0,0 +1,33 @@ | |||
2799 | 1 | Improve the documentation that will be installed in the mysql-test RPM. | ||
2800 | 2 | |||
2801 | 3 | |||
2802 | 4 | diff -Naur mysql-5.1.43.orig/mysql-test/README mysql-5.1.43/mysql-test/README | ||
2803 | 5 | --- mysql-5.1.43.orig/mysql-test/README 2010-01-15 12:14:43.000000000 -0500 | ||
2804 | 6 | +++ mysql-5.1.43/mysql-test/README 2010-02-13 21:18:06.000000000 -0500 | ||
2805 | 7 | @@ -6,6 +6,16 @@ | ||
2806 | 8 | actually have a co-existing MySQL installation. The tests will not | ||
2807 | 9 | conflict with it. | ||
2808 | 10 | |||
2809 | 11 | +For use in Red Hat distributions, you should run the script as user mysql, | ||
2810 | 12 | +so the best bet is something like | ||
2811 | 13 | + cd /usr/share/mysql-test | ||
2812 | 14 | + sudo -u mysql ./mysql-test-run | ||
2813 | 15 | +This will use the installed mysql executables, but will run a private copy | ||
2814 | 16 | +of the server process (using data files within /usr/share/mysql-test), | ||
2815 | 17 | +so you need not start the mysqld service beforehand. | ||
2816 | 18 | +To clean up afterwards, remove the created "var" subdirectory, eg | ||
2817 | 19 | + sudo -u mysql rm -rf /usr/share/mysql-test/var | ||
2818 | 20 | + | ||
2819 | 21 | All tests must pass. If one or more of them fail on your system, please | ||
2820 | 22 | read the following manual section for instructions on how to report the | ||
2821 | 23 | problem: | ||
2822 | 24 | @@ -25,7 +35,8 @@ | ||
2823 | 25 | |||
2824 | 26 | With no test cases named on the command line, mysql-test-run falls back | ||
2825 | 27 | to the normal "non-extern" behavior. The reason for this is that some | ||
2826 | 28 | -tests cannot run with an external server. | ||
2827 | 29 | +tests cannot run with an external server (because they need to control the | ||
2828 | 30 | +options with which the server is started). | ||
2829 | 31 | |||
2830 | 32 | |||
2831 | 33 | You can create your own test cases. To create a test case, create a new | ||
2832 | 0 | 34 | ||
2833 | === added file 'Percona-Server/packaging/rpm-uln/mysql-strmov.patch' | |||
2834 | --- Percona-Server/packaging/rpm-uln/mysql-strmov.patch 1970-01-01 00:00:00 +0000 | |||
2835 | +++ Percona-Server/packaging/rpm-uln/mysql-strmov.patch 2013-01-31 20:19:36 +0000 | |||
2836 | @@ -0,0 +1,32 @@ | |||
2837 | 1 | Remove overly optimistic definition of strmov() as stpcpy(). | ||
2838 | 2 | |||
2839 | 3 | mysql uses this macro with overlapping source and destination strings, | ||
2840 | 4 | which is verboten per spec, and fails on some Red Hat platforms. | ||
2841 | 5 | Deleting the definition is sufficient to make it fall back to a | ||
2842 | 6 | byte-at-a-time copy loop, which should consistently give the | ||
2843 | 7 | expected behavior. | ||
2844 | 8 | |||
2845 | 9 | Note: the particular case that prompted this patch is reported and fixed | ||
2846 | 10 | at http://bugs.mysql.com/bug.php?id=48864. However, my faith in upstream's | ||
2847 | 11 | ability to detect this type of error is low, and I also see little evidence | ||
2848 | 12 | of any real performance gain from optimizing these calls. So I'm keeping | ||
2849 | 13 | this patch. | ||
2850 | 14 | |||
2851 | 15 | |||
2852 | 16 | diff -Naur mysql-5.1.37.orig/include/m_string.h mysql-5.1.37/include/m_string.h | ||
2853 | 17 | --- mysql-5.1.37.orig/include/m_string.h 2009-07-13 19:08:50.000000000 -0400 | ||
2854 | 18 | +++ mysql-5.1.37/include/m_string.h 2009-08-31 21:49:49.000000000 -0400 | ||
2855 | 19 | @@ -81,13 +81,6 @@ | ||
2856 | 20 | extern void *(*my_str_malloc)(size_t); | ||
2857 | 21 | extern void (*my_str_free)(void *); | ||
2858 | 22 | |||
2859 | 23 | -#if defined(HAVE_STPCPY) | ||
2860 | 24 | -#define strmov(A,B) stpcpy((A),(B)) | ||
2861 | 25 | -#ifndef stpcpy | ||
2862 | 26 | -extern char *stpcpy(char *, const char *); /* For AIX with gcc 2.95.3 */ | ||
2863 | 27 | -#endif | ||
2864 | 28 | -#endif | ||
2865 | 29 | - | ||
2866 | 30 | /* Declared in int2str() */ | ||
2867 | 31 | extern char NEAR _dig_vec_upper[]; | ||
2868 | 32 | extern char NEAR _dig_vec_lower[]; | ||
2869 | 0 | 33 | ||
2870 | === added file 'Percona-Server/packaging/rpm-uln/mysql.init' | |||
2871 | --- Percona-Server/packaging/rpm-uln/mysql.init 1970-01-01 00:00:00 +0000 | |||
2872 | +++ Percona-Server/packaging/rpm-uln/mysql.init 2013-01-31 20:19:36 +0000 | |||
2873 | @@ -0,0 +1,209 @@ | |||
2874 | 1 | #!/bin/sh | ||
2875 | 2 | # | ||
2876 | 3 | # mysqld This shell script takes care of starting and stopping | ||
2877 | 4 | # the MySQL subsystem (mysqld). | ||
2878 | 5 | # | ||
2879 | 6 | # chkconfig: - 64 36 | ||
2880 | 7 | # description: MySQL database server. | ||
2881 | 8 | # processname: mysqld | ||
2882 | 9 | # config: /etc/my.cnf | ||
2883 | 10 | # pidfile: /var/run/mysqld/mysqld.pid | ||
2884 | 11 | |||
2885 | 12 | # Source function library. | ||
2886 | 13 | . /etc/rc.d/init.d/functions | ||
2887 | 14 | |||
2888 | 15 | # Source networking configuration. | ||
2889 | 16 | . /etc/sysconfig/network | ||
2890 | 17 | |||
2891 | 18 | |||
2892 | 19 | exec="/usr/bin/mysqld_safe" | ||
2893 | 20 | prog="mysqld" | ||
2894 | 21 | |||
2895 | 22 | # Set timeouts here so they can be overridden from /etc/sysconfig/mysqld | ||
2896 | 23 | STARTTIMEOUT=120 | ||
2897 | 24 | STOPTIMEOUT=60 | ||
2898 | 25 | |||
2899 | 26 | [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog | ||
2900 | 27 | |||
2901 | 28 | lockfile=/var/lock/subsys/$prog | ||
2902 | 29 | |||
2903 | 30 | |||
2904 | 31 | # extract value of a MySQL option from config files | ||
2905 | 32 | # Usage: get_mysql_option SECTION VARNAME DEFAULT | ||
2906 | 33 | # result is returned in $result | ||
2907 | 34 | # We use my_print_defaults which prints all options from multiple files, | ||
2908 | 35 | # with the more specific ones later; hence take the last match. | ||
2909 | 36 | get_mysql_option(){ | ||
2910 | 37 | result=`/usr/bin/my_print_defaults "$1" | sed -n "s/^--$2=//p" | tail -n 1` | ||
2911 | 38 | if [ -z "$result" ]; then | ||
2912 | 39 | # not found, use default | ||
2913 | 40 | result="$3" | ||
2914 | 41 | fi | ||
2915 | 42 | } | ||
2916 | 43 | |||
2917 | 44 | get_mysql_option mysqld datadir "/var/lib/mysql" | ||
2918 | 45 | datadir="$result" | ||
2919 | 46 | get_mysql_option mysqld socket "$datadir/mysql.sock" | ||
2920 | 47 | socketfile="$result" | ||
2921 | 48 | get_mysql_option mysqld_safe log-error "/var/log/mysqld.log" | ||
2922 | 49 | errlogfile="$result" | ||
2923 | 50 | get_mysql_option mysqld_safe pid-file "/var/run/mysqld/mysqld.pid" | ||
2924 | 51 | mypidfile="$result" | ||
2925 | 52 | |||
2926 | 53 | |||
2927 | 54 | start(){ | ||
2928 | 55 | [ -x $exec ] || exit 5 | ||
2929 | 56 | # check to see if it's already running | ||
2930 | 57 | RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1` | ||
2931 | 58 | if [ $? = 0 ]; then | ||
2932 | 59 | # already running, do nothing | ||
2933 | 60 | action $"Starting $prog: " /bin/true | ||
2934 | 61 | ret=0 | ||
2935 | 62 | elif echo "$RESPONSE" | grep -q "Access denied for user" | ||
2936 | 63 | then | ||
2937 | 64 | # already running, do nothing | ||
2938 | 65 | action $"Starting $prog: " /bin/true | ||
2939 | 66 | ret=0 | ||
2940 | 67 | else | ||
2941 | 68 | # prepare for start | ||
2942 | 69 | touch "$errlogfile" | ||
2943 | 70 | chown mysql:mysql "$errlogfile" | ||
2944 | 71 | chmod 0640 "$errlogfile" | ||
2945 | 72 | [ -x /sbin/restorecon ] && /sbin/restorecon "$errlogfile" | ||
2946 | 73 | if [ ! -d "$datadir/mysql" ] ; then | ||
2947 | 74 | # First, make sure $datadir is there with correct permissions | ||
2948 | 75 | if [ ! -e "$datadir" -a ! -h "$datadir" ] | ||
2949 | 76 | then | ||
2950 | 77 | mkdir -p "$datadir" || exit 1 | ||
2951 | 78 | fi | ||
2952 | 79 | chown mysql:mysql "$datadir" | ||
2953 | 80 | chmod 0755 "$datadir" | ||
2954 | 81 | [ -x /sbin/restorecon ] && /sbin/restorecon "$datadir" | ||
2955 | 82 | # Now create the database | ||
2956 | 83 | action $"Initializing MySQL database: " /usr/bin/mysql_install_db --datadir="$datadir" --user=mysql | ||
2957 | 84 | ret=$? | ||
2958 | 85 | chown -R mysql:mysql "$datadir" | ||
2959 | 86 | if [ $ret -ne 0 ] ; then | ||
2960 | 87 | return $ret | ||
2961 | 88 | fi | ||
2962 | 89 | fi | ||
2963 | 90 | chown mysql:mysql "$datadir" | ||
2964 | 91 | chmod 0755 "$datadir" | ||
2965 | 92 | # Pass all the options determined above, to ensure consistent behavior. | ||
2966 | 93 | # In many cases mysqld_safe would arrive at the same conclusions anyway | ||
2967 | 94 | # but we need to be sure. (An exception is that we don't force the | ||
2968 | 95 | # log-error setting, since this script doesn't really depend on that, | ||
2969 | 96 | # and some users might prefer to configure logging to syslog.) | ||
2970 | 97 | # Note: set --basedir to prevent probes that might trigger SELinux | ||
2971 | 98 | # alarms, per bug #547485 | ||
2972 | 99 | $exec --datadir="$datadir" --socket="$socketfile" \ | ||
2973 | 100 | --pid-file="$mypidfile" \ | ||
2974 | 101 | --basedir=/usr --user=mysql >/dev/null 2>&1 & | ||
2975 | 102 | safe_pid=$! | ||
2976 | 103 | # Spin for a maximum of N seconds waiting for the server to come up; | ||
2977 | 104 | # exit the loop immediately if mysqld_safe process disappears. | ||
2978 | 105 | # Rather than assuming we know a valid username, accept an "access | ||
2979 | 106 | # denied" response as meaning the server is functioning. | ||
2980 | 107 | ret=0 | ||
2981 | 108 | TIMEOUT="$STARTTIMEOUT" | ||
2982 | 109 | while [ $TIMEOUT -gt 0 ]; do | ||
2983 | 110 | RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1` && break | ||
2984 | 111 | echo "$RESPONSE" | grep -q "Access denied for user" && break | ||
2985 | 112 | if ! /bin/kill -0 $safe_pid 2>/dev/null; then | ||
2986 | 113 | echo "MySQL Daemon failed to start." | ||
2987 | 114 | ret=1 | ||
2988 | 115 | break | ||
2989 | 116 | fi | ||
2990 | 117 | sleep 1 | ||
2991 | 118 | let TIMEOUT=${TIMEOUT}-1 | ||
2992 | 119 | done | ||
2993 | 120 | if [ $TIMEOUT -eq 0 ]; then | ||
2994 | 121 | echo "Timeout error occurred trying to start MySQL Daemon." | ||
2995 | 122 | ret=1 | ||
2996 | 123 | fi | ||
2997 | 124 | if [ $ret -eq 0 ]; then | ||
2998 | 125 | action $"Starting $prog: " /bin/true | ||
2999 | 126 | touch $lockfile | ||
3000 | 127 | else | ||
3001 | 128 | action $"Starting $prog: " /bin/false | ||
3002 | 129 | fi | ||
3003 | 130 | fi | ||
3004 | 131 | return $ret | ||
3005 | 132 | } | ||
3006 | 133 | |||
3007 | 134 | stop(){ | ||
3008 | 135 | if [ ! -f "$mypidfile" ]; then | ||
3009 | 136 | # not running; per LSB standards this is "ok" | ||
3010 | 137 | action $"Stopping $prog: " /bin/true | ||
3011 | 138 | return 0 | ||
3012 | 139 | fi | ||
3013 | 140 | MYSQLPID=`cat "$mypidfile"` | ||
3014 | 141 | if [ -n "$MYSQLPID" ]; then | ||
3015 | 142 | /bin/kill "$MYSQLPID" >/dev/null 2>&1 | ||
3016 | 143 | ret=$? | ||
3017 | 144 | if [ $ret -eq 0 ]; then | ||
3018 | 145 | TIMEOUT="$STOPTIMEOUT" | ||
3019 | 146 | while [ $TIMEOUT -gt 0 ]; do | ||
3020 | 147 | /bin/kill -0 "$MYSQLPID" >/dev/null 2>&1 || break | ||
3021 | 148 | sleep 1 | ||
3022 | 149 | let TIMEOUT=${TIMEOUT}-1 | ||
3023 | 150 | done | ||
3024 | 151 | if [ $TIMEOUT -eq 0 ]; then | ||
3025 | 152 | echo "Timeout error occurred trying to stop MySQL Daemon." | ||
3026 | 153 | ret=1 | ||
3027 | 154 | action $"Stopping $prog: " /bin/false | ||
3028 | 155 | else | ||
3029 | 156 | rm -f $lockfile | ||
3030 | 157 | rm -f "$socketfile" | ||
3031 | 158 | action $"Stopping $prog: " /bin/true | ||
3032 | 159 | fi | ||
3033 | 160 | else | ||
3034 | 161 | action $"Stopping $prog: " /bin/false | ||
3035 | 162 | fi | ||
3036 | 163 | else | ||
3037 | 164 | # failed to read pidfile, probably insufficient permissions | ||
3038 | 165 | action $"Stopping $prog: " /bin/false | ||
3039 | 166 | ret=4 | ||
3040 | 167 | fi | ||
3041 | 168 | return $ret | ||
3042 | 169 | } | ||
3043 | 170 | |||
3044 | 171 | restart(){ | ||
3045 | 172 | stop | ||
3046 | 173 | start | ||
3047 | 174 | } | ||
3048 | 175 | |||
3049 | 176 | condrestart(){ | ||
3050 | 177 | [ -e $lockfile ] && restart || : | ||
3051 | 178 | } | ||
3052 | 179 | |||
3053 | 180 | |||
3054 | 181 | # See how we were called. | ||
3055 | 182 | case "$1" in | ||
3056 | 183 | start) | ||
3057 | 184 | start | ||
3058 | 185 | ;; | ||
3059 | 186 | stop) | ||
3060 | 187 | stop | ||
3061 | 188 | ;; | ||
3062 | 189 | status) | ||
3063 | 190 | status -p "$mypidfile" $prog | ||
3064 | 191 | ;; | ||
3065 | 192 | restart) | ||
3066 | 193 | restart | ||
3067 | 194 | ;; | ||
3068 | 195 | condrestart|try-restart) | ||
3069 | 196 | condrestart | ||
3070 | 197 | ;; | ||
3071 | 198 | reload) | ||
3072 | 199 | exit 3 | ||
3073 | 200 | ;; | ||
3074 | 201 | force-reload) | ||
3075 | 202 | restart | ||
3076 | 203 | ;; | ||
3077 | 204 | *) | ||
3078 | 205 | echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" | ||
3079 | 206 | exit 2 | ||
3080 | 207 | esac | ||
3081 | 208 | |||
3082 | 209 | exit $? | ||
3083 | 0 | 210 | ||
3084 | === added file 'Percona-Server/packaging/rpm-uln/mysql.spec.sh' | |||
3085 | --- Percona-Server/packaging/rpm-uln/mysql.spec.sh 1970-01-01 00:00:00 +0000 | |||
3086 | +++ Percona-Server/packaging/rpm-uln/mysql.spec.sh 2013-01-31 20:19:36 +0000 | |||
3087 | @@ -0,0 +1,1959 @@ | |||
3088 | 1 | # | ||
3089 | 2 | # This file was modified by Oracle in 2011 and later. | ||
3090 | 3 | # Details of the modifications are described in the "changelog" section. | ||
3091 | 4 | # | ||
3092 | 5 | # Modifications copyright (c) 2011, 2012, Oracle and/or its | ||
3093 | 6 | # affiliates. All rights reserved. | ||
3094 | 7 | # | ||
3095 | 8 | # This program is free software; you can redistribute it and/or modify | ||
3096 | 9 | # it under the terms of the GNU General Public License as published by | ||
3097 | 10 | # the Free Software Foundation; version 2 of the License. | ||
3098 | 11 | # | ||
3099 | 12 | # This program is distributed in the hope that it will be useful, | ||
3100 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
3101 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
3102 | 15 | # GNU General Public License for more details. | ||
3103 | 16 | # | ||
3104 | 17 | # You should have received a copy of the GNU General Public License | ||
3105 | 18 | # along with this program; see the file COPYING. If not, write to the | ||
3106 | 19 | # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston | ||
3107 | 20 | # MA 02110-1301 USA. | ||
3108 | 21 | |||
3109 | 22 | ############################################################################## | ||
3110 | 23 | # Some common macro definitions | ||
3111 | 24 | ############################################################################## | ||
3112 | 25 | |||
3113 | 26 | # NOTE: "vendor" is used in upgrade/downgrade check, so you can't | ||
3114 | 27 | # change these, has to be exactly as is. | ||
3115 | 28 | # %define mysql_old_vendor MySQL AB # Applies to traditional MySQL RPMs only. | ||
3116 | 29 | # %define mysql_vendor_2 Sun Microsystems, Inc. | ||
3117 | 30 | %define mysql_vendor Oracle and/or its affiliates | ||
3118 | 31 | |||
3119 | 32 | %define mysql_version @VERSION@ | ||
3120 | 33 | |||
3121 | 34 | %define mysqldatadir /var/lib/mysql | ||
3122 | 35 | |||
3123 | 36 | %define release 1 | ||
3124 | 37 | |||
3125 | 38 | ############################################################################## | ||
3126 | 39 | # Command line handling | ||
3127 | 40 | ############################################################################## | ||
3128 | 41 | # | ||
3129 | 42 | # To set options: | ||
3130 | 43 | # | ||
3131 | 44 | # $ rpmbuild --define="option <x>" ... | ||
3132 | 45 | # | ||
3133 | 46 | |||
3134 | 47 | # ---------------------------------------------------------------------------- | ||
3135 | 48 | # Commercial builds | ||
3136 | 49 | # ---------------------------------------------------------------------------- | ||
3137 | 50 | %if %{undefined commercial} | ||
3138 | 51 | %define commercial 0 | ||
3139 | 52 | %endif | ||
3140 | 53 | |||
3141 | 54 | # ---------------------------------------------------------------------------- | ||
3142 | 55 | # Source name | ||
3143 | 56 | # ---------------------------------------------------------------------------- | ||
3144 | 57 | %if %{undefined src_base} | ||
3145 | 58 | %define src_base mysql | ||
3146 | 59 | %endif | ||
3147 | 60 | %define src_dir %{src_base}-%{mysql_version} | ||
3148 | 61 | |||
3149 | 62 | # ---------------------------------------------------------------------------- | ||
3150 | 63 | # Feature set (storage engines, options). Default to community (everything) | ||
3151 | 64 | # ---------------------------------------------------------------------------- | ||
3152 | 65 | %if %{undefined feature_set} | ||
3153 | 66 | %define feature_set community | ||
3154 | 67 | %endif | ||
3155 | 68 | |||
3156 | 69 | # ---------------------------------------------------------------------------- | ||
3157 | 70 | # Server comment strings | ||
3158 | 71 | # ---------------------------------------------------------------------------- | ||
3159 | 72 | %if %{undefined compilation_comment_debug} | ||
3160 | 73 | %define compilation_comment_debug MySQL Community Server - Debug (GPL) | ||
3161 | 74 | %endif | ||
3162 | 75 | %if %{undefined compilation_comment_release} | ||
3163 | 76 | %define compilation_comment_release MySQL Community Server (GPL) | ||
3164 | 77 | %endif | ||
3165 | 78 | |||
3166 | 79 | # ---------------------------------------------------------------------------- | ||
3167 | 80 | # Product and server suffixes | ||
3168 | 81 | # ---------------------------------------------------------------------------- | ||
3169 | 82 | %if %{undefined product_suffix} | ||
3170 | 83 | %if %{defined short_product_tag} | ||
3171 | 84 | %define product_suffix -%{short_product_tag} | ||
3172 | 85 | %else | ||
3173 | 86 | %define product_suffix %{nil} | ||
3174 | 87 | %endif | ||
3175 | 88 | %endif | ||
3176 | 89 | |||
3177 | 90 | %if %{undefined server_suffix} | ||
3178 | 91 | %define server_suffix %{nil} | ||
3179 | 92 | %endif | ||
3180 | 93 | |||
3181 | 94 | # ---------------------------------------------------------------------------- | ||
3182 | 95 | # Distribution support | ||
3183 | 96 | # ---------------------------------------------------------------------------- | ||
3184 | 97 | %if %{undefined distro_specific} | ||
3185 | 98 | %define distro_specific 0 | ||
3186 | 99 | %endif | ||
3187 | 100 | %if %{distro_specific} | ||
3188 | 101 | %if %(test -f /etc/oracle-release && echo 1 || echo 0) | ||
3189 | 102 | %define elver %(rpm -qf --qf '%%{version}\\n' /etc/oracle-release | sed -e 's/^\\([0-9]*\\).*/\\1/g') | ||
3190 | 103 | %if "%elver" == "6" | ||
3191 | 104 | %define distro_description Oracle Linux 6 | ||
3192 | 105 | %define distro_releasetag el6 | ||
3193 | 106 | %define distro_buildreq gcc-c++ ncurses-devel perl readline-devel time zlib-devel | ||
3194 | 107 | %define distro_requires chkconfig coreutils grep procps shadow-utils net-tools | ||
3195 | 108 | %else | ||
3196 | 109 | %{error:Oracle Linux %{elver} is unsupported} | ||
3197 | 110 | %endif | ||
3198 | 111 | %else | ||
3199 | 112 | %if %(test -f /etc/redhat-release && echo 1 || echo 0) | ||
3200 | 113 | %define rhelver %(rpm -qf --qf '%%{version}\\n' /etc/redhat-release | sed -e 's/^\\([0-9]*\\).*/\\1/g') | ||
3201 | 114 | %if "%rhelver" == "5" | ||
3202 | 115 | %define distro_description Red Hat Enterprise Linux 5 | ||
3203 | 116 | %define distro_releasetag rhel5 | ||
3204 | 117 | %define distro_buildreq gcc-c++ gperf ncurses-devel perl readline-devel time zlib-devel | ||
3205 | 118 | %define distro_requires chkconfig coreutils grep procps shadow-utils net-tools | ||
3206 | 119 | %else | ||
3207 | 120 | %if "%rhelver" == "6" | ||
3208 | 121 | %define distro_description Red Hat Enterprise Linux 6 | ||
3209 | 122 | %define distro_releasetag rhel6 | ||
3210 | 123 | %define distro_buildreq gcc-c++ ncurses-devel perl readline-devel time zlib-devel | ||
3211 | 124 | %define distro_requires chkconfig coreutils grep procps shadow-utils net-tools | ||
3212 | 125 | %else | ||
3213 | 126 | %{error:Red Hat Enterprise Linux %{rhelver} is unsupported} | ||
3214 | 127 | %endif | ||
3215 | 128 | %endif | ||
3216 | 129 | %else | ||
3217 | 130 | %if %(test -f /etc/SuSE-release && echo 1 || echo 0) | ||
3218 | 131 | %define susever %(rpm -qf --qf '%%{version}\\n' /etc/SuSE-release | cut -d. -f1) | ||
3219 | 132 | %if "%susever" == "10" | ||
3220 | 133 | %define distro_description SUSE Linux Enterprise Server 10 | ||
3221 | 134 | %define distro_releasetag sles10 | ||
3222 | 135 | %define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client readline-devel zlib-devel | ||
3223 | 136 | %define distro_requires aaa_base coreutils grep procps pwdutils | ||
3224 | 137 | %else | ||
3225 | 138 | %if "%susever" == "11" | ||
3226 | 139 | %define distro_description SUSE Linux Enterprise Server 11 | ||
3227 | 140 | %define distro_releasetag sles11 | ||
3228 | 141 | %define distro_buildreq gcc-c++ gdbm-devel gperf ncurses-devel openldap2-client procps pwdutils readline-devel zlib-devel | ||
3229 | 142 | %define distro_requires aaa_base coreutils grep procps pwdutils | ||
3230 | 143 | %else | ||
3231 | 144 | %{error:SuSE %{susever} is unsupported} | ||
3232 | 145 | %endif | ||
3233 | 146 | %endif | ||
3234 | 147 | %else | ||
3235 | 148 | %{error:Unsupported distribution} | ||
3236 | 149 | %endif | ||
3237 | 150 | %endif | ||
3238 | 151 | %endif | ||
3239 | 152 | %else | ||
3240 | 153 | %define generic_kernel %(uname -r | cut -d. -f1-2) | ||
3241 | 154 | %define distro_description Generic Linux (kernel %{generic_kernel}) | ||
3242 | 155 | %define distro_releasetag linux%{generic_kernel} | ||
3243 | 156 | %define distro_buildreq gcc-c++ gperf ncurses-devel perl readline-devel time zlib-devel | ||
3244 | 157 | %define distro_requires coreutils grep procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd | ||
3245 | 158 | %endif | ||
3246 | 159 | |||
3247 | 160 | # Avoid debuginfo RPMs, leaves binaries unstripped | ||
3248 | 161 | %define debug_package %{nil} | ||
3249 | 162 | |||
3250 | 163 | # Hack to work around bug in RHEL5 __os_install_post macro, wrong inverted | ||
3251 | 164 | # test for __debug_package | ||
3252 | 165 | %define __strip /bin/true | ||
3253 | 166 | |||
3254 | 167 | # ---------------------------------------------------------------------------- | ||
3255 | 168 | # Support optional "tcmalloc" library (experimental) | ||
3256 | 169 | # ---------------------------------------------------------------------------- | ||
3257 | 170 | %if %{defined malloc_lib_target} | ||
3258 | 171 | %define WITH_TCMALLOC 1 | ||
3259 | 172 | %else | ||
3260 | 173 | %define WITH_TCMALLOC 0 | ||
3261 | 174 | %endif | ||
3262 | 175 | |||
3263 | 176 | ############################################################################## | ||
3264 | 177 | # Configuration based upon above user input, not to be set directly | ||
3265 | 178 | ############################################################################## | ||
3266 | 179 | |||
3267 | 180 | %if %{commercial} | ||
3268 | 181 | %define license_files_server %{src_dir}/LICENSE.mysql | ||
3269 | 182 | %define license_type Commercial | ||
3270 | 183 | %else | ||
3271 | 184 | %define license_files_server %{src_dir}/COPYING %{src_dir}/README | ||
3272 | 185 | %define license_type GPL | ||
3273 | 186 | %endif | ||
3274 | 187 | |||
3275 | 188 | ############################################################################## | ||
3276 | 189 | # Main spec file section | ||
3277 | 190 | ############################################################################## | ||
3278 | 191 | |||
3279 | 192 | Name: mysql%{product_suffix} | ||
3280 | 193 | Summary: MySQL client programs and shared libraries | ||
3281 | 194 | Group: Applications/Databases | ||
3282 | 195 | Version: @MYSQL_RPM_VERSION@ | ||
3283 | 196 | Release: %{release}%{?distro_releasetag:.%{distro_releasetag}} | ||
3284 | 197 | # exceptions allow client libraries to be linked with most open source SW, | ||
3285 | 198 | # not only GPL code. | ||
3286 | 199 | License: Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. All rights reserved. Under %{license_type} license as shown in the Description field. | ||
3287 | 200 | URL: http://www.mysql.com/ | ||
3288 | 201 | Packager: MySQL Release Engineering <mysql-build@oss.oracle.com> | ||
3289 | 202 | Vendor: %{mysql_vendor} | ||
3290 | 203 | |||
3291 | 204 | # Regression tests may take a long time, override the default to skip them | ||
3292 | 205 | %{!?runselftest:%global runselftest 1} | ||
3293 | 206 | |||
3294 | 207 | # Upstream has a mirror redirector for downloads, so the URL is hard to | ||
3295 | 208 | # represent statically. You can get the tarball by following a link from | ||
3296 | 209 | # http://dev.mysql.com/downloads/mysql/ | ||
3297 | 210 | Source0: %{src_dir}.tar.gz | ||
3298 | 211 | # The upstream tarball includes non-free documentation that only the | ||
3299 | 212 | # copyright holder (MySQL -> Sun -> Oracle) may ship. | ||
3300 | 213 | # To remove the non-free documentation, run this script after downloading | ||
3301 | 214 | # the tarball into the current directory: | ||
3302 | 215 | # ./generate-tarball.sh $VERSION | ||
3303 | 216 | # Then, source name changes: | ||
3304 | 217 | # Source0: mysql-%{version}-nodocs.tar.gz | ||
3305 | 218 | %if %{commercial} | ||
3306 | 219 | NoSource: 0 | ||
3307 | 220 | %endif | ||
3308 | 221 | Source1: generate-tarball.sh | ||
3309 | 222 | Source2: mysql.init | ||
3310 | 223 | Source3: my.cnf | ||
3311 | 224 | Source4: scriptstub.c | ||
3312 | 225 | Source5: my_config.h | ||
3313 | 226 | # The below is only needed for packages built outside MySQL -> Sun -> Oracle: | ||
3314 | 227 | Source6: README.mysql-docs | ||
3315 | 228 | Source9: mysql-embedded-check.c | ||
3316 | 229 | # Working around perl dependency checking bug in rpm FTTB. Remove later. | ||
3317 | 230 | Source999: filter-requires-mysql.sh | ||
3318 | 231 | |||
3319 | 232 | # Patch1: mysql-ssl-multilib.patch Not needed by MySQL (yaSSL), will not work in 5.5 (cmake) | ||
3320 | 233 | Patch2: mysql-5.5-errno.patch | ||
3321 | 234 | Patch4: mysql-5.5-testing.patch | ||
3322 | 235 | Patch5: mysql-install-test.patch | ||
3323 | 236 | Patch6: mysql-5.5-stack-guard.patch | ||
3324 | 237 | # Patch7: mysql-disable-test.patch Already fixed in current 5.1 | ||
3325 | 238 | # Patch8: mysql-setschedparam.patch Will not work in 5.5 (cmake) | ||
3326 | 239 | # Patch9: mysql-no-docs.patch Will not work in 5.5 (cmake) | ||
3327 | 240 | Patch10: mysql-strmov.patch | ||
3328 | 241 | # Not used by MySQL | ||
3329 | 242 | # Patch12: mysql-cve-2008-7247.patch Already fixed in 5.5 | ||
3330 | 243 | Patch13: mysql-expired-certs.patch | ||
3331 | 244 | # Will not be used by MySQL | ||
3332 | 245 | # Patch14: mysql-missing-string-code.patch Undecided, will not work in 5.5 (cmake) | ||
3333 | 246 | # Patch15: mysql-lowercase-bug.patch Fixed in MySQL 5.1.54 and 5.5.9 | ||
3334 | 247 | Patch16: mysql-chain-certs.patch | ||
3335 | 248 | Patch17: mysql-5.5-libdir.patch | ||
3336 | 249 | Patch18: mysql-5.5-fix-tests.patch | ||
3337 | 250 | Patch19: mysql-5.5-mtr1.patch | ||
3338 | 251 | |||
3339 | 252 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | ||
3340 | 253 | BuildRequires: %{distro_buildreq} | ||
3341 | 254 | BuildRequires: gawk | ||
3342 | 255 | # make test requires time and ps | ||
3343 | 256 | BuildRequires: procps | ||
3344 | 257 | # Socket and Time::HiRes are needed to run regression tests | ||
3345 | 258 | BuildRequires: perl(Socket), perl(Time::HiRes) | ||
3346 | 259 | |||
3347 | 260 | Requires: %{distro_requires} | ||
3348 | 261 | Requires: fileutils | ||
3349 | 262 | Requires: mysql-libs%{product_suffix} = %{version}-%{release} | ||
3350 | 263 | Requires: bash | ||
3351 | 264 | |||
3352 | 265 | # If %%{product_suffix} is non-empty, the auto-generated capability is insufficient: | ||
3353 | 266 | # We want all dependency handling to use the generic name only. | ||
3354 | 267 | # Similar in other sub-packages | ||
3355 | 268 | Provides: mysql | ||
3356 | 269 | |||
3357 | 270 | # MySQL (with caps) is upstream's spelling of their own RPMs for mysql | ||
3358 | 271 | Conflicts: MySQL | ||
3359 | 272 | # mysql-cluster used to be built from this SRPM, but no more | ||
3360 | 273 | Obsoletes: mysql-cluster < 5.1.44 | ||
3361 | 274 | # We need cross-product "Obsoletes:" to allow cross-product upgrades: | ||
3362 | 275 | Obsoletes: mysql mysql-advanced | ||
3363 | 276 | |||
3364 | 277 | # Working around perl dependency checking bug in rpm FTTB. Remove later. | ||
3365 | 278 | %global __perl_requires %{SOURCE999} | ||
3366 | 279 | |||
3367 | 280 | %description -n mysql%{product_suffix} | ||
3368 | 281 | MySQL is a multi-user, multi-threaded SQL database server. MySQL is a | ||
3369 | 282 | client/server implementation consisting of a server daemon (mysqld) | ||
3370 | 283 | and many different client programs and libraries. The base package | ||
3371 | 284 | contains the standard MySQL client programs and generic MySQL files. | ||
3372 | 285 | |||
3373 | 286 | The MySQL software has Dual Licensing, which means you can use the MySQL | ||
3374 | 287 | software free of charge under the GNU General Public License | ||
3375 | 288 | (http://www.gnu.org/licenses/). You can also purchase commercial MySQL | ||
3376 | 289 | licenses from %{mysql_vendor} if you do not wish to be bound by the terms of | ||
3377 | 290 | the GPL. See the chapter "Licensing and Support" in the manual for | ||
3378 | 291 | further info. | ||
3379 | 292 | |||
3380 | 293 | %package -n mysql-libs%{product_suffix} | ||
3381 | 294 | |||
3382 | 295 | Summary: The shared libraries required for MySQL clients | ||
3383 | 296 | Group: Applications/Databases | ||
3384 | 297 | Requires: /sbin/ldconfig | ||
3385 | 298 | Provides: mysql-libs | ||
3386 | 299 | Obsoletes: mysql-libs mysql-libs-advanced | ||
3387 | 300 | |||
3388 | 301 | %description -n mysql-libs%{product_suffix} | ||
3389 | 302 | The mysql-libs package provides the essential shared libraries for any | ||
3390 | 303 | MySQL client program or interface. You will need to install this package | ||
3391 | 304 | to use any other MySQL package or any clients that need to connect to a | ||
3392 | 305 | MySQL server. | ||
3393 | 306 | |||
3394 | 307 | %package -n mysql-server%{product_suffix} | ||
3395 | 308 | |||
3396 | 309 | Summary: The MySQL server and related files | ||
3397 | 310 | Group: Applications/Databases | ||
3398 | 311 | Requires: mysql%{product_suffix} = %{version}-%{release} | ||
3399 | 312 | Requires: sh-utils | ||
3400 | 313 | Requires(pre): /usr/sbin/useradd | ||
3401 | 314 | Requires(post): chkconfig | ||
3402 | 315 | Requires(preun): chkconfig | ||
3403 | 316 | # This is for /sbin/service | ||
3404 | 317 | Requires(preun): initscripts | ||
3405 | 318 | Requires(postun): initscripts | ||
3406 | 319 | # mysqlhotcopy needs DBI/DBD support | ||
3407 | 320 | Requires: perl-DBI, perl-DBD-MySQL | ||
3408 | 321 | Provides: mysql-server | ||
3409 | 322 | Conflicts: MySQL-server | ||
3410 | 323 | Obsoletes: mysql-server mysql-server-advanced | ||
3411 | 324 | |||
3412 | 325 | %description -n mysql-server%{product_suffix} | ||
3413 | 326 | MySQL is a multi-user, multi-threaded SQL database server. MySQL is a | ||
3414 | 327 | client/server implementation consisting of a server daemon (mysqld) | ||
3415 | 328 | and many different client programs and libraries. This package contains | ||
3416 | 329 | the MySQL server and some accompanying files and directories. | ||
3417 | 330 | |||
3418 | 331 | %package -n mysql-devel%{product_suffix} | ||
3419 | 332 | |||
3420 | 333 | Summary: Files for development of MySQL applications | ||
3421 | 334 | Group: Applications/Databases | ||
3422 | 335 | Requires: mysql%{product_suffix} = %{version}-%{release} | ||
3423 | 336 | Requires: openssl-devel | ||
3424 | 337 | Provides: mysql-devel | ||
3425 | 338 | Conflicts: MySQL-devel | ||
3426 | 339 | Obsoletes: mysql-devel mysql-devel-advanced | ||
3427 | 340 | |||
3428 | 341 | %description -n mysql-devel%{product_suffix} | ||
3429 | 342 | MySQL is a multi-user, multi-threaded SQL database server. This | ||
3430 | 343 | package contains the libraries and header files that are needed for | ||
3431 | 344 | developing MySQL client applications. | ||
3432 | 345 | |||
3433 | 346 | %package -n mysql-embedded%{product_suffix} | ||
3434 | 347 | |||
3435 | 348 | Summary: MySQL as an embeddable library | ||
3436 | 349 | Group: Applications/Databases | ||
3437 | 350 | Provides: mysql-embedded | ||
3438 | 351 | Obsoletes: mysql-embedded mysql-embedded-advanced | ||
3439 | 352 | |||
3440 | 353 | %description -n mysql-embedded%{product_suffix} | ||
3441 | 354 | MySQL is a multi-user, multi-threaded SQL database server. This | ||
3442 | 355 | package contains a version of the MySQL server that can be embedded | ||
3443 | 356 | into a client application instead of running as a separate process, | ||
3444 | 357 | as well as a command line client with such an embedded server. | ||
3445 | 358 | |||
3446 | 359 | %package -n mysql-embedded-devel%{product_suffix} | ||
3447 | 360 | |||
3448 | 361 | Summary: Development files for MySQL as an embeddable library | ||
3449 | 362 | Group: Applications/Databases | ||
3450 | 363 | Requires: mysql-embedded%{product_suffix} = %{version}-%{release} | ||
3451 | 364 | Requires: mysql-devel%{product_suffix} = %{version}-%{release} | ||
3452 | 365 | Provides: mysql-embedded-devel | ||
3453 | 366 | Obsoletes: mysql-embedded-devel mysql-embedded-devel-advanced | ||
3454 | 367 | |||
3455 | 368 | %description -n mysql-embedded-devel%{product_suffix} | ||
3456 | 369 | MySQL is a multi-user, multi-threaded SQL database server. This | ||
3457 | 370 | package contains files needed for developing and testing with | ||
3458 | 371 | the embedded version of the MySQL server. | ||
3459 | 372 | |||
3460 | 373 | %package -n mysql-test%{product_suffix} | ||
3461 | 374 | |||
3462 | 375 | Summary: The test suite distributed with MySQL | ||
3463 | 376 | Group: Applications/Databases | ||
3464 | 377 | Requires: mysql%{product_suffix} = %{version}-%{release} | ||
3465 | 378 | Requires: mysql-server%{product_suffix} = %{version}-%{release} | ||
3466 | 379 | Provides: mysql-test | ||
3467 | 380 | Conflicts: MySQL-test | ||
3468 | 381 | Obsoletes: mysql-test mysql-test-advanced | ||
3469 | 382 | |||
3470 | 383 | %description -n mysql-test%{product_suffix} | ||
3471 | 384 | MySQL is a multi-user, multi-threaded SQL database server. This | ||
3472 | 385 | package contains the regression test suite distributed with | ||
3473 | 386 | the MySQL sources. | ||
3474 | 387 | |||
3475 | 388 | %prep | ||
3476 | 389 | %setup -T -a 0 -c -n %{src_dir} | ||
3477 | 390 | |||
3478 | 391 | cd %{src_dir} # read about "%setup -n" | ||
3479 | 392 | # %patch1 -p1 | ||
3480 | 393 | %patch2 -p1 | ||
3481 | 394 | # %patch4 -p1 TODO / FIXME: if wanted, needs to be adapted to new mysql-test-run setup | ||
3482 | 395 | %patch5 -p1 | ||
3483 | 396 | %patch6 -p1 | ||
3484 | 397 | # %patch8 -p1 | ||
3485 | 398 | # %patch9 -p1 | ||
3486 | 399 | # %patch10 -p1 | ||
3487 | 400 | # %patch13 -p1 | ||
3488 | 401 | # %patch14 -p1 | ||
3489 | 402 | %patch16 -p1 | ||
3490 | 403 | %patch17 -p1 | ||
3491 | 404 | %patch18 -p1 | ||
3492 | 405 | %patch19 -p1 | ||
3493 | 406 | |||
3494 | 407 | # workaround for upstream bug #56342 | ||
3495 | 408 | rm -f mysql-test/t/ssl_8k_key-master.opt | ||
3496 | 409 | |||
3497 | 410 | %build | ||
3498 | 411 | |||
3499 | 412 | # Fail quickly and obviously if user tries to build as root | ||
3500 | 413 | %if %runselftest | ||
3501 | 414 | if [ x"`id -u`" = x0 ]; then | ||
3502 | 415 | echo "The MySQL regression tests may fail if run as root." | ||
3503 | 416 | echo "If you really need to build the RPM as root, use" | ||
3504 | 417 | echo "--define='runselftest 0' to skip the regression tests." | ||
3505 | 418 | exit 1 | ||
3506 | 419 | fi | ||
3507 | 420 | %endif | ||
3508 | 421 | |||
3509 | 422 | # Be strict about variables, bail at earliest opportunity, etc. | ||
3510 | 423 | set -eu | ||
3511 | 424 | |||
3512 | 425 | # Optional package files | ||
3513 | 426 | touch optional-files-devel | ||
3514 | 427 | |||
3515 | 428 | # | ||
3516 | 429 | # Set environment in order of preference, MYSQL_BUILD_* first, then variable | ||
3517 | 430 | # name, finally a default. RPM_OPT_FLAGS is assumed to be a part of the | ||
3518 | 431 | # default RPM build environment. | ||
3519 | 432 | # | ||
3520 | 433 | # We set CXX=gcc by default to support so-called 'generic' binaries, where we | ||
3521 | 434 | # do not have a dependancy on libgcc/libstdc++. This only works while we do | ||
3522 | 435 | # not require C++ features such as exceptions, and may need to be removed at | ||
3523 | 436 | # a later date. | ||
3524 | 437 | # | ||
3525 | 438 | |||
3526 | 439 | # This is a hack, $RPM_OPT_FLAGS on ia64 hosts contains flags which break | ||
3527 | 440 | # the compile in cmd-line-utils/readline - needs investigation, but for now | ||
3528 | 441 | # we simply unset it and use those specified directly in cmake. | ||
3529 | 442 | %if "%{_arch}" == "ia64" | ||
3530 | 443 | RPM_OPT_FLAGS= | ||
3531 | 444 | %endif | ||
3532 | 445 | |||
3533 | 446 | # This goes in sync with Patch19. "rm" is faster than "patch" for this. | ||
3534 | 447 | rm -rf %{src_dir}/mysql-test/lib/v1 | ||
3535 | 448 | |||
3536 | 449 | export PATH=${MYSQL_BUILD_PATH:-$PATH} | ||
3537 | 450 | export CC=${MYSQL_BUILD_CC:-${CC:-gcc}} | ||
3538 | 451 | export CXX=${MYSQL_BUILD_CXX:-${CXX:-gcc}} | ||
3539 | 452 | export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}} | ||
3540 | 453 | # Following "%ifarch" developed by RedHat, MySQL/Oracle does not support/maintain Linux/Sparc: | ||
3541 | 454 | # gcc seems to have some bugs on sparc as of 4.4.1, back off optimization | ||
3542 | 455 | # submitted as bz #529298 | ||
3543 | 456 | %ifarch sparc sparcv9 sparc64 | ||
3544 | 457 | CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" ` | ||
3545 | 458 | %endif | ||
3546 | 459 | export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti}} | ||
3547 | 460 | export LDFLAGS=${MYSQL_BUILD_LDFLAGS:-${LDFLAGS:-}} | ||
3548 | 461 | export CMAKE=${MYSQL_BUILD_CMAKE:-${CMAKE:-cmake}} | ||
3549 | 462 | export MAKE_JFLAG=${MYSQL_BUILD_MAKE_JFLAG:-%{?_smp_mflags}} | ||
3550 | 463 | |||
3551 | 464 | # Build debug mysqld and libmysqld.a | ||
3552 | 465 | mkdir debug | ||
3553 | 466 | ( | ||
3554 | 467 | cd debug | ||
3555 | 468 | # Attempt to remove any optimisation flags from the debug build | ||
3556 | 469 | CFLAGS=`echo " ${CFLAGS} " | \ | ||
3557 | 470 | sed -e 's/ -O[0-9]* / /' \ | ||
3558 | 471 | -e 's/ -unroll2 / /' \ | ||
3559 | 472 | -e 's/ -ip / /' \ | ||
3560 | 473 | -e 's/^ //' \ | ||
3561 | 474 | -e 's/ $//'` | ||
3562 | 475 | CXXFLAGS=`echo " ${CXXFLAGS} " | \ | ||
3563 | 476 | sed -e 's/ -O[0-9]* / /' \ | ||
3564 | 477 | -e 's/ -unroll2 / /' \ | ||
3565 | 478 | -e 's/ -ip / /' \ | ||
3566 | 479 | -e 's/^ //' \ | ||
3567 | 480 | -e 's/ $//'` | ||
3568 | 481 | # XXX: MYSQL_UNIX_ADDR should be in cmake/* but mysql_version is included before | ||
3569 | 482 | # XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM | ||
3570 | 483 | ${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \ | ||
3571 | 484 | -DCMAKE_BUILD_TYPE=Debug \ | ||
3572 | 485 | -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \ | ||
3573 | 486 | -DFEATURE_SET="%{feature_set}" \ | ||
3574 | 487 | -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \ | ||
3575 | 488 | -DMYSQL_SERVER_SUFFIX="%{server_suffix}" | ||
3576 | 489 | echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/config.h ; echo END_DEBUG_CONFIG | ||
3577 | 490 | make ${MAKE_JFLAG} VERBOSE=1 | ||
3578 | 491 | ) | ||
3579 | 492 | # Build full release | ||
3580 | 493 | mkdir release | ||
3581 | 494 | ( | ||
3582 | 495 | cd release | ||
3583 | 496 | # XXX: MYSQL_UNIX_ADDR should be in cmake/* but mysql_version is included before | ||
3584 | 497 | # XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM | ||
3585 | 498 | ${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \ | ||
3586 | 499 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
3587 | 500 | -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \ | ||
3588 | 501 | -DFEATURE_SET="%{feature_set}" \ | ||
3589 | 502 | -DCOMPILATION_COMMENT="%{compilation_comment_release}" \ | ||
3590 | 503 | -DMYSQL_SERVER_SUFFIX="%{server_suffix}" | ||
3591 | 504 | echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG | ||
3592 | 505 | make ${MAKE_JFLAG} VERBOSE=1 | ||
3593 | 506 | ) | ||
3594 | 507 | |||
3595 | 508 | # TODO / FIXME: Do we need "scriptstub"? | ||
3596 | 509 | gcc $CFLAGS $LDFLAGS -o scriptstub "-DLIBDIR=\"%{_libdir}/mysql\"" %{SOURCE4} | ||
3597 | 510 | |||
3598 | 511 | # TODO / FIXME: "libmysqld.so" should have been produced above - WORK in PROGRESS | ||
3599 | 512 | # regular build will make libmysqld.a but not libmysqld.so :-( | ||
3600 | 513 | cd release | ||
3601 | 514 | mkdir libmysqld/work | ||
3602 | 515 | cd libmysqld/work | ||
3603 | 516 | ar -x ../libmysqld.a | ||
3604 | 517 | rm rpl_utility.cc.o sql_binlog.cc.o # Try-and-Error: These modules cause unresolved references | ||
3605 | 518 | gcc $CFLAGS $LDFLAGS -shared -Wl,-soname,libmysqld.so.0 -o libmysqld.so.0.0.1 \ | ||
3606 | 519 | *.o \ | ||
3607 | 520 | -lpthread -lcrypt -laio -lnsl -lssl -lcrypto -lz -lrt -lstdc++ -lm -lc | ||
3608 | 521 | # this is to check that we built a complete library | ||
3609 | 522 | cp %{SOURCE9} . | ||
3610 | 523 | ln -s libmysqld.so.0.0.1 libmysqld.so.0 | ||
3611 | 524 | gcc -I../../include -I../../../%{src_dir}/include $CFLAGS mysql-embedded-check.c libmysqld.so.0 | ||
3612 | 525 | LD_LIBRARY_PATH=. ldd ./a.out | ||
3613 | 526 | cd ../.. | ||
3614 | 527 | cd .. | ||
3615 | 528 | |||
3616 | 529 | # TODO / FIXME: autotools only? | ||
3617 | 530 | # make check | ||
3618 | 531 | |||
3619 | 532 | # TODO / FIXME: Test suite is run elsewhere in release builds - | ||
3620 | 533 | # do we need this for users who want to build from source? | ||
3621 | 534 | # Also, check whether MTR_BUILD_THREAD=auto would solve all issues | ||
3622 | 535 | %if %runselftest | ||
3623 | 536 | # hack to let 32- and 64-bit tests run concurrently on same build machine | ||
3624 | 537 | case `uname -m` in | ||
3625 | 538 | ppc64 | s390x | x86_64 | sparc64 ) | ||
3626 | 539 | MTR_BUILD_THREAD=7 | ||
3627 | 540 | ;; | ||
3628 | 541 | *) | ||
3629 | 542 | MTR_BUILD_THREAD=11 | ||
3630 | 543 | ;; | ||
3631 | 544 | esac | ||
3632 | 545 | export MTR_BUILD_THREAD | ||
3633 | 546 | |||
3634 | 547 | # if you want to change which tests are run, look at mysql-5.5-testing.patch too. | ||
3635 | 548 | (cd release && make test-bt-fast ) | ||
3636 | 549 | %endif | ||
3637 | 550 | |||
3638 | 551 | %install | ||
3639 | 552 | RBR=$RPM_BUILD_ROOT | ||
3640 | 553 | MBD=$RPM_BUILD_DIR/%{src_dir} | ||
3641 | 554 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT | ||
3642 | 555 | |||
3643 | 556 | # Ensure that needed directories exists | ||
3644 | 557 | # TODO / FIXME: needed ? install -d $RBR%{mysqldatadir}/mysql | ||
3645 | 558 | # TODO / FIXME: needed ? install -d $RBR%{_datadir}/mysql-test | ||
3646 | 559 | # TODO / FIXME: needed ? install -d $RBR%{_datadir}/mysql/SELinux/RHEL4 | ||
3647 | 560 | # TODO / FIXME: needed ? install -d $RBR%{_includedir} | ||
3648 | 561 | # TODO / FIXME: needed ? install -d $RBR%{_libdir} | ||
3649 | 562 | # TODO / FIXME: needed ? install -d $RBR%{_mandir} | ||
3650 | 563 | # TODO / FIXME: needed ? install -d $RBR%{_sbindir} | ||
3651 | 564 | |||
3652 | 565 | # Install all binaries | ||
3653 | 566 | ( | ||
3654 | 567 | cd $MBD/release | ||
3655 | 568 | make DESTDIR=$RBR install | ||
3656 | 569 | ) | ||
3657 | 570 | |||
3658 | 571 | # For gcc builds, include libgcc.a in the devel subpackage (BUG 4921). Do | ||
3659 | 572 | # this in a sub-shell to ensure we don't pollute the install environment | ||
3660 | 573 | # with compiler bits. | ||
3661 | 574 | ( | ||
3662 | 575 | PATH=${MYSQL_BUILD_PATH:-$PATH} | ||
3663 | 576 | CC=${MYSQL_BUILD_CC:-${CC:-gcc}} | ||
3664 | 577 | CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}} | ||
3665 | 578 | if "${CC}" -v 2>&1 | grep '^gcc.version' >/dev/null 2>&1; then | ||
3666 | 579 | libgcc=`${CC} ${CFLAGS} --print-libgcc-file` | ||
3667 | 580 | if [ -f ${libgcc} ]; then | ||
3668 | 581 | mkdir -p $RBR%{_libdir}/mysql | ||
3669 | 582 | install -m 644 ${libgcc} $RBR%{_libdir}/mysql/libmygcc.a | ||
3670 | 583 | echo "%{_libdir}/mysql/libmygcc.a" >>optional-files-devel | ||
3671 | 584 | fi | ||
3672 | 585 | fi | ||
3673 | 586 | ) | ||
3674 | 587 | |||
3675 | 588 | # multilib header hacks | ||
3676 | 589 | # we only apply this to known Red Hat multilib arches, per bug #181335 | ||
3677 | 590 | case `uname -i` in | ||
3678 | 591 | i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 ) | ||
3679 | 592 | mv $RPM_BUILD_ROOT/usr/include/mysql/my_config.h $RPM_BUILD_ROOT/usr/include/mysql/my_config_`uname -i`.h | ||
3680 | 593 | install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/mysql/ | ||
3681 | 594 | ;; | ||
3682 | 595 | *) | ||
3683 | 596 | ;; | ||
3684 | 597 | esac | ||
3685 | 598 | |||
3686 | 599 | mkdir -p $RPM_BUILD_ROOT/var/log | ||
3687 | 600 | touch $RPM_BUILD_ROOT/var/log/mysqld.log | ||
3688 | 601 | |||
3689 | 602 | # List the installed tree for RPM package maintenance purposes. | ||
3690 | 603 | find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES | ||
3691 | 604 | |||
3692 | 605 | mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | ||
3693 | 606 | mkdir -p $RPM_BUILD_ROOT/var/run/mysqld | ||
3694 | 607 | install -m 0755 -d $RPM_BUILD_ROOT/var/lib/mysql | ||
3695 | 608 | install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysqld | ||
3696 | 609 | install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf | ||
3697 | 610 | # obsolete: mv $RPM_BUILD_ROOT/usr/sql-bench $RPM_BUILD_ROOT%{_datadir}/sql-bench # 'sql-bench' is dropped | ||
3698 | 611 | # obsolete: mv $RPM_BUILD_ROOT/usr/mysql-test $RPM_BUILD_ROOT%{_datadir}/mysql-test # 'mysql-test' is there already | ||
3699 | 612 | # 5.1.32 forgets to install the mysql-test README file | ||
3700 | 613 | # obsolete: install -m 0644 mysql-test/README $RPM_BUILD_ROOT%{_datadir}/mysql-test/README # 'README' is there already | ||
3701 | 614 | |||
3702 | 615 | mv ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysqlbug | ||
3703 | 616 | install -m 0755 scriptstub ${RPM_BUILD_ROOT}%{_bindir}/mysqlbug | ||
3704 | 617 | mv ${RPM_BUILD_ROOT}%{_bindir}/mysql_config ${RPM_BUILD_ROOT}%{_libdir}/mysql/mysql_config | ||
3705 | 618 | install -m 0755 scriptstub ${RPM_BUILD_ROOT}%{_bindir}/mysql_config | ||
3706 | 619 | |||
3707 | 620 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.a | ||
3708 | 621 | install -m 0755 release/libmysqld/work/libmysqld.so.0.0.1 ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.so.0.0.1 | ||
3709 | 622 | ln -s libmysqld.so.0.0.1 ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.so.0 | ||
3710 | 623 | ln -s libmysqld.so.0 ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqld.so | ||
3711 | 624 | |||
3712 | 625 | rm -f ${RPM_BUILD_ROOT}%{_bindir}/comp_err | ||
3713 | 626 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/comp_err.1* | ||
3714 | 627 | rm -f ${RPM_BUILD_ROOT}%{_bindir}/make_win_binary_distribution | ||
3715 | 628 | rm -f ${RPM_BUILD_ROOT}%{_bindir}/make_win_src_distribution | ||
3716 | 629 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_bin_dist.1* | ||
3717 | 630 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_src_distribution.1* | ||
3718 | 631 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la | ||
3719 | 632 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a | ||
3720 | 633 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.la | ||
3721 | 634 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.a | ||
3722 | 635 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/binary-configure | ||
3723 | 636 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/make_binary_distribution | ||
3724 | 637 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/make_sharedlib_distribution | ||
3725 | 638 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mi_test_all* | ||
3726 | 639 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/ndb-config-2-node.ini | ||
3727 | 640 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql.server | ||
3728 | 641 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysqld_multi.server | ||
3729 | 642 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/MySQL-shared-compat.spec | ||
3730 | 643 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/*.plist | ||
3731 | 644 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/preinstall | ||
3732 | 645 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/postinstall | ||
3733 | 646 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-*.spec | ||
3734 | 647 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/mysql-log-rotate | ||
3735 | 648 | rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/ChangeLog | ||
3736 | 649 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-stress-test.pl.1* | ||
3737 | 650 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mysql-test-run.pl.1* | ||
3738 | 651 | |||
3739 | 652 | mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d | ||
3740 | 653 | echo "%{_libdir}/mysql" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf | ||
3741 | 654 | |||
3742 | 655 | # The below *only* applies to builds not done by MySQL / Sun / Oracle: | ||
3743 | 656 | # copy additional docs into build tree so %%doc will find them | ||
3744 | 657 | # cp %{SOURCE6} README.mysql-docs | ||
3745 | 658 | |||
3746 | 659 | %clean | ||
3747 | 660 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT | ||
3748 | 661 | |||
3749 | 662 | %pre -n mysql-server%{product_suffix} | ||
3750 | 663 | |||
3751 | 664 | # Check if we can safely upgrade. An upgrade is only safe if it's from one | ||
3752 | 665 | # of our RPMs in the same version family. | ||
3753 | 666 | |||
3754 | 667 | # Handle both ways of spelling the capability. | ||
3755 | 668 | installed=`rpm -q --whatprovides mysql-server 2> /dev/null` | ||
3756 | 669 | if [ $? -ne 0 -o -z "$installed" ]; then | ||
3757 | 670 | installed=`rpm -q --whatprovides MySQL-server 2> /dev/null` | ||
3758 | 671 | fi | ||
3759 | 672 | if [ $? -eq 0 -a -n "$installed" ]; then | ||
3760 | 673 | installed=`echo $installed | sed 's/\([^ ]*\) .*/\1/'` # Tests have shown duplicated package names | ||
3761 | 674 | vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1` | ||
3762 | 675 | version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1` | ||
3763 | 676 | myvendor='%{mysql_vendor}' | ||
3764 | 677 | myversion='%{mysql_version}' | ||
3765 | 678 | |||
3766 | 679 | old_family=`echo $version \ | ||
3767 | 680 | | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'` | ||
3768 | 681 | new_family=`echo $myversion \ | ||
3769 | 682 | | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'` | ||
3770 | 683 | |||
3771 | 684 | [ -z "$vendor" ] && vendor='<unknown>' | ||
3772 | 685 | [ -z "$old_family" ] && old_family="<unrecognized version $version>" | ||
3773 | 686 | [ -z "$new_family" ] && new_family="<bad package specification: version $myversion>" | ||
3774 | 687 | |||
3775 | 688 | error_text= | ||
3776 | 689 | if [ "$vendor" != "$myvendor" ]; then | ||
3777 | 690 | error_text="$error_text | ||
3778 | 691 | The current MySQL server package is provided by a different | ||
3779 | 692 | vendor ($vendor) than $myvendor. | ||
3780 | 693 | Some files may be installed to different locations, including log | ||
3781 | 694 | files and the service startup script in %{_sysconfdir}/init.d/. | ||
3782 | 695 | " | ||
3783 | 696 | fi | ||
3784 | 697 | |||
3785 | 698 | if [ "$old_family" != "$new_family" ]; then | ||
3786 | 699 | error_text="$error_text | ||
3787 | 700 | Upgrading directly from MySQL $old_family to MySQL $new_family may not | ||
3788 | 701 | be safe in all cases. A manual dump and restore using mysqldump is | ||
3789 | 702 | recommended. It is important to review the MySQL manual's Upgrading | ||
3790 | 703 | section for version-specific incompatibilities. | ||
3791 | 704 | " | ||
3792 | 705 | fi | ||
3793 | 706 | |||
3794 | 707 | if [ -n "$error_text" ]; then | ||
3795 | 708 | cat <<HERE >&2 | ||
3796 | 709 | |||
3797 | 710 | ****************************************************************** | ||
3798 | 711 | A MySQL server package ($installed) is installed. | ||
3799 | 712 | $error_text | ||
3800 | 713 | A manual upgrade is required. | ||
3801 | 714 | |||
3802 | 715 | - Ensure that you have a complete, working backup of your data and my.cnf | ||
3803 | 716 | files | ||
3804 | 717 | - Shut down the MySQL server cleanly | ||
3805 | 718 | - Remove the existing MySQL packages. Usually this command will | ||
3806 | 719 | list the packages you should remove: | ||
3807 | 720 | rpm -qa | grep -i '^mysql-' | ||
3808 | 721 | |||
3809 | 722 | You may choose to use 'rpm --nodeps -ev <package-name>' to remove | ||
3810 | 723 | the package which contains the mysqlclient shared library. The | ||
3811 | 724 | library will be reinstalled by the MySQL-shared-compat package. | ||
3812 | 725 | - Install the new MySQL packages supplied by $myvendor | ||
3813 | 726 | - Ensure that the MySQL server is started | ||
3814 | 727 | - Run the 'mysql_upgrade' program | ||
3815 | 728 | |||
3816 | 729 | This is a brief description of the upgrade process. Important details | ||
3817 | 730 | can be found in the MySQL manual, in the Upgrading section. | ||
3818 | 731 | ****************************************************************** | ||
3819 | 732 | HERE | ||
3820 | 733 | exit 1 | ||
3821 | 734 | fi | ||
3822 | 735 | fi | ||
3823 | 736 | |||
3824 | 737 | /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || : | ||
3825 | 738 | /usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/bash \ | ||
3826 | 739 | -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : | ||
3827 | 740 | |||
3828 | 741 | %post -n mysql-libs%{product_suffix} | ||
3829 | 742 | /sbin/ldconfig | ||
3830 | 743 | |||
3831 | 744 | %post -n mysql-server%{product_suffix} | ||
3832 | 745 | if [ $1 = 1 ]; then | ||
3833 | 746 | /sbin/chkconfig --add mysqld | ||
3834 | 747 | fi | ||
3835 | 748 | /bin/chmod 0755 /var/lib/mysql | ||
3836 | 749 | /bin/touch /var/log/mysqld.log | ||
3837 | 750 | |||
3838 | 751 | %preun -n mysql-server%{product_suffix} | ||
3839 | 752 | if [ $1 = 0 ]; then | ||
3840 | 753 | /sbin/service mysqld stop >/dev/null 2>&1 | ||
3841 | 754 | /sbin/chkconfig --del mysqld | ||
3842 | 755 | fi | ||
3843 | 756 | |||
3844 | 757 | %postun -n mysql-libs%{product_suffix} | ||
3845 | 758 | if [ $1 = 0 ] ; then | ||
3846 | 759 | /sbin/ldconfig | ||
3847 | 760 | fi | ||
3848 | 761 | |||
3849 | 762 | %postun -n mysql-server%{product_suffix} | ||
3850 | 763 | if [ $1 -ge 1 ]; then | ||
3851 | 764 | /sbin/service mysqld condrestart >/dev/null 2>&1 || : | ||
3852 | 765 | fi | ||
3853 | 766 | |||
3854 | 767 | |||
3855 | 768 | %files -n mysql%{product_suffix} | ||
3856 | 769 | %defattr(-,root,root) | ||
3857 | 770 | %doc %{license_files_server} | ||
3858 | 771 | |||
3859 | 772 | # The below file *only* applies to builds not done by MySQL / Sun / Oracle: | ||
3860 | 773 | # %doc README.mysql-docs | ||
3861 | 774 | |||
3862 | 775 | %{_bindir}/msql2mysql | ||
3863 | 776 | %{_bindir}/mysql | ||
3864 | 777 | %{_bindir}/mysql_config | ||
3865 | 778 | %{_bindir}/mysql_find_rows | ||
3866 | 779 | %{_bindir}/mysql_waitpid | ||
3867 | 780 | %{_bindir}/mysqlaccess | ||
3868 | 781 | %{_bindir}/mysqlaccess.conf | ||
3869 | 782 | %{_bindir}/mysqladmin | ||
3870 | 783 | %{_bindir}/mysqlbinlog | ||
3871 | 784 | %{_bindir}/mysqlcheck | ||
3872 | 785 | %{_bindir}/mysqldump | ||
3873 | 786 | %{_bindir}/mysqlimport | ||
3874 | 787 | %{_bindir}/mysqlshow | ||
3875 | 788 | %{_bindir}/mysqlslap | ||
3876 | 789 | %{_bindir}/my_print_defaults | ||
3877 | 790 | |||
3878 | 791 | %{_mandir}/man1/mysql.1* | ||
3879 | 792 | %{_mandir}/man1/mysql_config.1* | ||
3880 | 793 | %{_mandir}/man1/mysql_find_rows.1* | ||
3881 | 794 | %{_mandir}/man1/mysql_waitpid.1* | ||
3882 | 795 | %{_mandir}/man1/mysqlaccess.1* | ||
3883 | 796 | %{_mandir}/man1/mysqladmin.1* | ||
3884 | 797 | %{_mandir}/man1/mysqldump.1* | ||
3885 | 798 | %{_mandir}/man1/mysqlshow.1* | ||
3886 | 799 | %{_mandir}/man1/mysqlslap.1* | ||
3887 | 800 | %{_mandir}/man1/my_print_defaults.1* | ||
3888 | 801 | |||
3889 | 802 | %{_libdir}/mysql/mysqlbug | ||
3890 | 803 | %{_libdir}/mysql/mysql_config | ||
3891 | 804 | |||
3892 | 805 | %files -n mysql-libs%{product_suffix} | ||
3893 | 806 | %defattr(-,root,root) | ||
3894 | 807 | %doc %{license_files_server} | ||
3895 | 808 | # although the default my.cnf contains only server settings, we put it in the | ||
3896 | 809 | # libs package because it can be used for client settings too. | ||
3897 | 810 | %config(noreplace) /etc/my.cnf | ||
3898 | 811 | %dir %{_libdir}/mysql | ||
3899 | 812 | %{_libdir}/mysql/libmysqlclient*.so.* | ||
3900 | 813 | /etc/ld.so.conf.d/* | ||
3901 | 814 | |||
3902 | 815 | %dir %{_datadir}/mysql | ||
3903 | 816 | %{_datadir}/mysql/english | ||
3904 | 817 | %lang(cs) %{_datadir}/mysql/czech | ||
3905 | 818 | %lang(da) %{_datadir}/mysql/danish | ||
3906 | 819 | %lang(nl) %{_datadir}/mysql/dutch | ||
3907 | 820 | %lang(et) %{_datadir}/mysql/estonian | ||
3908 | 821 | %lang(fr) %{_datadir}/mysql/french | ||
3909 | 822 | %lang(de) %{_datadir}/mysql/german | ||
3910 | 823 | %lang(el) %{_datadir}/mysql/greek | ||
3911 | 824 | %lang(hu) %{_datadir}/mysql/hungarian | ||
3912 | 825 | %lang(it) %{_datadir}/mysql/italian | ||
3913 | 826 | %lang(ja) %{_datadir}/mysql/japanese | ||
3914 | 827 | %lang(ko) %{_datadir}/mysql/korean | ||
3915 | 828 | %lang(no) %{_datadir}/mysql/norwegian | ||
3916 | 829 | %lang(no) %{_datadir}/mysql/norwegian-ny | ||
3917 | 830 | %lang(pl) %{_datadir}/mysql/polish | ||
3918 | 831 | %lang(pt) %{_datadir}/mysql/portuguese | ||
3919 | 832 | %lang(ro) %{_datadir}/mysql/romanian | ||
3920 | 833 | %lang(ru) %{_datadir}/mysql/russian | ||
3921 | 834 | %lang(sr) %{_datadir}/mysql/serbian | ||
3922 | 835 | %lang(sk) %{_datadir}/mysql/slovak | ||
3923 | 836 | %lang(es) %{_datadir}/mysql/spanish | ||
3924 | 837 | %lang(sv) %{_datadir}/mysql/swedish | ||
3925 | 838 | %lang(uk) %{_datadir}/mysql/ukrainian | ||
3926 | 839 | %{_datadir}/mysql/charsets | ||
3927 | 840 | |||
3928 | 841 | %files -n mysql-server%{product_suffix} -f release/support-files/plugins.files | ||
3929 | 842 | %defattr(-,root,root) | ||
3930 | 843 | %doc release/support-files/*.cnf | ||
3931 | 844 | %doc %{_datadir}/info/mysql.info* | ||
3932 | 845 | %doc %{src_dir}/Docs/ChangeLog | ||
3933 | 846 | %doc %{src_dir}/Docs/INFO_SRC* | ||
3934 | 847 | %doc release/Docs/INFO_BIN* | ||
3935 | 848 | |||
3936 | 849 | %{_bindir}/myisamchk | ||
3937 | 850 | %{_bindir}/myisam_ftdump | ||
3938 | 851 | %{_bindir}/myisamlog | ||
3939 | 852 | %{_bindir}/myisampack | ||
3940 | 853 | %{_bindir}/mysql_convert_table_format | ||
3941 | 854 | %{_bindir}/mysql_fix_extensions | ||
3942 | 855 | %{_bindir}/mysql_install_db | ||
3943 | 856 | %{_bindir}/mysql_plugin | ||
3944 | 857 | %{_bindir}/mysql_secure_installation | ||
3945 | 858 | %if %{commercial} | ||
3946 | 859 | %else | ||
3947 | 860 | %{_bindir}/mysql_setpermission | ||
3948 | 861 | %endif | ||
3949 | 862 | %{_bindir}/mysql_tzinfo_to_sql | ||
3950 | 863 | %{_bindir}/mysql_upgrade | ||
3951 | 864 | %{_bindir}/mysql_zap | ||
3952 | 865 | %{_bindir}/mysqlbug | ||
3953 | 866 | %{_bindir}/mysqldumpslow | ||
3954 | 867 | %{_bindir}/mysqld_multi | ||
3955 | 868 | %{_bindir}/mysqld_safe | ||
3956 | 869 | %{_bindir}/mysqlhotcopy | ||
3957 | 870 | %{_bindir}/mysqltest | ||
3958 | 871 | %{_bindir}/innochecksum | ||
3959 | 872 | %{_bindir}/perror | ||
3960 | 873 | %{_bindir}/replace | ||
3961 | 874 | %{_bindir}/resolve_stack_dump | ||
3962 | 875 | %{_bindir}/resolveip | ||
3963 | 876 | |||
3964 | 877 | /usr/libexec/mysqld | ||
3965 | 878 | /usr/libexec/mysqld-debug | ||
3966 | 879 | %{_libdir}/mysql/plugin/daemon_example.ini | ||
3967 | 880 | |||
3968 | 881 | %if %{WITH_TCMALLOC} | ||
3969 | 882 | %{_libdir}/mysql/%{malloc_lib_target} | ||
3970 | 883 | %endif | ||
3971 | 884 | |||
3972 | 885 | # obsolete by "-f release/support-files/plugins.files" above | ||
3973 | 886 | # %{_libdir}/mysql/plugin | ||
3974 | 887 | |||
3975 | 888 | %{_mandir}/man1/msql2mysql.1* | ||
3976 | 889 | %{_mandir}/man1/myisamchk.1* | ||
3977 | 890 | %{_mandir}/man1/myisamlog.1* | ||
3978 | 891 | %{_mandir}/man1/myisampack.1* | ||
3979 | 892 | %{_mandir}/man1/mysql_convert_table_format.1* | ||
3980 | 893 | %{_mandir}/man1/myisam_ftdump.1* | ||
3981 | 894 | %{_mandir}/man1/mysql.server.1* | ||
3982 | 895 | %{_mandir}/man1/mysql_fix_extensions.1* | ||
3983 | 896 | %{_mandir}/man1/mysql_install_db.1* | ||
3984 | 897 | %{_mandir}/man1/mysql_plugin.1* | ||
3985 | 898 | %{_mandir}/man1/mysql_secure_installation.1* | ||
3986 | 899 | %{_mandir}/man1/mysql_upgrade.1* | ||
3987 | 900 | %{_mandir}/man1/mysql_zap.1* | ||
3988 | 901 | %{_mandir}/man1/mysqlbug.1* | ||
3989 | 902 | %{_mandir}/man1/mysqldumpslow.1* | ||
3990 | 903 | %{_mandir}/man1/mysqlbinlog.1* | ||
3991 | 904 | %{_mandir}/man1/mysqlcheck.1* | ||
3992 | 905 | %{_mandir}/man1/mysqld_multi.1* | ||
3993 | 906 | %{_mandir}/man1/mysqld_safe.1* | ||
3994 | 907 | %{_mandir}/man1/mysqlhotcopy.1* | ||
3995 | 908 | %{_mandir}/man1/mysqlimport.1* | ||
3996 | 909 | %{_mandir}/man1/mysqlman.1* | ||
3997 | 910 | %if %{commercial} | ||
3998 | 911 | %else | ||
3999 | 912 | %{_mandir}/man1/mysql_setpermission.1* | ||
4000 | 913 | %endif | ||
4001 | 914 | %{_mandir}/man1/mysqltest.1* | ||
4002 | 915 | %{_mandir}/man1/innochecksum.1* | ||
4003 | 916 | %{_mandir}/man1/perror.1* | ||
4004 | 917 | %{_mandir}/man1/replace.1* | ||
4005 | 918 | %{_mandir}/man1/resolve_stack_dump.1* | ||
4006 | 919 | %{_mandir}/man1/resolveip.1* | ||
4007 | 920 | %{_mandir}/man1/mysql_tzinfo_to_sql.1* | ||
4008 | 921 | %{_mandir}/man8/mysqld.8* | ||
4009 | 922 | |||
4010 | 923 | %{_datadir}/mysql/errmsg-utf8.txt | ||
4011 | 924 | %{_datadir}/mysql/fill_help_tables.sql | ||
4012 | 925 | %{_datadir}/mysql/magic | ||
4013 | 926 | %{_datadir}/mysql/mysql_system_tables.sql | ||
4014 | 927 | %{_datadir}/mysql/mysql_system_tables_data.sql | ||
4015 | 928 | %{_datadir}/mysql/mysql_test_data_timezone.sql | ||
4016 | 929 | %{_datadir}/mysql/my-*.cnf | ||
4017 | 930 | %{_datadir}/mysql/config.*.ini | ||
4018 | 931 | |||
4019 | 932 | /etc/rc.d/init.d/mysqld | ||
4020 | 933 | %attr(0755,mysql,mysql) %dir /var/run/mysqld | ||
4021 | 934 | %attr(0755,mysql,mysql) %dir /var/lib/mysql | ||
4022 | 935 | %attr(0640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/mysqld.log | ||
4023 | 936 | |||
4024 | 937 | # TODO / FIXME: Do we need "libmygcc.a"? If yes, append "-f optional-files-devel" | ||
4025 | 938 | # and fix the "rm -f" list in the "install" section. | ||
4026 | 939 | %files -n mysql-devel%{product_suffix} | ||
4027 | 940 | %defattr(-,root,root) | ||
4028 | 941 | /usr/include/mysql | ||
4029 | 942 | /usr/share/aclocal/mysql.m4 | ||
4030 | 943 | %{_libdir}/mysql/libmysqlclient*.so | ||
4031 | 944 | |||
4032 | 945 | %files -n mysql-embedded%{product_suffix} | ||
4033 | 946 | %defattr(-,root,root) | ||
4034 | 947 | %doc %{license_files_server} | ||
4035 | 948 | %{_libdir}/mysql/libmysqld.so.* | ||
4036 | 949 | %{_bindir}/mysql_embedded | ||
4037 | 950 | |||
4038 | 951 | %files -n mysql-embedded-devel%{product_suffix} | ||
4039 | 952 | %defattr(-,root,root) | ||
4040 | 953 | %{_libdir}/mysql/libmysqld.so | ||
4041 | 954 | %{_bindir}/mysql_client_test_embedded | ||
4042 | 955 | %{_bindir}/mysqltest_embedded | ||
4043 | 956 | %{_mandir}/man1/mysql_client_test_embedded.1* | ||
4044 | 957 | %{_mandir}/man1/mysqltest_embedded.1* | ||
4045 | 958 | |||
4046 | 959 | %files -n mysql-test%{product_suffix} | ||
4047 | 960 | %defattr(-,root,root) | ||
4048 | 961 | %{_bindir}/mysql_client_test | ||
4049 | 962 | %attr(-,mysql,mysql) %{_datadir}/mysql-test | ||
4050 | 963 | |||
4051 | 964 | %{_mandir}/man1/mysql_client_test.1* | ||
4052 | 965 | |||
4053 | 966 | %changelog | ||
4054 | 967 | * Tue Sep 18 2012 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4055 | 968 | - Restrict the vendor check to Oracle: There is no history here | ||
4056 | 969 | which we have to allow for. | ||
4057 | 970 | |||
4058 | 971 | * Thu Jul 26 2012 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4059 | 972 | - Add the vendor and release series checks from the traditional MySQL RPM | ||
4060 | 973 | spec file, to protect against errors happening during upgrades. | ||
4061 | 974 | - Do some code alignment with the traditional MySQL RPM spec file, | ||
4062 | 975 | to make synchronous maintenance (and possibly even integration?) easier. | ||
4063 | 976 | |||
4064 | 977 | * Mon Feb 13 2012 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4065 | 978 | - Add "Provides:" lines for the generic names of the subpackages, | ||
4066 | 979 | independent of "product_suffix". | ||
4067 | 980 | |||
4068 | 981 | * Tue Feb 7 2012 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4069 | 982 | - Make "mysql_setpermission" and its man page appear in GPL builds only. | ||
4070 | 983 | |||
4071 | 984 | * Thu Nov 24 2011 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4072 | 985 | - Add two patches (#18 + #19) regarding the test suite; | ||
4073 | 986 | version 1 of "mysql-test-run.pl" had to go because the auto-detection | ||
4074 | 987 | of Perl dependencies does not handle differences between run directory | ||
4075 | 988 | and delivery location. | ||
4076 | 989 | |||
4077 | 990 | * Thu Nov 3 2011 Joerg Bruehe <joerg.bruehe@oracle.com> | ||
4078 | 991 | - Adapt from MySQL 5.1 to 5.5, tested using 5.5.17: | ||
4079 | 992 | - Done by the MySQL Build Team at Oracle: | ||
4080 | 993 | set as packager, set copyright owner and related info; | ||
4081 | 994 | - handle command line options, allowing different configurations, platforms, ... | ||
4082 | 995 | - configurations will show up in the file name as "product_suffix", | ||
4083 | 996 | - use "-n" for all subpackage specifications, | ||
4084 | 997 | - license may be GPL or commercial, mention that in the description, | ||
4085 | 998 | the license output and the included license files will vary, | ||
4086 | 999 | - commercial is "nosource", | ||
4087 | 1000 | - improve "requires" listings for different platforms, | ||
4088 | 1001 | - explicitly use "product_suffix" in the "requires" entries; | ||
4089 | 1002 | - adapt to 5.5 changes in features and function: | ||
4090 | 1003 | - remove "mysql-bench" package (files are outdated, not maintained), | ||
4091 | 1004 | - no InnoDB plugin, | ||
4092 | 1005 | - the set of plugins will vary by configuration, to control the "server" | ||
4093 | 1006 | package contents use "-f release/support-files/plugins.files" in the | ||
4094 | 1007 | "files" section, | ||
4095 | 1008 | - remove "mysqlmanager", "mysql_fix_privilege_tables", | ||
4096 | 1009 | - add "mysql_embedded", "mysql-plugin", "mysqlaccess.conf", "magic", | ||
4097 | 1010 | - "errmsg.txt" is now in UTF8: "errmsg-utf8.txt", | ||
4098 | 1011 | - adapt patches to changed code where needed, rename these to include "5.5", | ||
4099 | 1012 | - stop using patches which are not applicable to 5.5; | ||
4100 | 1013 | - 5.5 uses a different way of building: | ||
4101 | 1014 | - autotools are replaced by cmake, | ||
4102 | 1015 | - both a "release" and a "debug" server are built in separate subtrees | ||
4103 | 1016 | ("out of source"!), this also affects path names in further handling, | ||
4104 | 1017 | - the debug server is added to the "server" subpackage, | ||
4105 | 1018 | - add "mysql-5.5-libdir.patch" to handle file placement at user site. | ||
4106 | 1019 | |||
4107 | 1020 | * Mon Dec 20 2010 Tom Lane <tgl@redhat.com> 5.1.52-1.1 | ||
4108 | 1021 | - Update to MySQL 5.1.52, for various fixes described at | ||
4109 | 1022 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-52.html | ||
4110 | 1023 | including numerous small security issues | ||
4111 | 1024 | Resolves: #652553 | ||
4112 | 1025 | - Sync with current Fedora package; this includes: | ||
4113 | 1026 | - Duplicate COPYING and EXCEPTIONS-CLIENT in -libs and -embedded subpackages, | ||
4114 | 1027 | to ensure they are available when any subset of mysql RPMs are installed, | ||
4115 | 1028 | per revised packaging guidelines | ||
4116 | 1029 | - Allow init script's STARTTIMEOUT/STOPTIMEOUT to be overridden from sysconfig | ||
4117 | 1030 | |||
4118 | 1031 | * Thu Jul 15 2010 Tom Lane <tgl@redhat.com> 5.1.47-4 | ||
4119 | 1032 | - Add backported patch for CVE-2010-2008 (upstream bug 53804) | ||
4120 | 1033 | Resolves: #614215 | ||
4121 | 1034 | - Add BuildRequires perl(Time::HiRes) ... seems to no longer be installed | ||
4122 | 1035 | by just pulling in perl. | ||
4123 | 1036 | |||
4124 | 1037 | * Mon Jun 28 2010 Tom Lane <tgl@redhat.com> 5.1.47-3 | ||
4125 | 1038 | - Add -p "$mypidfile" to initscript's status call to improve corner cases. | ||
4126 | 1039 | (Note: can't be fixed in Fedora until 595597 is fixed there.) | ||
4127 | 1040 | Resolves: #596008 | ||
4128 | 1041 | |||
4129 | 1042 | * Mon Jun 7 2010 Tom Lane <tgl@redhat.com> 5.1.47-2 | ||
4130 | 1043 | - Add back "partition" storage engine | ||
4131 | 1044 | Resolves: #598585 | ||
4132 | 1045 | - Fix broken "federated" storage engine plugin | ||
4133 | 1046 | Resolves: #587170 | ||
4134 | 1047 | - Read all certificates in SSL certificate files, to support chained certs | ||
4135 | 1048 | Resolves: #598656 | ||
4136 | 1049 | |||
4137 | 1050 | * Mon May 24 2010 Tom Lane <tgl@redhat.com> 5.1.47-1 | ||
4138 | 1051 | - Update to MySQL 5.1.47, for various fixes described at | ||
4139 | 1052 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-47.html | ||
4140 | 1053 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-46.html | ||
4141 | 1054 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-45.html | ||
4142 | 1055 | including fixes for CVE-2010-1621, CVE-2010-1626, | ||
4143 | 1056 | CVE-2010-1848, CVE-2010-1849, CVE-2010-1850 | ||
4144 | 1057 | Resolves: #590598 | ||
4145 | 1058 | - Create mysql group explicitly in pre-server script, to ensure correct GID | ||
4146 | 1059 | |||
4147 | 1060 | * Mon Mar 8 2010 Tom Lane <tgl@redhat.com> 5.1.44-2 | ||
4148 | 1061 | - Update to MySQL 5.1.44, for various fixes described at | ||
4149 | 1062 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html | ||
4150 | 1063 | Resolves: #565554 | ||
4151 | 1064 | - Remove mysql.info, which is not freely redistributable | ||
4152 | 1065 | Related: #560181 | ||
4153 | 1066 | - Revert broken upstream fix for their bug 45058 | ||
4154 | 1067 | Related: #566547 | ||
4155 | 1068 | - Bring init script into some modicum of compliance with Fedora/LSB standards | ||
4156 | 1069 | Resolves: #557711 | ||
4157 | 1070 | Resolves: #562749 | ||
4158 | 1071 | |||
4159 | 1072 | * Mon Feb 15 2010 Tom Lane <tgl@redhat.com> 5.1.43-2 | ||
4160 | 1073 | - Update to MySQL 5.1.43, for various fixes described at | ||
4161 | 1074 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html | ||
4162 | 1075 | Resolves: #565554 | ||
4163 | 1076 | - Remove mysql-cluster, which is no longer supported by upstream in this | ||
4164 | 1077 | source distribution. If we want it we'll need a separate SRPM for it. | ||
4165 | 1078 | Resolves: #565210 | ||
4166 | 1079 | |||
4167 | 1080 | * Fri Jan 29 2010 Tom Lane <tgl@redhat.com> 5.1.42-7 | ||
4168 | 1081 | - Add backported patch for CVE-2008-7247 (upstream bug 39277) | ||
4169 | 1082 | Resolves: #549329 | ||
4170 | 1083 | - Use non-expired certificates for SSL testing (upstream bug 50702) | ||
4171 | 1084 | |||
4172 | 1085 | * Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 5.1.42-6 | ||
4173 | 1086 | - Emit explicit error message if user tries to build RPM as root | ||
4174 | 1087 | Resolves: #558915 | ||
4175 | 1088 | |||
4176 | 1089 | * Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.42-5 | ||
4177 | 1090 | - Correct Source0: tag and comment to reflect how to get the tarball | ||
4178 | 1091 | |||
4179 | 1092 | * Fri Jan 8 2010 Tom Lane <tgl@redhat.com> 5.1.42-4 | ||
4180 | 1093 | - Sync with current Fedora build, including: | ||
4181 | 1094 | - Update to MySQL 5.1.42, for various fixes described at | ||
4182 | 1095 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html | ||
4183 | 1096 | - Disable symbolic links by default in /etc/my.cnf | ||
4184 | 1097 | Resolves: #553653 | ||
4185 | 1098 | - Remove static libraries (.a files) from package, per packaging guidelines | ||
4186 | 1099 | - Change %%define to %%global, per packaging guidelines | ||
4187 | 1100 | - Disable building the innodb plugin; it tickles assorted gcc bugs and | ||
4188 | 1101 | doesn't seem entirely ready for prime time anyway. | ||
4189 | 1102 | Resolves: #553632 | ||
4190 | 1103 | - Start mysqld_safe with --basedir=/usr, to avoid unwanted SELinux messages | ||
4191 | 1104 | (see 547485) | ||
4192 | 1105 | - Stop waiting during "service mysqld start" if mysqld_safe exits | ||
4193 | 1106 | Resolves: #544095 | ||
4194 | 1107 | |||
4195 | 1108 | * Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 5.1.41-1 | ||
4196 | 1109 | - Update to MySQL 5.1.41, for various fixes described at | ||
4197 | 1110 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html | ||
4198 | 1111 | including fixes for CVE-2009-4019 | ||
4199 | 1112 | Resolves: #549327 | ||
4200 | 1113 | - Don't set old_passwords=1; we aren't being bug-compatible with 3.23 anymore | ||
4201 | 1114 | Resolves: #540735 | ||
4202 | 1115 | |||
4203 | 1116 | * Tue Nov 10 2009 Tom Lane <tgl@redhat.com> 5.1.40-1 | ||
4204 | 1117 | - Update to MySQL 5.1.40, for various fixes described at | ||
4205 | 1118 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html | ||
4206 | 1119 | - Do not force the --log-error setting in mysqld init script | ||
4207 | 1120 | Resolves: #533736 | ||
4208 | 1121 | |||
4209 | 1122 | * Sat Oct 17 2009 Tom Lane <tgl@redhat.com> 5.1.39-4 | ||
4210 | 1123 | - Replace kluge fix for ndbd sparc crash with a real fix (mysql bug 48132) | ||
4211 | 1124 | |||
4212 | 1125 | * Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 5.1.39-3 | ||
4213 | 1126 | - Work around two different compiler bugs on sparc, one by backing off | ||
4214 | 1127 | optimization from -O2 to -O1, and the other with a klugy patch | ||
4215 | 1128 | Related: #529298, #529299 | ||
4216 | 1129 | - Clean up bogosity in multilib stub header support: ia64 should not be | ||
4217 | 1130 | listed (it's not multilib), sparc and sparc64 should be | ||
4218 | 1131 | |||
4219 | 1132 | * Wed Sep 23 2009 Tom Lane <tgl@redhat.com> 5.1.39-2 | ||
4220 | 1133 | - Work around upstream bug 46895 by disabling outfile_loaddata test | ||
4221 | 1134 | |||
4222 | 1135 | * Tue Sep 22 2009 Tom Lane <tgl@redhat.com> 5.1.39-1 | ||
4223 | 1136 | - Update to MySQL 5.1.39, for various fixes described at | ||
4224 | 1137 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html | ||
4225 | 1138 | |||
4226 | 1139 | * Mon Aug 31 2009 Tom Lane <tgl@redhat.com> 5.1.37-5 | ||
4227 | 1140 | - Work around unportable assumptions about stpcpy(); re-enable main.mysql test | ||
4228 | 1141 | - Clean up some obsolete parameters to the configure script | ||
4229 | 1142 | |||
4230 | 1143 | * Sat Aug 29 2009 Tom Lane <tgl@redhat.com> 5.1.37-4 | ||
4231 | 1144 | - Remove one misguided patch; turns out I was chasing a glibc bug | ||
4232 | 1145 | - Temporarily disable "main.mysql" test; there's something broken there too, | ||
4233 | 1146 | but we need to get mysql built in rawhide for dependency reasons | ||
4234 | 1147 | |||
4235 | 1148 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.37-3 | ||
4236 | 1149 | - rebuilt with new openssl | ||
4237 | 1150 | |||
4238 | 1151 | * Fri Aug 14 2009 Tom Lane <tgl@redhat.com> 5.1.37-2 | ||
4239 | 1152 | - Add a couple of patches to improve the probability of the regression tests | ||
4240 | 1153 | completing in koji builds | ||
4241 | 1154 | |||
4242 | 1155 | * Sun Aug 2 2009 Tom Lane <tgl@redhat.com> 5.1.37-1 | ||
4243 | 1156 | - Update to MySQL 5.1.37, for various fixes described at | ||
4244 | 1157 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html | ||
4245 | 1158 | |||
4246 | 1159 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.36-2 | ||
4247 | 1160 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild | ||
4248 | 1161 | |||
4249 | 1162 | * Fri Jul 10 2009 Tom Lane <tgl@redhat.com> 5.1.36-1 | ||
4250 | 1163 | - Update to MySQL 5.1.36, for various fixes described at | ||
4251 | 1164 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html | ||
4252 | 1165 | |||
4253 | 1166 | * Sat Jun 6 2009 Tom Lane <tgl@redhat.com> 5.1.35-1 | ||
4254 | 1167 | - Update to MySQL 5.1.35, for various fixes described at | ||
4255 | 1168 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html | ||
4256 | 1169 | - Ensure that /var/lib/mysql is created with the right SELinux context | ||
4257 | 1170 | Resolves: #502966 | ||
4258 | 1171 | |||
4259 | 1172 | * Fri May 15 2009 Tom Lane <tgl@redhat.com> 5.1.34-1 | ||
4260 | 1173 | - Update to MySQL 5.1.34, for various fixes described at | ||
4261 | 1174 | http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html | ||
4262 | 1175 | - Increase startup timeout per bug #472222 | ||
4263 | 1176 | |||
4264 | 1177 | * Wed Apr 15 2009 Tom Lane <tgl@redhat.com> 5.1.33-2 | ||
4265 | 1178 | - Increase stack size of ndbd threads for safety's sake. | ||
4266 | 1179 | Related: #494631 | ||
4267 | 1180 | |||
4268 | 1181 | * Tue Apr 7 2009 Tom Lane <tgl@redhat.com> 5.1.33-1 | ||
4269 | 1182 | - Update to MySQL 5.1.33. | ||
4270 | 1183 | - Disable use of pthread_setschedparam; doesn't work the way code expects. | ||
4271 | 1184 | Related: #477624 | ||
4272 | 1185 | |||
4273 | 1186 | * Wed Mar 4 2009 Tom Lane <tgl@redhat.com> 5.1.32-1 | ||
4274 | 1187 | - Update to MySQL 5.1.32. | ||
4275 | 1188 | |||
4276 | 1189 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.31-2 | ||
4277 | 1190 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild | ||
4278 | 1191 | |||
4279 | 1192 | * Fri Feb 13 2009 Tom Lane <tgl@redhat.com> 5.1.31-1 | ||
4280 | 1193 | - Update to MySQL 5.1.31. | ||
4281 | 1194 | |||
4282 | 1195 | * Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-2 | ||
4283 | 1196 | - hm, apparently --with-innodb and --with-ndbcluster are still needed | ||
4284 | 1197 | even though no longer documented ... | ||
4285 | 1198 | |||
4286 | 1199 | * Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.30-1 | ||
4287 | 1200 | - Update to MySQL 5.1.30. Note that this includes an ABI break for | ||
4288 | 1201 | libmysqlclient (it's now got .so major version 16). | ||
4289 | 1202 | - This also updates mysql for new openssl build | ||
4290 | 1203 | |||
4291 | 1204 | * Wed Oct 1 2008 Tom Lane <tgl@redhat.com> 5.0.67-2 | ||
4292 | 1205 | - Build the "embedded server" library, and package it in a new sub-RPM | ||
4293 | 1206 | mysql-embedded, along with mysql-embedded-devel for devel support files. | ||
4294 | 1207 | Resolves: #149829 | ||
4295 | 1208 | |||
4296 | 1209 | * Sat Aug 23 2008 Tom Lane <tgl@redhat.com> 5.0.67-1 | ||
4297 | 1210 | - Update to mysql version 5.0.67 | ||
4298 | 1211 | - Move mysql_config's man page to base package, again (apparently I synced | ||
4299 | 1212 | that change the wrong way while importing specfile changes for ndbcluster) | ||
4300 | 1213 | |||
4301 | 1214 | * Sun Jul 27 2008 Tom Lane <tgl@redhat.com> 5.0.51a-2 | ||
4302 | 1215 | - Enable ndbcluster support | ||
4303 | 1216 | Resolves: #163758 | ||
4304 | 1217 | - Suppress odd crash messages during package build, caused by trying to | ||
4305 | 1218 | build dbug manual (which we don't install anyway) with dbug disabled | ||
4306 | 1219 | Resolves: #437053 | ||
4307 | 1220 | - Improve mysql.init to pass configured datadir to mysql_install_db, | ||
4308 | 1221 | and to force user=mysql for both mysql_install_db and mysqld_safe. | ||
4309 | 1222 | Related: #450178 | ||
4310 | 1223 | |||
4311 | 1224 | * Mon Mar 3 2008 Tom Lane <tgl@redhat.com> 5.0.51a-1 | ||
4312 | 1225 | - Update to mysql version 5.0.51a | ||
4313 | 1226 | |||
4314 | 1227 | * Mon Mar 3 2008 Tom Lane <tgl@redhat.com> 5.0.45-11 | ||
4315 | 1228 | - Fix mysql-stack-guard patch to work correctly on IA64 | ||
4316 | 1229 | - Fix mysql.init to wait correctly when socket is not in default place | ||
4317 | 1230 | Related: #435494 | ||
4318 | 1231 | |||
4319 | 1232 | * Mon Mar 03 2008 Dennis Gilmore <dennis@ausil.us> 5.0.45-10 | ||
4320 | 1233 | - add sparc64 to 64 bit arches for test suite checking | ||
4321 | 1234 | - add sparc, sparcv9 and sparc64 to multilib handling | ||
4322 | 1235 | |||
4323 | 1236 | * Thu Feb 28 2008 Tom Lane <tgl@redhat.com> 5.0.45-9 | ||
4324 | 1237 | - Fix the stack overflow problem encountered in January. It seems the real | ||
4325 | 1238 | issue is that the buildfarm machines were moved to RHEL5, which uses 64K not | ||
4326 | 1239 | 4K pages on PPC, and because RHEL5 takes the guard area out of the requested | ||
4327 | 1240 | thread stack size we no longer had enough headroom. | ||
4328 | 1241 | Related: #435337 | ||
4329 | 1242 | |||
4330 | 1243 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.45-8 | ||
4331 | 1244 | - Autorebuild for GCC 4.3 | ||
4332 | 1245 | |||
4333 | 1246 | * Tue Jan 8 2008 Tom Lane <tgl@redhat.com> 5.0.45-7 | ||
4334 | 1247 | - Unbelievable ... upstream still thinks that it's a good idea to have a | ||
4335 | 1248 | regression test that is guaranteed to begin failing come January 1. | ||
4336 | 1249 | - ... and it seems we need to raise STACK_MIN_SIZE again too. | ||
4337 | 1250 | |||
4338 | 1251 | * Thu Dec 13 2007 Tom Lane <tgl@redhat.com> 5.0.45-6 | ||
4339 | 1252 | - Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303. | ||
4340 | 1253 | Related: #422211 | ||
4341 | 1254 | |||
4342 | 1255 | * Wed Dec 5 2007 Tom Lane <tgl@redhat.com> 5.0.45-5 | ||
4343 | 1256 | - Rebuild for new openssl | ||
4344 | 1257 | |||
4345 | 1258 | * Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 5.0.45-4 | ||
4346 | 1259 | - Seems we need explicit BuildRequires on gawk and procps now | ||
4347 | 1260 | - Rebuild to fix Fedora toolchain issues | ||
4348 | 1261 | |||
4349 | 1262 | * Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 5.0.45-3 | ||
4350 | 1263 | - Recent perl changes in rawhide mean we need a more specific BuildRequires | ||
4351 | 1264 | |||
4352 | 1265 | * Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 5.0.45-2 | ||
4353 | 1266 | - Update License tag to match code. | ||
4354 | 1267 | - Work around recent Fedora change that makes "open" a macro name. | ||
4355 | 1268 | |||
4356 | 1269 | * Sun Jul 22 2007 Tom Lane <tgl@redhat.com> 5.0.45-1 | ||
4357 | 1270 | - Update to MySQL 5.0.45 | ||
4358 | 1271 | Resolves: #246535 | ||
4359 | 1272 | - Move mysql_config's man page to base package | ||
4360 | 1273 | Resolves: #245770 | ||
4361 | 1274 | - move my_print_defaults to base RPM, for consistency with Stacks packaging | ||
4362 | 1275 | - mysql user is no longer deleted at RPM uninstall | ||
4363 | 1276 | Resolves: #241912 | ||
4364 | 1277 | |||
4365 | 1278 | * Thu Mar 29 2007 Tom Lane <tgl@redhat.com> 5.0.37-2 | ||
4366 | 1279 | - Use a less hacky method of getting default values in initscript | ||
4367 | 1280 | Related: #233771, #194596 | ||
4368 | 1281 | - Improve packaging of mysql-libs per suggestions from Remi Collet | ||
4369 | 1282 | Resolves: #233731 | ||
4370 | 1283 | - Update default /etc/my.cnf ([mysql.server] has been bogus for a long time) | ||
4371 | 1284 | |||
4372 | 1285 | * Mon Mar 12 2007 Tom Lane <tgl@redhat.com> 5.0.37-1 | ||
4373 | 1286 | - Update to MySQL 5.0.37 | ||
4374 | 1287 | Resolves: #231838 | ||
4375 | 1288 | - Put client library into a separate mysql-libs RPM to reduce dependencies | ||
4376 | 1289 | Resolves: #205630 | ||
4377 | 1290 | |||
4378 | 1291 | * Fri Feb 9 2007 Tom Lane <tgl@redhat.com> 5.0.33-1 | ||
4379 | 1292 | - Update to MySQL 5.0.33 | ||
4380 | 1293 | - Install band-aid fix for "view" regression test designed to fail after 2006 | ||
4381 | 1294 | - Don't chmod -R the entire database directory tree on every startup | ||
4382 | 1295 | Related: #221085 | ||
4383 | 1296 | - Fix unsafe use of install-info | ||
4384 | 1297 | Resolves: #223713 | ||
4385 | 1298 | - Cope with new automake in F7 | ||
4386 | 1299 | Resolves: #224171 | ||
4387 | 1300 | |||
4388 | 1301 | * Thu Nov 9 2006 Tom Lane <tgl@redhat.com> 5.0.27-1 | ||
4389 | 1302 | - Update to MySQL 5.0.27 (see CVE-2006-4031, CVE-2006-4226, CVE-2006-4227) | ||
4390 | 1303 | Resolves: #202247, #202675, #203427, #203428, #203432, #203434, #208641 | ||
4391 | 1304 | - Fix init script to return status 1 on server start timeout | ||
4392 | 1305 | Resolves: #203910 | ||
4393 | 1306 | - Move mysqldumpslow from base package to mysql-server | ||
4394 | 1307 | Resolves: #193559 | ||
4395 | 1308 | - Adjust link options for BDB module | ||
4396 | 1309 | Resolves: #199368 | ||
4397 | 1310 | |||
4398 | 1311 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.0.22-2.1 | ||
4399 | 1312 | - rebuild | ||
4400 | 1313 | |||
4401 | 1314 | * Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 5.0.22-2 | ||
4402 | 1315 | - Work around brew's tendency not to clean up failed builds completely, | ||
4403 | 1316 | by adding code in mysql-testing.patch to kill leftover mysql daemons. | ||
4404 | 1317 | |||
4405 | 1318 | * Thu Jun 8 2006 Tom Lane <tgl@redhat.com> 5.0.22-1 | ||
4406 | 1319 | - Update to MySQL 5.0.22 (fixes CVE-2006-2753) | ||
4407 | 1320 | - Install temporary workaround for gcc bug on s390x (bz #193912) | ||
4408 | 1321 | |||
4409 | 1322 | * Tue May 2 2006 Tom Lane <tgl@redhat.com> 5.0.21-2 | ||
4410 | 1323 | - Fix bogus perl Requires for mysql-test | ||
4411 | 1324 | |||
4412 | 1325 | * Mon May 1 2006 Tom Lane <tgl@redhat.com> 5.0.21-1 | ||
4413 | 1326 | - Update to MySQL 5.0.21 | ||
4414 | 1327 | |||
4415 | 1328 | * Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 5.0.18-4 | ||
4416 | 1329 | - Modify multilib header hack to not break non-RH arches, per bug #181335 | ||
4417 | 1330 | - Remove logrotate script, per bug #180639. | ||
4418 | 1331 | - Add a new mysql-test RPM to carry the regression test files; | ||
4419 | 1332 | hack up test scripts as needed to make them run in /usr/share/mysql-test. | ||
4420 | 1333 | |||
4421 | 1334 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-2.1 | ||
4422 | 1335 | - bump again for double-long bug on ppc(64) | ||
4423 | 1336 | |||
4424 | 1337 | * Thu Feb 9 2006 Tom Lane <tgl@redhat.com> 5.0.18-2 | ||
4425 | 1338 | - err-log option has been renamed to log-error, fix my.cnf and initscript | ||
4426 | 1339 | |||
4427 | 1340 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.0.18-1.1 | ||
4428 | 1341 | - rebuilt for new gcc4.1 snapshot and glibc changes | ||
4429 | 1342 | |||
4430 | 1343 | * Thu Jan 5 2006 Tom Lane <tgl@redhat.com> 5.0.18-1 | ||
4431 | 1344 | - Update to MySQL 5.0.18 | ||
4432 | 1345 | |||
4433 | 1346 | * Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4 | ||
4434 | 1347 | - fix my_config.h for ppc platforms | ||
4435 | 1348 | |||
4436 | 1349 | * Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3 | ||
4437 | 1350 | - my_config.h needs to guard against 64-bit platforms that also define the | ||
4438 | 1351 | 32-bit symbol | ||
4439 | 1352 | |||
4440 | 1353 | * Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 5.0.16-2 | ||
4441 | 1354 | - oops, looks like we want uname -i not uname -m | ||
4442 | 1355 | |||
4443 | 1356 | * Mon Dec 12 2005 Tom Lane <tgl@redhat.com> 5.0.16-1 | ||
4444 | 1357 | - Update to MySQL 5.0.16 | ||
4445 | 1358 | - Add EXCEPTIONS-CLIENT license info to the shipped documentation | ||
4446 | 1359 | - Make my_config.h architecture-independent for multilib installs; | ||
4447 | 1360 | put the original my_config.h into my_config_$ARCH.h | ||
4448 | 1361 | - Add -fwrapv to CFLAGS so that gcc 4.1 doesn't break it | ||
4449 | 1362 | |||
4450 | 1363 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> | ||
4451 | 1364 | - rebuilt | ||
4452 | 1365 | |||
4453 | 1366 | * Mon Nov 14 2005 Tom Lane <tgl@redhat.com> 5.0.15-3 | ||
4454 | 1367 | - Make stop script wait for daemon process to disappear (bz#172426) | ||
4455 | 1368 | |||
4456 | 1369 | * Wed Nov 9 2005 Tom Lane <tgl@redhat.com> 5.0.15-2 | ||
4457 | 1370 | - Rebuild due to openssl library update. | ||
4458 | 1371 | |||
4459 | 1372 | * Thu Nov 3 2005 Tom Lane <tgl@redhat.com> 5.0.15-1 | ||
4460 | 1373 | - Update to MySQL 5.0.15 (scratch build for now) | ||
4461 | 1374 | |||
4462 | 1375 | * Wed Oct 5 2005 Tom Lane <tgl@redhat.com> 4.1.14-1 | ||
4463 | 1376 | - Update to MySQL 4.1.14 | ||
4464 | 1377 | |||
4465 | 1378 | * Tue Aug 23 2005 Tom Lane <tgl@redhat.com> 4.1.12-3 | ||
4466 | 1379 | - Use politically correct patch name. | ||
4467 | 1380 | |||
4468 | 1381 | * Tue Jul 12 2005 Tom Lane <tgl@redhat.com> 4.1.12-2 | ||
4469 | 1382 | - Fix buffer overflow newly exposed in isam code; it's the same issue | ||
4470 | 1383 | previously found in myisam, and not very exciting, but I'm tired of | ||
4471 | 1384 | seeing build warnings. | ||
4472 | 1385 | |||
4473 | 1386 | * Mon Jul 11 2005 Tom Lane <tgl@redhat.com> 4.1.12-1 | ||
4474 | 1387 | - Update to MySQL 4.1.12 (includes a fix for bz#158688, bz#158689) | ||
4475 | 1388 | - Extend mysql-test-ssl.patch to solve rpl_openssl test failure (bz#155850) | ||
4476 | 1389 | - Update mysql-lock-ssl.patch to match the upstream committed version | ||
4477 | 1390 | - Add --with-isam to re-enable the old ISAM table type, per bz#159262 | ||
4478 | 1391 | - Add dependency on openssl-devel per bz#159569 | ||
4479 | 1392 | - Remove manual.txt, as upstream decided not to ship it anymore; | ||
4480 | 1393 | it was redundant with the mysql.info file anyway. | ||
4481 | 1394 | |||
4482 | 1395 | * Mon May 9 2005 Tom Lane <tgl@redhat.com> 4.1.11-4 | ||
4483 | 1396 | - Include proper locking for OpenSSL in the server, per bz#155850 | ||
4484 | 1397 | |||
4485 | 1398 | * Mon Apr 25 2005 Tom Lane <tgl@redhat.com> 4.1.11-3 | ||
4486 | 1399 | - Enable openssl tests during build, per bz#155850 | ||
4487 | 1400 | - Might as well turn on --disable-dependency-tracking | ||
4488 | 1401 | |||
4489 | 1402 | * Fri Apr 8 2005 Tom Lane <tgl@redhat.com> 4.1.11-2 | ||
4490 | 1403 | - Avoid dependency on <asm/atomic.h>, cause it won't build anymore on ia64. | ||
4491 | 1404 | This is probably a cleaner solution for bz#143537, too. | ||
4492 | 1405 | |||
4493 | 1406 | * Thu Apr 7 2005 Tom Lane <tgl@redhat.com> 4.1.11-1 | ||
4494 | 1407 | - Update to MySQL 4.1.11 to fix bz#152911 as well as other issues | ||
4495 | 1408 | - Move perl-DBI, perl-DBD-MySQL dependencies to server package (bz#154123) | ||
4496 | 1409 | - Override configure thread library test to suppress HAVE_LINUXTHREADS check | ||
4497 | 1410 | - Fix BDB failure on s390x (bz#143537) | ||
4498 | 1411 | - At last we can enable "make test" on all arches | ||
4499 | 1412 | |||
4500 | 1413 | * Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 4.1.10a-1 | ||
4501 | 1414 | - Update to MySQL 4.1.10a to fix security vulnerabilities (bz#150868, | ||
4502 | 1415 | for CAN-2005-0711, and bz#150871 for CAN-2005-0709, CAN-2005-0710). | ||
4503 | 1416 | |||
4504 | 1417 | * Sun Mar 6 2005 Tom Lane <tgl@redhat.com> 4.1.10-3 | ||
4505 | 1418 | - Fix package Requires: interdependencies. | ||
4506 | 1419 | |||
4507 | 1420 | * Sat Mar 5 2005 Tom Lane <tgl@redhat.com> 4.1.10-2 | ||
4508 | 1421 | - Need -fno-strict-aliasing in at least one place, probably more. | ||
4509 | 1422 | - Work around some C spec violations in mysql. | ||
4510 | 1423 | |||
4511 | 1424 | * Fri Feb 18 2005 Tom Lane <tgl@redhat.com> 4.1.10-1 | ||
4512 | 1425 | - Update to MySQL 4.1.10. | ||
4513 | 1426 | |||
4514 | 1427 | * Sat Jan 15 2005 Tom Lane <tgl@redhat.com> 4.1.9-1 | ||
4515 | 1428 | - Update to MySQL 4.1.9. | ||
4516 | 1429 | |||
4517 | 1430 | * Wed Jan 12 2005 Tom Lane <tgl@redhat.com> 4.1.7-10 | ||
4518 | 1431 | - Don't assume /etc/my.cnf will specify pid-file (bz#143724) | ||
4519 | 1432 | |||
4520 | 1433 | * Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 4.1.7-9 | ||
4521 | 1434 | - Rebuilt for new readline. | ||
4522 | 1435 | |||
4523 | 1436 | * Tue Dec 21 2004 Tom Lane <tgl@redhat.com> 4.1.7-8 | ||
4524 | 1437 | - Run make test on all archs except s390x (which seems to have a bdb issue) | ||
4525 | 1438 | |||
4526 | 1439 | * Mon Dec 13 2004 Tom Lane <tgl@redhat.com> 4.1.7-7 | ||
4527 | 1440 | - Suppress someone's silly idea that libtool overhead can be skipped | ||
4528 | 1441 | |||
4529 | 1442 | * Sun Dec 12 2004 Tom Lane <tgl@redhat.com> 4.1.7-6 | ||
4530 | 1443 | - Fix init script to not need a valid username for startup check (bz#142328) | ||
4531 | 1444 | - Fix init script to honor settings appearing in /etc/my.cnf (bz#76051) | ||
4532 | 1445 | - Enable SSL (bz#142032) | ||
4533 | 1446 | |||
4534 | 1447 | * Thu Dec 2 2004 Tom Lane <tgl@redhat.com> 4.1.7-5 | ||
4535 | 1448 | - Add a restorecon to keep the mysql.log file in the right context (bz#143887) | ||
4536 | 1449 | |||
4537 | 1450 | * Tue Nov 23 2004 Tom Lane <tgl@redhat.com> 4.1.7-4 | ||
4538 | 1451 | - Turn off old_passwords in default /etc/my.cnf file, for better compatibility | ||
4539 | 1452 | with mysql 3.x clients (per suggestion from Joe Orton). | ||
4540 | 1453 | |||
4541 | 1454 | * Fri Oct 29 2004 Tom Lane <tgl@redhat.com> 4.1.7-3 | ||
4542 | 1455 | - Handle ldconfig more cleanly (put a file in /etc/ld.so.conf.d/). | ||
4543 | 1456 | |||
4544 | 1457 | * Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 4.1.7-2 | ||
4545 | 1458 | - rebuild in devel branch | ||
4546 | 1459 | |||
4547 | 1460 | * Wed Oct 27 2004 Tom Lane <tgl@redhat.com> 4.1.7-1 | ||
4548 | 1461 | - Update to MySQL 4.1.x. | ||
4549 | 1462 | |||
4550 | 1463 | * Tue Oct 12 2004 Tom Lane <tgl@redhat.com> 3.23.58-13 | ||
4551 | 1464 | - fix security issues CAN-2004-0835, CAN-2004-0836, CAN-2004-0837 | ||
4552 | 1465 | (bugs #135372, 135375, 135387) | ||
4553 | 1466 | - fix privilege escalation on GRANT ALL ON `Foo\_Bar` (CAN-2004-0957) | ||
4554 | 1467 | |||
4555 | 1468 | * Wed Oct 06 2004 Tom Lane <tgl@redhat.com> 3.23.58-12 | ||
4556 | 1469 | - fix multilib problem with mysqlbug and mysql_config | ||
4557 | 1470 | - adjust chkconfig priority per bug #128852 | ||
4558 | 1471 | - remove bogus quoting per bug #129409 (MySQL 4.0 has done likewise) | ||
4559 | 1472 | - add sleep to mysql.init restart(); may or may not fix bug #133993 | ||
4560 | 1473 | |||
4561 | 1474 | * Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 3.23.58-11 | ||
4562 | 1475 | - fix low-priority security issues CAN-2004-0388, CAN-2004-0381, CAN-2004-0457 | ||
4563 | 1476 | (bugs #119442, 125991, 130347, 130348) | ||
4564 | 1477 | - fix bug with dropping databases under recent kernels (bug #124352) | ||
4565 | 1478 | |||
4566 | 1479 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.23.58-10 | ||
4567 | 1480 | - rebuilt | ||
4568 | 1481 | |||
4569 | 1482 | * Sat Apr 17 2004 Warren Togami <wtogami@redhat.com> 3.23.58-9 | ||
4570 | 1483 | - remove redundant INSTALL-SOURCE, manual.* | ||
4571 | 1484 | - compress manual.txt.bz2 | ||
4572 | 1485 | - BR time | ||
4573 | 1486 | |||
4574 | 1487 | * Tue Mar 16 2004 Tom Lane <tgl@redhat.com> 3.23.58-8 | ||
4575 | 1488 | - repair logfile attributes in %%files, per bug #102190 | ||
4576 | 1489 | - repair quoting problem in mysqlhotcopy, per bug #112693 | ||
4577 | 1490 | - repair missing flush in mysql_setpermission, per bug #113960 | ||
4578 | 1491 | - repair broken error message printf, per bug #115165 | ||
4579 | 1492 | - delete mysql user during uninstall, per bug #117017 | ||
4580 | 1493 | - rebuilt | ||
4581 | 1494 | |||
4582 | 1495 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> | ||
4583 | 1496 | - rebuilt | ||
4584 | 1497 | |||
4585 | 1498 | * Tue Feb 24 2004 Tom Lane <tgl@redhat.com> | ||
4586 | 1499 | - fix chown syntax in mysql.init | ||
4587 | 1500 | - rebuild | ||
4588 | 1501 | |||
4589 | 1502 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> | ||
4590 | 1503 | - rebuilt | ||
4591 | 1504 | |||
4592 | 1505 | * Tue Nov 18 2003 Kim Ho <kho@redhat.com> 3.23.58-5 | ||
4593 | 1506 | - update mysql.init to use anonymous user (UNKNOWN_MYSQL_USER) for | ||
4594 | 1507 | pinging mysql server (#108779) | ||
4595 | 1508 | |||
4596 | 1509 | * Mon Oct 27 2003 Kim Ho <kho@redhat.com> 3.23.58-4 | ||
4597 | 1510 | - update mysql.init to wait (max 10 seconds) for mysql server to | ||
4598 | 1511 | start (#58732) | ||
4599 | 1512 | |||
4600 | 1513 | * Mon Oct 27 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-3 | ||
4601 | 1514 | - re-enable Berkeley DB support (#106832) | ||
4602 | 1515 | - re-enable ia64 testing | ||
4603 | 1516 | |||
4604 | 1517 | * Fri Sep 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-2 | ||
4605 | 1518 | - rebuilt | ||
4606 | 1519 | |||
4607 | 1520 | * Mon Sep 15 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.58-1 | ||
4608 | 1521 | - upgrade to 3.23.58 for security fix | ||
4609 | 1522 | |||
4610 | 1523 | * Tue Aug 26 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-2 | ||
4611 | 1524 | - rebuilt | ||
4612 | 1525 | |||
4613 | 1526 | * Wed Jul 02 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.57-1 | ||
4614 | 1527 | - revert to prior version of MySQL due to license incompatibilities | ||
4615 | 1528 | with packages that link against the client. The MySQL folks are | ||
4616 | 1529 | looking into the issue. | ||
4617 | 1530 | |||
4618 | 1531 | * Wed Jun 18 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-4 | ||
4619 | 1532 | - restrict test on ia64 (temporary) | ||
4620 | 1533 | |||
4621 | 1534 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 4.0.13-3 | ||
4622 | 1535 | - rebuilt | ||
4623 | 1536 | |||
4624 | 1537 | * Thu May 29 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-2 | ||
4625 | 1538 | - fix filter-requires-mysql.sh with less restrictive for mysql-bench | ||
4626 | 1539 | |||
4627 | 1540 | * Wed May 28 2003 Patrick Macdonald <patrickm@redhat.com> 4.0.13-1 | ||
4628 | 1541 | - update for MySQL 4.0 | ||
4629 | 1542 | - back-level shared libraries available in mysqlclient10 package | ||
4630 | 1543 | |||
4631 | 1544 | * Fri May 09 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-2 | ||
4632 | 1545 | - add sql-bench package (#90110) | ||
4633 | 1546 | |||
4634 | 1547 | * Wed Mar 19 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.56-1 | ||
4635 | 1548 | - upgrade to 3.23.56 for security fixes | ||
4636 | 1549 | - remove patch for double-free (included in 3.23.56) | ||
4637 | 1550 | |||
4638 | 1551 | * Tue Feb 18 2003 Patrick Macdonald <patrickm@redhat.com> 3.23.54a-11 | ||
4639 | 1552 | - enable thread safe client | ||
4640 | 1553 | - add patch for double free fix | ||
4641 | 1554 | |||
4642 | 1555 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> | ||
4643 | 1556 | - rebuilt | ||
4644 | 1557 | |||
4645 | 1558 | * Mon Jan 13 2003 Karsten Hopp <karsten@redhat.de> 3.23.54a-9 | ||
4646 | 1559 | - disable checks on s390x | ||
4647 | 1560 | |||
4648 | 1561 | * Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 3.23.54a-8 | ||
4649 | 1562 | - use internal dep generator. | ||
4650 | 1563 | |||
4651 | 1564 | * Wed Jan 1 2003 Bill Nottingham <notting@redhat.com> 3.23.54a-7 | ||
4652 | 1565 | - fix mysql_config on hammer | ||
4653 | 1566 | |||
4654 | 1567 | * Sun Dec 22 2002 Tim Powers <timp@redhat.com> 3.23.54a-6 | ||
4655 | 1568 | - don't use rpms internal dep generator | ||
4656 | 1569 | |||
4657 | 1570 | * Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 3.23.54a-5 | ||
4658 | 1571 | - Push it into the build system | ||
4659 | 1572 | |||
4660 | 1573 | * Mon Dec 16 2002 Joe Orton <jorton@redhat.com> 3.23.54a-4 | ||
4661 | 1574 | - upgrade to 3.23.54a for safe_mysqld fix | ||
4662 | 1575 | |||
4663 | 1576 | * Thu Dec 12 2002 Joe Orton <jorton@redhat.com> 3.23.54-3 | ||
4664 | 1577 | - upgrade to 3.23.54 for latest security fixes | ||
4665 | 1578 | |||
4666 | 1579 | * Tue Nov 19 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-5 | ||
4667 | 1580 | - Always include <errno.h> for errno | ||
4668 | 1581 | - Remove unpackaged files | ||
4669 | 1582 | |||
4670 | 1583 | * Tue Nov 12 2002 Florian La Roche <Florian.LaRoche@redhat.de> | ||
4671 | 1584 | - do not prereq userdel, not used at all | ||
4672 | 1585 | |||
4673 | 1586 | * Mon Sep 9 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-4 | ||
4674 | 1587 | - Use %%{_libdir} | ||
4675 | 1588 | - Add patch for x86-64 | ||
4676 | 1589 | |||
4677 | 1590 | * Wed Sep 4 2002 Jakub Jelinek <jakub@redhat.com> 3.23.52-3 | ||
4678 | 1591 | - rebuilt with gcc-3.2-7 | ||
4679 | 1592 | |||
4680 | 1593 | * Thu Aug 29 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-2 | ||
4681 | 1594 | - Add --enable-local-infile to configure - a new option | ||
4682 | 1595 | which doesn't default to the old behaviour (#72885) | ||
4683 | 1596 | |||
4684 | 1597 | * Fri Aug 23 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.52-1 | ||
4685 | 1598 | - 3.23.52. Fixes a minor security problem, various bugfixes. | ||
4686 | 1599 | |||
4687 | 1600 | * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 3.23.51-5 | ||
4688 | 1601 | - rebuilt with gcc-3.2 (we hope) | ||
4689 | 1602 | |||
4690 | 1603 | * Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-4 | ||
4691 | 1604 | - rebuild | ||
4692 | 1605 | |||
4693 | 1606 | * Thu Jul 18 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-3 | ||
4694 | 1607 | - Fix #63543 and #63542 | ||
4695 | 1608 | |||
4696 | 1609 | * Thu Jul 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-2 | ||
4697 | 1610 | - Turn off bdb on PPC(#68591) | ||
4698 | 1611 | - Turn off the assembly optimizations, for safety. | ||
4699 | 1612 | |||
4700 | 1613 | * Wed Jun 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.51-1 | ||
4701 | 1614 | - Work around annoying auto* thinking this is a crosscompile | ||
4702 | 1615 | - 3.23.51 | ||
4703 | 1616 | |||
4704 | 1617 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> | ||
4705 | 1618 | - automated rebuild | ||
4706 | 1619 | |||
4707 | 1620 | * Mon Jun 10 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-2 | ||
4708 | 1621 | - Add dependency on perl-DBI and perl-DBD-MySQL (#66349) | ||
4709 | 1622 | |||
4710 | 1623 | * Thu May 30 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.50-1 | ||
4711 | 1624 | - 3.23.50 | ||
4712 | 1625 | |||
4713 | 1626 | * Thu May 23 2002 Tim Powers <timp@redhat.com> | ||
4714 | 1627 | - automated rebuild | ||
4715 | 1628 | |||
4716 | 1629 | * Mon May 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-4 | ||
4717 | 1630 | - Rebuild | ||
4718 | 1631 | - Don't set CXX to gcc, it doesn't work anymore | ||
4719 | 1632 | - Exclude Alpha | ||
4720 | 1633 | |||
4721 | 1634 | * Mon Apr 8 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-3 | ||
4722 | 1635 | - Add the various .cnf examples as doc files to mysql-server (#60349) | ||
4723 | 1636 | - Don't include manual.ps, it's just 200 bytes with a URL inside (#60349) | ||
4724 | 1637 | - Don't include random files in /usr/share/mysql (#60349) | ||
4725 | 1638 | - langify (#60349) | ||
4726 | 1639 | |||
4727 | 1640 | * Thu Feb 21 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-2 | ||
4728 | 1641 | - Rebuild | ||
4729 | 1642 | |||
4730 | 1643 | * Sun Feb 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.49-1 | ||
4731 | 1644 | - 3.23.49 | ||
4732 | 1645 | |||
4733 | 1646 | * Thu Feb 14 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-2 | ||
4734 | 1647 | - work around perl dependency bug. | ||
4735 | 1648 | |||
4736 | 1649 | * Mon Feb 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.48-1 | ||
4737 | 1650 | - 3.23.48 | ||
4738 | 1651 | |||
4739 | 1652 | * Thu Jan 17 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-4 | ||
4740 | 1653 | - Use kill, not mysqladmin, to flush logs and shut down. Thus, | ||
4741 | 1654 | an admin password can be set with no problems. | ||
4742 | 1655 | - Remove reload from init script | ||
4743 | 1656 | |||
4744 | 1657 | * Wed Jan 16 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-3 | ||
4745 | 1658 | - remove db3-devel from buildrequires, | ||
4746 | 1659 | MySQL has had its own bundled copy since the mid thirties | ||
4747 | 1660 | |||
4748 | 1661 | * Sun Jan 6 2002 Trond Eivind Glomsrd <teg@redhat.com> 3.23.47-1 | ||
4749 | 1662 | - 3.23.47 | ||
4750 | 1663 | - Don't build for alpha, toolchain immature. | ||
4751 | 1664 | |||
4752 | 1665 | * Mon Dec 3 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.46-1 | ||
4753 | 1666 | - 3.23.46 | ||
4754 | 1667 | - use -fno-rtti and -fno-exceptions, and set CXX to increase stability. | ||
4755 | 1668 | Recommended by mysql developers. | ||
4756 | 1669 | |||
4757 | 1670 | * Sun Nov 25 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.45-1 | ||
4758 | 1671 | - 3.23.45 | ||
4759 | 1672 | |||
4760 | 1673 | * Wed Nov 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-2 | ||
4761 | 1674 | - centralize definition of datadir in the initscript (#55873) | ||
4762 | 1675 | |||
4763 | 1676 | * Fri Nov 2 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.44-1 | ||
4764 | 1677 | - 3.23.44 | ||
4765 | 1678 | |||
4766 | 1679 | * Thu Oct 4 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.43-1 | ||
4767 | 1680 | - 3.23.43 | ||
4768 | 1681 | |||
4769 | 1682 | * Mon Sep 10 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.42-1 | ||
4770 | 1683 | - 3.23.42 | ||
4771 | 1684 | - reenable innodb | ||
4772 | 1685 | |||
4773 | 1686 | * Tue Aug 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 3.23.41-1 | ||
4774 | 1687 | - 3.23.41 bugfix release | ||
4775 | 1688 | - disable innodb, to avoid the broken updates | ||
4776 | 1689 | - Use "mysqladmin flush_logs" instead of kill -HUP in logrotate | ||
4777 | 1690 | script (#51711) | ||
4778 | 1691 | |||
4779 | 1692 | * Sat Jul 21 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4780 | 1693 | - 3.23.40, bugfix release | ||
4781 | 1694 | - Add zlib-devel to buildrequires: | ||
4782 | 1695 | |||
4783 | 1696 | * Fri Jul 20 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4784 | 1697 | - BuildRequires-tweaking | ||
4785 | 1698 | |||
4786 | 1699 | * Thu Jun 28 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4787 | 1700 | - Reenable test, but don't run them for s390, s390x or ia64 | ||
4788 | 1701 | - Make /etc/my.cnf config(noplace). Same for /etc/logrotate.d/mysqld | ||
4789 | 1702 | |||
4790 | 1703 | * Thu Jun 14 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4791 | 1704 | - 3.23.29 | ||
4792 | 1705 | - enable innodb | ||
4793 | 1706 | - enable assembly again | ||
4794 | 1707 | - disable tests for now... | ||
4795 | 1708 | |||
4796 | 1709 | * Tue May 15 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4797 | 1710 | - 3.23.38 | ||
4798 | 1711 | - Don't use BDB on Alpha - no fast mutexes | ||
4799 | 1712 | |||
4800 | 1713 | * Tue Apr 24 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4801 | 1714 | - 3.23.37 | ||
4802 | 1715 | - Add _GNU_SOURCE to the compile flags | ||
4803 | 1716 | |||
4804 | 1717 | * Wed Mar 28 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4805 | 1718 | - Make it obsolete our 6.2 PowerTools packages | ||
4806 | 1719 | - 3.23.36 bugfix release - fixes some security issues | ||
4807 | 1720 | which didn't apply to our standard configuration | ||
4808 | 1721 | - Make "make test" part of the build process, except on IA64 | ||
4809 | 1722 | (it fails there) | ||
4810 | 1723 | |||
4811 | 1724 | * Tue Mar 20 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4812 | 1725 | - 3.23.35 bugfix release | ||
4813 | 1726 | - Don't delete the mysql user on uninstall | ||
4814 | 1727 | |||
4815 | 1728 | * Tue Mar 13 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4816 | 1729 | - 3.23.34a bugfix release | ||
4817 | 1730 | |||
4818 | 1731 | * Wed Feb 7 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4819 | 1732 | - added readline-devel to BuildRequires: | ||
4820 | 1733 | |||
4821 | 1734 | * Tue Feb 6 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4822 | 1735 | - small i18n-fixes to initscript (action needs $) | ||
4823 | 1736 | |||
4824 | 1737 | * Tue Jan 30 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4825 | 1738 | - make it shut down and rotate logs without using mysqladmin | ||
4826 | 1739 | (from #24909) | ||
4827 | 1740 | |||
4828 | 1741 | * Mon Jan 29 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4829 | 1742 | - conflict with "MySQL" | ||
4830 | 1743 | |||
4831 | 1744 | * Tue Jan 23 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4832 | 1745 | - improve gettextizing | ||
4833 | 1746 | |||
4834 | 1747 | * Mon Jan 22 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4835 | 1748 | - 3.23.32 | ||
4836 | 1749 | - fix logrotate script (#24589) | ||
4837 | 1750 | |||
4838 | 1751 | * Wed Jan 17 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4839 | 1752 | - gettextize | ||
4840 | 1753 | - move the items in Requires(post): to Requires: in preparation | ||
4841 | 1754 | for an errata for 7.0 when 3.23.31 is released | ||
4842 | 1755 | - 3.23.31 | ||
4843 | 1756 | |||
4844 | 1757 | * Tue Jan 16 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4845 | 1758 | - add the log file to the rpm database, and make it 0640 | ||
4846 | 1759 | (#24116) | ||
4847 | 1760 | - as above in logrotate script | ||
4848 | 1761 | - changes to the init sequence - put most of the data | ||
4849 | 1762 | in /etc/my.cnf instead of hardcoding in the init script | ||
4850 | 1763 | - use /var/run/mysqld/mysqld.pid instead of | ||
4851 | 1764 | /var/run/mysqld/pid | ||
4852 | 1765 | - use standard safe_mysqld | ||
4853 | 1766 | - shut down cleaner | ||
4854 | 1767 | |||
4855 | 1768 | * Mon Jan 08 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4856 | 1769 | - 3.23.30 | ||
4857 | 1770 | - do an explicit chmod on /var/lib/mysql in post, to avoid | ||
4858 | 1771 | any problems with broken permissons. There is a report | ||
4859 | 1772 | of rm not changing this on its own (#22989) | ||
4860 | 1773 | |||
4861 | 1774 | * Mon Jan 01 2001 Trond Eivind Glomsrd <teg@redhat.com> | ||
4862 | 1775 | - bzipped source | ||
4863 | 1776 | - changed from 85 to 78 in startup, so it starts before | ||
4864 | 1777 | apache (which can use modules requiring mysql) | ||
4865 | 1778 | |||
4866 | 1779 | * Wed Dec 27 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4867 | 1780 | - 3.23.29a | ||
4868 | 1781 | |||
4869 | 1782 | * Tue Dec 19 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4870 | 1783 | - add requirement for new libstdc++, build for errata | ||
4871 | 1784 | |||
4872 | 1785 | * Mon Dec 18 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4873 | 1786 | - 3.23.29 | ||
4874 | 1787 | |||
4875 | 1788 | * Mon Nov 27 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4876 | 1789 | - 3.23.28 (gamma) | ||
4877 | 1790 | - remove old patches, as they are now upstreamed | ||
4878 | 1791 | |||
4879 | 1792 | * Thu Nov 14 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4880 | 1793 | - Add a requirement for a new glibc (#20735) | ||
4881 | 1794 | - build on IA64 | ||
4882 | 1795 | |||
4883 | 1796 | * Wed Nov 1 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4884 | 1797 | - disable more assembly | ||
4885 | 1798 | |||
4886 | 1799 | * Wed Nov 1 2000 Jakub Jelinek <jakub@redhat.com> | ||
4887 | 1800 | - fix mysql on SPARC (#20124) | ||
4888 | 1801 | |||
4889 | 1802 | * Tue Oct 31 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4890 | 1803 | - 3.23.27 | ||
4891 | 1804 | |||
4892 | 1805 | * Wed Oct 25 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4893 | 1806 | - add patch for fixing bogus aliasing in mysql from Jakub, | ||
4894 | 1807 | which should fix #18905 and #18620 | ||
4895 | 1808 | |||
4896 | 1809 | * Mon Oct 23 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4897 | 1810 | - check for negative niceness values, and negate it | ||
4898 | 1811 | if present (#17899) | ||
4899 | 1812 | - redefine optflags on IA32 FTTB | ||
4900 | 1813 | |||
4901 | 1814 | * Wed Oct 18 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4902 | 1815 | - 3.23.26, which among other fixes now uses mkstemp() | ||
4903 | 1816 | instead of tempnam(). | ||
4904 | 1817 | - revert changes made yesterday, the problem is now | ||
4905 | 1818 | isolated | ||
4906 | 1819 | |||
4907 | 1820 | * Tue Oct 17 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4908 | 1821 | - use the compat C++ compiler FTTB. Argh. | ||
4909 | 1822 | - add requirement of ncurses4 (see above) | ||
4910 | 1823 | |||
4911 | 1824 | * Sun Oct 01 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4912 | 1825 | - 3.23.25 | ||
4913 | 1826 | - fix shutdown problem (#17956) | ||
4914 | 1827 | |||
4915 | 1828 | * Tue Sep 26 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4916 | 1829 | - Don't try to include no-longer-existing PUBLIC file | ||
4917 | 1830 | as doc (#17532) | ||
4918 | 1831 | |||
4919 | 1832 | * Thu Sep 12 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4920 | 1833 | - rename config file to /etc/my.cnf, which is what | ||
4921 | 1834 | mysqld wants... doh. (#17432) | ||
4922 | 1835 | - include a changed safe_mysqld, so the pid file option | ||
4923 | 1836 | works. | ||
4924 | 1837 | - make mysql dir world readable to they can access the | ||
4925 | 1838 | mysql socket. (#17432) | ||
4926 | 1839 | - 3.23.24 | ||
4927 | 1840 | |||
4928 | 1841 | * Wed Sep 06 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4929 | 1842 | - 3.23.23 | ||
4930 | 1843 | |||
4931 | 1844 | * Sun Aug 27 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4932 | 1845 | - Add "|| :" to condrestart to avoid non-zero exit code | ||
4933 | 1846 | |||
4934 | 1847 | * Thu Aug 24 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4935 | 1848 | - it's mysql.com, not mysql.org and use correct path to | ||
4936 | 1849 | source (#16830) | ||
4937 | 1850 | |||
4938 | 1851 | * Wed Aug 16 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4939 | 1852 | - source file from /etc/rc.d, not /etc/rd.d. Doh. | ||
4940 | 1853 | |||
4941 | 1854 | * Sun Aug 13 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4942 | 1855 | - don't run ldconfig -n, it doesn't update ld.so.cache | ||
4943 | 1856 | (#16034) | ||
4944 | 1857 | - include some missing binaries | ||
4945 | 1858 | - use safe_mysqld to start the server (request from | ||
4946 | 1859 | mysql developers) | ||
4947 | 1860 | |||
4948 | 1861 | * Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> | ||
4949 | 1862 | - condrestart fixes | ||
4950 | 1863 | |||
4951 | 1864 | * Mon Aug 01 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4952 | 1865 | - 3.23.22. Disable the old patches, they're now in. | ||
4953 | 1866 | |||
4954 | 1867 | * Thu Jul 27 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4955 | 1868 | - bugfixes in the initscript | ||
4956 | 1869 | - move the .so link to the devel package | ||
4957 | 1870 | |||
4958 | 1871 | * Wed Jul 19 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4959 | 1872 | - rebuild due to glibc changes | ||
4960 | 1873 | |||
4961 | 1874 | * Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4962 | 1875 | - disable compiler patch | ||
4963 | 1876 | - don't include info directory file | ||
4964 | 1877 | |||
4965 | 1878 | * Mon Jul 17 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4966 | 1879 | - move back to /etc/rc.d/init.d | ||
4967 | 1880 | |||
4968 | 1881 | * Fri Jul 14 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4969 | 1882 | - more cleanups in initscript | ||
4970 | 1883 | |||
4971 | 1884 | * Thu Jul 13 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4972 | 1885 | - add a patch to work around compiler bug | ||
4973 | 1886 | (from monty@mysql.com) | ||
4974 | 1887 | |||
4975 | 1888 | * Wed Jul 12 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4976 | 1889 | - don't build the SQL daemon statically (glibc problems) | ||
4977 | 1890 | - fix the logrotate script - only flush log if mysql | ||
4978 | 1891 | is running | ||
4979 | 1892 | - change the reloading procedure | ||
4980 | 1893 | - remove icon - glint is obsolete a long time ago | ||
4981 | 1894 | |||
4982 | 1895 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> | ||
4983 | 1896 | - automatic rebuild | ||
4984 | 1897 | |||
4985 | 1898 | * Mon Jul 10 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4986 | 1899 | - try the new compiler again | ||
4987 | 1900 | - build the SQL daemon statically | ||
4988 | 1901 | - add compile time support for complex charsets | ||
4989 | 1902 | - enable assembler | ||
4990 | 1903 | - more cleanups in initscript | ||
4991 | 1904 | |||
4992 | 1905 | * Sun Jul 09 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4993 | 1906 | - use old C++ compiler | ||
4994 | 1907 | - Exclusivearch x86 | ||
4995 | 1908 | |||
4996 | 1909 | * Sat Jul 08 2000 Trond Eivind Glomsrd <teg@redhat.com> | ||
4997 | 1910 | - move .so files to devel package | ||
4998 | 1911 | - more cleanups | ||
4999 | 1912 | - exclude sparc for now | ||
5000 | 1913 |
The diff has been truncated for viewing.