Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

MySQL release 5.7.26 29 #12

Merged
merged 356 commits into from
Jun 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
356 commits
Select commit Hold shift + click to select a range
863e2d5
Merge pull request #2830 from gl-sergei/5.6-ps-4758
gl-sergei Dec 18, 2018
037ed08
Bug#29041505 BACKPORT TO 5.7: BUNDLED LIBEVENT IS OUTDATED
Dec 11, 2018
3e03835
Bug#28643405: LAST_ERROR_NUMBER: 1064 DURING GRANT SELECT
vpvenugo Dec 18, 2018
c45288f
Bug#29041505 BACKPORT TO 5.7: BUNDLED LIBEVENT IS OUTDATED
Dec 18, 2018
56bab4c
NULL Merge branch 'mysql-5.6' into mysql-5.7
Dec 18, 2018
079fd01
Bug#28466137 MYSQLADMIN SHUTDOWN DOES NOT WAIT FOR MYSQL TO SHUT DOWN…
trosten Dec 18, 2018
48bee0a
Merge branch 'mysql-5.6' into mysql-5.7
trosten Dec 18, 2018
022f81f
Merge pull request #2823 from georgelorchpercona/ps-5.6-5158
Dec 18, 2018
d8802b3
Merge pull request #2842 from laurynas-biveinis/PS-4855-5.6
laurynas-biveinis Dec 18, 2018
64a4524
Merge pull request #2834 from laurynas-biveinis/PS-4999-5.6
laurynas-biveinis Dec 18, 2018
4c7e662
Bug#28466137 MYSQLADMIN SHUTDOWN DOES NOT WAIT FOR MYSQL TO SHUT DOWN…
trosten Dec 18, 2018
e11403d
Merge branch 'mysql-5.6' into mysql-5.7
trosten Dec 18, 2018
8d2bc86
Bug#29121165 MYSQL SERVER FAILS TO START ON NON-ENGLISH WINDOWS WITH …
Dec 18, 2018
b087663
Merge branch 'mysql-5.5' into mysql-5.6
Dec 19, 2018
85e4a11
BUG#27928837 `HEAD->VARIABLES.GTID_NEXT.TYPE != UNDEFINED_GTID'
Dec 20, 2018
2308bf7
Bug#29055263: REMOVE GR PLUGIN README FILE
Dec 20, 2018
41fb35a
Merge branch 'mysql-5.6' into mysql-5.7
Dec 20, 2018
67b51d5
Merge branch 'mysql-5.5' into mysql-5.6
Dec 19, 2018
d9497c7
Bug#29121165 MYSQL SERVER FAILS TO START ON NON-ENGLISH WINDOWS WITH …
Dec 18, 2018
17e4be8
PS-5165: Use Xenial instead of Trusty in Travis-CI
inikep Dec 24, 2018
274d19a
Bug#29159867: MAIN.MYSQLDUMP FAILS WITH EVENT CREATED IN THE PAST
jhauglid Jan 2, 2019
6f2927c
Merge branch 'mysql-5.6' into mysql-5.7
jhauglid Jan 2, 2019
2b013d3
Merge pull request #2885 from inikep/5.6-PS-5165
inikep Jan 2, 2019
04c7d02
Merge pull request #2895 from laurynas-biveinis/PS-5269-5.6
laurynas-biveinis Jan 3, 2019
286ad60
Merge pull request #2898 from laurynas-biveinis/PS-5268-5.6
laurynas-biveinis Jan 3, 2019
3f1f7f4
Bug #28936888 XCOM'S ACCEPTOR_LEARNER_TASK USES-AFTER-FREE A REFERENC…
tvale Dec 27, 2018
e95c5a2
Merge pull request #2901 from laurynas-biveinis/PS-5271-5.6
laurynas-biveinis Jan 3, 2019
242a316
Merge pull request #2905 from laurynas-biveinis/MTR-bug88797-5.6
laurynas-biveinis Jan 4, 2019
8ab38fb
Bug#29024182 - [REGRESSION]INVOCATION OF MIGRATION FAILS WITH
Jan 7, 2019
2e86093
Bug#28692136 - HANDLE_FATAL_SIGNAL (SIG=11) IN BASE_LIST_ITERATOR::NE…
phulakun Jan 8, 2019
9f00681
Merge pull request #2915 from laurynas-biveinis/PS-5270-5.6
laurynas-biveinis Jan 9, 2019
37d73f9
BUG#28743258: DISABLED-ASAN.LIST NOT WORKING FOR MYSQL 5.7 BRANCH
Jan 7, 2019
79a9a68
PS-5305: Fix log encryption issues reported by ASAN
dutow Jan 10, 2019
c8a7bde
Bug#25914296: OUT-OF-BOUNDS READ IN MYSQLD.CC FIX_PATHS
Apr 21, 2017
f44bede
Bug#29178542 BACKPORT BUG#26115002 TO 5.6
jhauglid Sep 20, 2016
c5db536
Merge pull request #2923 from borys-belinsky/ENG-53-5.6
Jan 10, 2019
2739c5f
Merge pull request #2926 from laurynas-biveinis/PS-240-5.6
laurynas-biveinis Jan 11, 2019
75c0c34
Bug#29178542 BACKPORT BUG#26115002 TO 5.6
Jan 10, 2019
b3d29b7
Bug#28972413: GR_LOWER_CASE_TABLE_NAMES FAILING ON PB2
Jan 13, 2019
e63f15f
NULL Merge branch 'mysql-5.6' into mysql-5.7
Jan 16, 2019
7b54ab7
Bug#29178542 BACKPORT BUG#26115002 TO 5.6
jhauglid Sep 20, 2016
00df405
Bug#29178542 BACKPORT BUG#26115002 TO 5.6
Jan 4, 2019
8a04361
Bug#28429993: IF THE STORAGE ENGINE SUPPORTS RBR, UNSAFE SQL
vpvenugo Jan 21, 2019
5fea964
Bug28429993: Merge branch 'mysql-5.6' into mysql-5.7
vpvenugo Jan 21, 2019
7dc6b41
Bug#29227032: BACKPORT 28970047 INC CHANGES TO 5.7
Jan 21, 2019
7567961
Merge branch 'mysql-5.7.25-release' into mysql-5.7
surbhat1595 Jan 21, 2019
d53f125
Merge branch 'mysql-5.6.43-release' into mysql-5.6
gipulla Jan 21, 2019
4d768fc
Upmerge of the 5.6.43 build
gipulla Jan 21, 2019
c5de209
Bug#28972434: GR_AUTOSTART_ON_INSTALL FAILING ON PB2
Jan 18, 2019
ed67bfd
Merge branch 'mysql-5.5.63-release' into mysql-5.5
bkandasa Jan 21, 2019
74f5e6d
Upmerge of the 5.5.63 build
bkandasa Jan 21, 2019
7f1f916
Upmerge of the 5.5.63 build
bkandasa Jan 21, 2019
2bbbcdd
Bug#28825718 - ASSERTION FAILURE: TRX0REC.CC:NNN:N_IDX > 0 WHILE DOIN…
Jan 18, 2019
6bccfee
Bug#28429993: IF THE STORAGE ENGINE SUPPORTS RBR, UNSAFE SQL STATEMEN…
vpvenugo Jan 22, 2019
2189eec
Merge branch 'mysql-5.6' into mysql-5.7
vpvenugo Jan 22, 2019
63d7b2d
BUG#29247384: VALGRIND MACHINES ARE NOT CAPABLE OF SHUTDOWN A SERVER …
nacarvalho Jan 22, 2019
13ddfce
BUG#29225882: BACKPORT 29211105 TO MYSQL-5.7
Jan 23, 2019
456e713
Bug#29240701 IF FOUND, REQUIRE LIBTIRPC > 1.0.3
Jan 23, 2019
3a80e62
BUG#29256690 SETTING IS_VALID_NAMED_PIPE_FULL_ACCESS_GROUP CRASH
Jan 24, 2019
9666ad8
Merge branch 'mysql-5.5' into mysql-5.6
Jan 24, 2019
2416129
Merge branch 'mysql-5.6' into mysql-5.7
Jan 25, 2019
1616b92
Bug #25966845 INSERT ON DUPLICATE KEY GENERATE A DEADLOCK
Jan 25, 2019
324a749
BUG#29256690 SETTING IS_VALID_NAMED_PIPE_FULL_ACCESS_GROUP CRASH
Jan 25, 2019
037e4e2
Bug #29021730 CRASHING INNOBASE_COL_CHECK_FK WITH FOREIGN KEYS
Jan 25, 2019
e02123c
Bug#28986737: RENAMING AND REPLACING MYSQL.USER TABLE CAN
Jan 28, 2019
d78b2fd
Merge branch 'mysql-5.5' into mysql-5.6
Jan 28, 2019
75f207c
Merge branch 'mysql-5.6' into mysql-5.7
Jan 28, 2019
779b18a
Bug #29207450 TINYTEXT COLUMN TAKES LONG TIME IN THE GROUP BY OPERATION.
gurusami Jan 11, 2019
2f72a2a
Problem
vpvenugo Jan 28, 2019
c0a0c71
Merge branch 'mysql-5.5' into mysql-5.6
vpvenugo Jan 28, 2019
1fc7980
Merge branch 'mysql-5.6' into mysql-5.7
vpvenugo Jan 28, 2019
92f4efe
Bug#28429993: IF THE STORAGE ENGINE SUPPORTS RBR, UNSAFE SQL STATEMEN…
vpvenugo Jan 30, 2019
3f213f0
Merge branch 'mysql-5.6' into mysql-5.7
vpvenugo Jan 30, 2019
fa6edca
BUG#29278747 - REMOVE COMPAT-OPENSSL10-DEVEL FROM FEDORA SPEC FILE
bkandasa Jan 30, 2019
799cd91
Bug #19811005 ALTER TABLE ADD INDEX DOES NOT UPDATE INDEX_LENGTH IN I_S
Jan 30, 2019
c18e473
Merge branch 'mysql-5.6' into mysql-5.7
Jan 30, 2019
2817c56
PS-5221 : Page Cleaner will sleep for long time if clock changes
Jan 22, 2019
aaba359
Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT D…
Feb 4, 2019
a8071de
Merge branch 'mysql-5.6' into mysql-5.7
Feb 4, 2019
02a1f20
Bug#27373959 CREATE TABLE PANIC ON INNOBASE_PARSE_HINT_FROM_COMMENT
Feb 4, 2019
53b6b70
Fixed PS-1827 (LP #1736921: Inconsistent and unsafe FLUSH behavior in…
Jan 16, 2019
8fbc296
Merge remote-tracking branch 'local-5.6/ps-5.6-5221' into ps-5.7-5221
Feb 1, 2019
09b4476
Merge pull request #2959 from georgelorchpercona/ps-5.7-5221
Feb 4, 2019
c57586c
BUG#29278262 - XPLUGIN UNITTEST FAILS TO BUILD ON FREEBSD 12
Feb 5, 2019
49a0fe4
Merge branch 'ps-5.6-bugps1827-binlog_skip_flush_commands' into ps-5.…
percona-ysorokin Feb 4, 2019
e2376ab
Bug#22980441 SEGMENTATION FAULT AUDIT PLUGIN FOR CONCURRENT PLUGIN ST…
maras007 Feb 5, 2019
65af868
PS-4688: SSL improvement: discribe for PS 5.7
Jan 31, 2019
9fd57d3
PS-5395: Huge memory usage for audit plugin when large queries are
gl-sergei Feb 5, 2019
e201f52
Merge branch '5.6-ps-5395' into 5.7-ps-5395
gl-sergei Feb 5, 2019
904d24c
Feb 6, 2019
93b813a
Bug #23329861 - WARNING ABOUT LOCALHOST WHEN USING SKIP-NAME-RESOLVE …
jensevenb Feb 4, 2019
d6a8ec0
Merge pull request #2984 from percona-ysorokin/ps-5.7-bugps1827-binlo…
percona-ysorokin Feb 6, 2019
36a21b9
Merge branch '5.7' into PS-4688-SSL-CERTIFICATE-COMPATIBILITY-MATRIX-5.7
Feb 6, 2019
f8b4c05
Merge pull request #2978 from borys-belinsky/PS-4688-SSL-CERTIFICATE-…
Feb 6, 2019
e60b631
PS-5406 : jemalloc 5.0.x causes TokuDB/PerconaFT to assert on load
Feb 6, 2019
95df5c5
Merge remote-tracking branch 'local-5.6/ps-5.6-5406' into ps-5.7-5406
Feb 6, 2019
ec8f56f
Merge pull request #2993 from georgelorchpercona/ps-5.7-5406
Feb 7, 2019
ae13acf
Merge pull request #2908 from dutow/ps-5.7-ps-5305
dutow Feb 8, 2019
6f260de
Bug #19811005 ALTER TABLE ADD INDEX DOES NOT UPDATE INDEX_LENGTH IN I_S
Feb 11, 2019
586a609
Merge branch 'mysql-5.6' into mysql-5.7
Feb 11, 2019
d86b64f
Bug#28971594: VIEW_CHANGE_LOG_EVENT MAY NOT BE LOGGED ON A OVERLOADED…
pedrolgomes Feb 11, 2019
a776fc6
Feb 11, 2019
a989198
Merge pull request #2989 from gl-sergei/5.7-ps-5395
gl-sergei Feb 12, 2019
5516981
BUG#28971594: VIEW_CHANGE_LOG_EVENT MAY NOT BE LOGGED ON A OVERLOADED…
pedrolgomes Feb 12, 2019
503e932
PS-5405: binlog_skip_flush_commands
Feb 8, 2019
5fdaa66
PS-5408: Release notes for v5.7.25-28
Feb 8, 2019
3b52f20
Merge pull request #2996 from borys-belinsky/PS-5408-RN-V5-7-25-28-5.7
Feb 13, 2019
d81dea6
Merge branch 'PS-5405-BINLOG-SKIP-FLUSH-COMMANDS-5.6' into PS-5405-BI…
Feb 13, 2019
b46cd6b
Merge pull request #3002 from borys-belinsky/PS-5405-BINLOG-SKIP-FLUS…
Feb 13, 2019
d3bc64e
Deb packaging: Add support for Ubuntu 19.04
sreedhars Feb 14, 2019
56b85b1
Release notes for v5.7.25-28: change date
Feb 15, 2019
cb6fa29
Merge pull request #3007 from borys-belinsky/RN-5.7.25-28
Feb 15, 2019
d009f1a
Bug#28039829: SELECT QUERY WITH COMPLEX JOINS LEAKS FILE
Feb 18, 2019
b4d8003
Feb 18, 2019
e00aaa5
Bug#29368349 DEB PACKAGING: ADD DEBIAN10 SUPPORT
ltangvald Feb 12, 2019
b2f8ef2
Deb packaging: Add Ubuntu 19.04 support
ltangvald Feb 14, 2019
7b2b4d3
BUG#28972453: GR_RECOVERY_CONNECTION_OPTIONS IS FAILING ON PB2
Metaluim Feb 1, 2019
503c9a4
Merge pull request #3010 from percona/release-5.7.25-27
EvgeniyPatlan Feb 18, 2019
a3dd3ba
Bug #19811005 ALTER TABLE ADD INDEX DOES NOT UPDATE INDEX_LENGTH IN I_S
Feb 19, 2019
4431d5f
Merge branch 'mysql-5.6' into mysql-5.7
Feb 19, 2019
390b979
Bug #27760952: CONCURRENT ROTATE KEY AND MIGRATE CALL MAKES THE ENCRY…
Feb 20, 2019
534aeef
Bug#29007731 ASSERTION FAILURE: FIL0FIL.CC.*SPACE->N_PENDING_FLUSHES …
Feb 21, 2019
f76cd6d
Bug#28815555: HEARTBEATS/FAKEROTATE CAUSE A FORCED
Feb 21, 2019
4012f0b
JEN-795 Failed connect to vault.public-ci.percona.com:8600
May 24, 2018
1e9a24b
Deb packaging: Remove router references from Ubuntu 19.04 packaging
ltangvald Feb 26, 2019
747f916
Fix PS-5441 (Redundant -master.opt files for some tokudb.parts tests)
laurynas-biveinis Feb 27, 2019
3c16346
Merge branch 'PS-5441-5.6' into PS-5441-5.7
laurynas-biveinis Feb 27, 2019
83bf5ab
Fix PS-5442 (Intermittent sql/log.cc:1479: bool Query_logger::slow_lo…
laurynas-biveinis Feb 27, 2019
c01ed0a
Merge pull request #3019 from laurynas-biveinis/PS-5441-5.7
laurynas-biveinis Feb 27, 2019
3558164
PS-5450 - InnoDB's MVCC has O(N^2) behaviors (Also fixes PS-4712 - As…
satya-bodapati Feb 28, 2019
420705c
Add cosmic support
EvgeniyPatlan Mar 1, 2019
485ad1d
Add cosmic support
EvgeniyPatlan Mar 1, 2019
0c47385
Fix PS-3581 (LP #1633993: Failing assertion: !buf_page_hash_get_low(b…
laurynas-biveinis Mar 1, 2019
d8d0e97
PS-3969 - 5.6
altmannmarcelo Mar 1, 2019
d77a453
Merge pull request #3022 from satya-bodapati/PS-5.7-5450
satya-bodapati Mar 2, 2019
e823d25
PS-4644: kill codes - add description
Mar 4, 2019
0dc5f12
PS-5372: vault plugin - kv v1
Mar 4, 2019
56aa49e
PS-5370: audit_log_buffer_size - update default value
Mar 4, 2019
3cf6562
PS-5235: innodb_parallel_dblwr_encrypt - fix cli syntax
Mar 4, 2019
879ce68
PS-5251: processlist - remove rows_read
Mar 4, 2019
2f87c16
PS-5447: Changed page tracking is missing pages changed by the in-place
gl-sergei Mar 4, 2019
6ec4e7f
Merge pull request #3037 from laurynas-biveinis/PS-3581-5.7
laurynas-biveinis Mar 5, 2019
b7fdc04
Merge branch 'PS-5251-ROWS-READ-REMOVING-5.6' into PS-5251-ROWS-READ-…
Mar 5, 2019
ad1a5c7
Merge pull request #3043 from borys-belinsky/PS-5251-ROWS-READ-REMOVI…
Mar 5, 2019
e96ed9f
Merge pull request #3041 from gl-sergei/5.7-ps-5447
gl-sergei Mar 6, 2019
1af2e1a
Merge pull request #3025 from laurynas-biveinis/PS-5442-5.7
laurynas-biveinis Mar 6, 2019
c307e2b
Merge pull request #3027 from EvgeniyPatlan/5.7
EvgeniyPatlan Mar 6, 2019
88df816
Merge branch 'PS-5370-AUDIT-LOG-BUFFER-SIZE-5.6' into PS-5370-AUDIT-L…
Mar 6, 2019
1bf45e6
Merge pull request #3046 from borys-belinsky/PS-5370-AUDIT-LOG-BUFFER…
Mar 6, 2019
7193890
PS-5370: version reference - remove incorrect
Mar 6, 2019
1758a8d
Merge pull request #3048 from borys-belinsky/PS-5370-AUDIT-LOG-BUFFER…
Mar 6, 2019
b08d389
Merge pull request #3033 from borys-belinsky/PS-5235-INNODB-PARALLEL-…
Mar 6, 2019
a0fe6b3
PS-5448: fix formatting problem
Mar 6, 2019
ad2536e
Merge branch 'PS-5448-NUMA-FORMATTING-5.6' into PS-5448-NUMA-FORMATTI…
Mar 6, 2019
00c5fd7
Merge pull request #3051 from borys-belinsky/PS-5448-NUMA-FORMATTING-5.7
Mar 6, 2019
43f8ea1
Merge pull request #3012 from robgolebiowski/57_jen_795
laurynas-biveinis Mar 7, 2019
caf46ae
Merge branch '5.6-PS-3969' into 5.7-PS-3969
altmannmarcelo Mar 2, 2019
027cb01
Merge pull request #3052 from borys-belinsky/PS-4644-SLOW-LOG-KILL-CO…
Mar 11, 2019
88caf4d
Rhel8 changes
EvgeniyPatlan Mar 11, 2019
f27e68d
Merge pull request #2296 from fiowro/doc-736-5.7
Mar 11, 2019
e7ad169
Merge pull request #3060 from EvgeniyPatlan/5.7_rhel8
EvgeniyPatlan Mar 11, 2019
163cc67
Fix rhel8 build
EvgeniyPatlan Mar 11, 2019
27175e2
Merge pull request #3062 from EvgeniyPatlan/5.7_rhel8
EvgeniyPatlan Mar 11, 2019
353f5d7
Fix rhel8
EvgeniyPatlan Mar 12, 2019
6426b53
Merge pull request #3063 from EvgeniyPatlan/5.7_rhel8
EvgeniyPatlan Mar 12, 2019
947626f
fix shared compat build
EvgeniyPatlan Mar 12, 2019
da85ef7
Merge pull request #3065 from EvgeniyPatlan/5.7_rhel8
EvgeniyPatlan Mar 12, 2019
1fe9bcf
BUG#29324564: FIX FRACTIONAL TIMEOUT VALUES USED WITH WAIT_FOR_EXECUT…
nacarvalho Feb 22, 2019
f79f676
Bug#29414245 BOTH MYSQL CLIENT AND SHELL FAIL TO CONNECT TO 5.7 COMMU…
Mar 1, 2019
88b32b1
Bug#29435592 MYSQL SERVICE IS NOT STARTING AFTER UPGRADING FROM NATIV…
ltangvald Mar 4, 2019
0b1eeea
Restore dropped innodb.table_encrypt_2_keyring in preparation for PS-…
laurynas-biveinis Mar 14, 2019
49cf21e
PS-5489 Fix double dash
EvgeniyPatlan Mar 14, 2019
f62ea97
Merge pull request #3075 from EvgeniyPatlan/5.7
EvgeniyPatlan Mar 14, 2019
a0807b5
Merge pull request #3081 from laurynas-biveinis/PS-5482-5.7
laurynas-biveinis Mar 15, 2019
bab8eec
PS-5479: CentOS 6: update about curl
Mar 14, 2019
e6e3ef0
Merge pull request #3078 from borys-belinsky/PS-5479-KEYRING-VAULT-CE…
Mar 15, 2019
e336723
PS-5491: innodb_encrypt_tables - fix incorrect syntax
Mar 18, 2019
71af99c
Merge pull request #3057 from altmannmarcelo/5.7-PS-3969
altmannmarcelo Mar 19, 2019
1782697
PS-5430: binary log encryption - fix error in description
Mar 4, 2019
fa9afaa
PS-5501 : Re-license PerconaFT 'locktree' to Apache V2
Mar 19, 2019
25ee34c
Merge remote-tracking branch 'local-5.6/ps-5.6-5501' into ps-5.7-5501
Mar 19, 2019
5508208
Merge branch 'ps-5.7-5501' of https://github.com/georgelorchpercona/p…
Mar 19, 2019
2a542e1
Merge branch 'georgelorchpercona-ps-5.7-5501' into 5.7
Mar 19, 2019
27c9129
Merge pull request #3031 from borys-belinsky/PS-5372-VAULT-PLUGIN-VER…
Mar 20, 2019
00893fe
Merge pull request #3086 from borys-belinsky/PS-5491-INNODB-ENCRYPT-T…
Mar 20, 2019
db60e71
PS-5255: lock tables for backup: add MyRocks and TokuDB
Mar 4, 2019
7aa30e6
PS-5206 : [PS8QA] handle_fatal_signal (sig=11) in handler::get_ha_sha…
satya-bodapati Mar 20, 2019
33fed58
Merge branch 'PS-5255-ROCKSDB-TOKUDB-BACKUP-LOCKS-5.6' into PS-5255-R…
Mar 21, 2019
6eb4ce9
Merge pull request #3095 from borys-belinsky/PS-5255-ROCKSDB-TOKUDB-B…
Mar 21, 2019
b8b4dd7
Merge pull request #3092 from satya-bodapati/PS-5.7-5206
satya-bodapati Mar 22, 2019
5092afa
PS-3819: innodb_encrypt_online_alter_logs - add definition
Mar 4, 2019
b330273
PS-5243 SHOW BINLOG EVENT ASSERTION
altmannmarcelo Mar 26, 2019
2b1c002
Merge branch 'PS-5.6-5243' into PS-5.7-5243
altmannmarcelo Mar 26, 2019
604f95d
Null-merge branch 5.6 (commit 2739c5f) into 5.7
percona-ysorokin Mar 27, 2019
de946a2
Merge pull request #3107 from percona-ysorokin/ps-5.7.25-5.6.43-null-…
percona-ysorokin Mar 27, 2019
2047a74
PS-5516 [RHEL 8] when installing 5.7 packages, if sysbench/PT is alre…
EvgeniyPatlan Mar 29, 2019
184359a
Merge pull request #3111 from EvgeniyPatlan/5.7
EvgeniyPatlan Mar 29, 2019
a4bda6e
Merge pull request #3029 from borys-belinsky/PS-5430-BINARY-ENCRYPTIO…
Mar 29, 2019
313ff57
PS-5508 : native_part::Partition_base::<...> -> handler::ha_open -> _…
satya-bodapati Apr 1, 2019
363aec5
Merge branch 'PS-5.7-5508' into 5.7
satya-bodapati Apr 1, 2019
23847cd
Merge pull request #3103 from altmannmarcelo/PS-5.7-5243
altmannmarcelo Apr 2, 2019
522b599
PS-4988: Post merge fix, rename incorrect opt file
dutow Apr 2, 2019
024e6f6
Merge pull request #3114 from dutow/ps-5.7-ps4988-rename-opt-file
dutow Apr 3, 2019
14cf136
PS-5537 : Installation of 'keyring_vault' test for Centos6
Apr 2, 2019
d6b0480
Merge pull request #3118 from georgelorchpercona/ps-5.7-5537
Apr 4, 2019
3a57477
Fix PS-4933 ([PS8QA] Assertion `innodb_trx_id == 0 || innodb_trx_id =…
laurynas-biveinis Apr 8, 2019
18a1e86
PS-5538: innodb_encrypt_tables accepts FORCE only as a STRING
Apr 1, 2019
a3f7d04
Fixed PS-5561 (5.7->8.0 null merge followup (remove error code 42 ASa…
percona-ysorokin Apr 10, 2019
011830f
Merge pull request #3129 from laurynas-biveinis/PS-4933-5.7
laurynas-biveinis Apr 10, 2019
98ec529
Merge pull request #3134 from percona-ysorokin/ps-5.7-bugps5561-error…
percona-ysorokin Apr 10, 2019
ae36429
PS-5174 Add missing test cases for compressed columns with partition
altmannmarcelo Apr 9, 2019
b90ee10
PS-5512 Add ubuntu 19.04 and debian 10
EvgeniyPatlan Apr 11, 2019
b42c296
Merge pull request #3139 from EvgeniyPatlan/5.7
EvgeniyPatlan Apr 11, 2019
0ee352b
Merge pull request #3140 from robgolebiowski/57_PS-5538_innodb_encryp…
robgolebiowski Apr 12, 2019
96d1006
PS-5554: System keys not thread safe
Apr 9, 2019
ac692ab
Merge pull request #3137 from robgolebiowski/5.7-PS_5554_system_keys_…
robgolebiowski Apr 12, 2019
a2666a5
PS-5547: redo log encryption is not working.
Apr 5, 2019
a339a99
Merge pull request #3128 from robgolebiowski/PS-5547_redo_log_encrypt…
robgolebiowski Apr 12, 2019
8cc757d
Apr 13, 2019
6ea16af
Merge pull request #3132 from altmannmarcelo/PS-5.7-5174
altmannmarcelo Apr 16, 2019
643c282
Fix PS-5570 (Slow log data not cleared before COM_QUIT)
laurynas-biveinis Apr 16, 2019
311914a
Merge pull request #3030 from borys-belinsky/PS-4628-INNODB_ENCRYPT_O…
Apr 17, 2019
7ebaef8
PS-3410 : LP #1570114: Long running ALTER TABLE ADD INDEX causes sema…
satya-bodapati Apr 16, 2019
7855bd5
Merge pull request #3143 from satya-bodapati/PS-5.7-3410
satya-bodapati Apr 19, 2019
ef99fc2
Merge pull request #3148 from laurynas-biveinis/PS-5570-5.7
laurynas-biveinis Apr 19, 2019
ec45030
Fixed PS-5353 (Wrong binlog entry for BLOB on a blackhole intermediar…
percona-ysorokin Apr 16, 2019
6435b4b
Merge branch 'ps-5.6-bugps5353-blackhole_blob' into ps-5.7-bugps5353-…
percona-ysorokin Apr 22, 2019
f625805
Merge pull request #3145 from percona-ysorokin/ps-5.7-bugps5353-black…
percona-ysorokin Apr 23, 2019
ffa0a0e
Fix PS-5578 (Test innodb.percona_log_slow_innodb is unstable)
laurynas-biveinis Apr 23, 2019
844a95a
Merge branch 'PS-5578-5.6' into PS-5578-5.7
laurynas-biveinis Apr 23, 2019
6533661
PS-5428 Use 'devtoolset-2' for centos6 i386
EvgeniyPatlan Apr 24, 2019
adda836
PS-5550 : RHEL8 runners in 5.7 seem to be missing python
Apr 18, 2019
886c393
Merge pull request #3157 from laurynas-biveinis/PS-5578-5.7
laurynas-biveinis Apr 25, 2019
ffae747
Merge remote-tracking branch 'ps-5.6-5550' into ps-5.7-5550
Apr 25, 2019
f0cef18
Implemented PS-5101 (Merge MySQL 5.7.26) (docs)
percona-ysorokin Apr 26, 2019
6fce6ad
Merge branch 'ps-5.7-5550' of https://github.com/georgelorchpercona/p…
Apr 26, 2019
277d105
Merge branch 'georgelorchpercona-ps-5.7-5550' into 5.7
Apr 26, 2019
744f4e1
PS-5562 : index_merge + partitioning + MyRocks crashes the server
satya-bodapati Apr 26, 2019
870bb92
Merge pull request #3162 from satya-bodapati/PS-5.7-5562
satya-bodapati Apr 30, 2019
fd35368
Merge pull request #3155 from EvgeniyPatlan/5.7
EvgeniyPatlan May 1, 2019
8b27b3b
Implemented PS-5101 (Merge MySQL 5.7.26) (merge with conflicts)
percona-ysorokin May 2, 2019
eda1eac
PS-5541: Do not try to decrypt blocks in changed page tracking.
dutow Apr 17, 2019
19cd865
Implemented PS-5101 (Merge MySQL 5.7.26) (conflicts resolved)
percona-ysorokin May 6, 2019
8bb09c4
Merge pull request #3171 from percona-ysorokin/ps-5.7.26-merge
percona-ysorokin May 8, 2019
f91a9f2
Merge pull request #3150 from dutow/ps-5.7-ps5541
dutow May 8, 2019
98c1c2d
PS-5610: Fix keyring redo encryption in 32 bit builds
dutow May 9, 2019
0796b5d
Merge pull request #3176 from dutow/ps-5.7-ps5610
dutow May 14, 2019
9ffca95
Add pkg-config dependency and fix rpm build
EvgeniyPatlan May 15, 2019
11ad961
Merge pull request #3182 from EvgeniyPatlan/release-5.7.26-29
EvgeniyPatlan May 16, 2019
9868c89
Merge tag 'Percona-Server-5.7.26-29' of https://github.com/percona/pe…
TCeason Jun 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ INCLUDE(lz4)
INCLUDE(libevent)
INCLUDE(ssl)
INCLUDE(sasl)
INCLUDE(rpc)
INCLUDE(readline)
INCLUDE(protobuf)
INCLUDE(mysql_version)
Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=7
MYSQL_VERSION_PATCH=25
MYSQL_VERSION_EXTRA=-28
MYSQL_VERSION_PATCH=26
MYSQL_VERSION_EXTRA=-29
86 changes: 60 additions & 26 deletions build-ps/percona-server-5.7_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,23 @@ check_workdir(){
add_percona_yum_repo(){
if [ ! -f /etc/yum.repos.d/percona-dev.repo ]
then
curl -o /etc/yum.repos.d/ https://jenkins.percona.com/yum-repo/percona-dev.repo
curl -o /etc/yum.repos.d/percona-dev.repo https://jenkins.percona.com/yum-repo/percona-dev.repo
sed -i 's:$basearch:x86_64:g' /etc/yum.repos.d/percona-dev.repo

fi
return
}

add_percona_apt_repo(){
if [ ! -f /etc/apt/sources.list.d/percona-dev.list ]; then
curl -o /etc/apt/sources.list.d/ https://jenkins.percona.com/apt-repo/percona-dev.list.template
mv /etc/apt/sources.list.d/percona-dev.list.template /etc/apt/sources.list.d/percona-dev.list
if [ "x$RHEL" = "x8" ]; then
echo -e '[main]\nenabled=0\n' > /etc/yum/pluginconf.d/subscription-manager.conf
echo 'strict=0' >> /etc/dnf/dnf.conf
echo 'strict=0' >> /etc/yum/yum.conf
wget -O /etc/yum.repos.d/rhel8-beta.repo https://jenkins.percona.com/yum-repo/rhel8/rhel8-beta.repo
wget -O /etc/yum.repos.d/percona-dev.repo https://jenkins.percona.com/yum-repo/percona-dev.repo
fi
curl -o /etc/apt/sources.list.d/percona-dev.list https://jenkins.percona.com/apt-repo/percona-dev.list.template
sed -i "s:@@DIST@@:$OS_NAME:g" /etc/apt/sources.list.d/percona-dev.list
fi

Expand Down Expand Up @@ -293,15 +301,30 @@ install_deps() {
RHEL=$(rpm --eval %rhel)
ARCH=$(echo $(uname -m) | sed -e 's:i686:i386:g')
add_percona_yum_repo
yum -y install https://repo.percona.com/yum/percona-release-latest.noarch.rpm || true
percona-release enable origin release
yum -y install epel-release
yum -y install git numactl-devel rpm-build gcc-c++ gperf ncurses-devel perl readline-devel openssl-devel jemalloc
yum -y install time zlib-devel libaio-devel bison cmake pam-devel libeatmydata jemalloc-devel
yum -y install perl-Time-HiRes libcurl-devel openldap-devel unzip wget libcurl-devel
yum -y install perl-Env perl-Data-Dumper perl-JSON MySQL-python perl-Digest perl-Digest-MD5 perl-Digest-Perl-MD5 || true
if [ ${RHEL} -lt 7 -a $(uname -m) = x86_64 ]; then
yum -y install percona-devtoolset-gcc percona-devtoolset-gcc-c++ percona-devtoolset-binutils
if [ ${RHEL} -lt 8 ]; then
yum -y install https://repo.percona.com/yum/percona-release-latest.noarch.rpm || true
percona-release enable origin release
yum -y install epel-release
yum -y install git pkg-config numactl-devel rpm-build gcc-c++ gperf ncurses-devel perl readline-devel openssl-devel jemalloc
yum -y install time zlib-devel libaio-devel bison cmake pam-devel libeatmydata jemalloc-devel
yum -y install perl-Time-HiRes libcurl-devel openldap-devel unzip wget libcurl-devel
yum -y install perl-Env perl-Data-Dumper perl-JSON MySQL-python perl-Digest perl-Digest-MD5 perl-Digest-Perl-MD5 || true
if [ ${RHEL} = 6 ]; then
if [ $(uname -m) = x86_64 ]; then
yum -y install percona-devtoolset-gcc percona-devtoolset-gcc-c++ percona-devtoolset-binutils
else
wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-cern https://raw.githubusercontent.com/cms-sw/cms-docker/master/slc6-vanilla/RPM-GPG-KEY-cern
yum -y install devtoolset-2-gcc-c++ devtoolset-2-binutils libevent2-devel
fi
fi
else
yum -y install perl.x86_64
yum -y install binutils gcc gcc-c++ tar rpm-build rsync bison glibc glibc-devel libstdc++-devel libtirpc-devel make openssl-devel pam-devel perl perl-JSON perl-Memoize
yum -y install automake autoconf cmake jemalloc jemalloc-devel
yum -y install libcurl-devel openldap-devel selinux-policy-devel
yum -y install libaio-devel ncurses-devel numactl-devel readline-devel time
yum -y install rpcgen libtirpc-devel
fi
if [ "x$RHEL" = "x6" ]; then
yum -y install Percona-Server-shared-56
Expand All @@ -319,17 +342,25 @@ install_deps() {
echo "waiting"
done
apt-get -y purge eatmydata || true
echo "deb http://jenkins.percona.com/apt-repo/ ${DIST} main" > percona-dev.list
mv -f percona-dev.list /etc/apt/sources.list.d/
wget -q -O - http://jenkins.percona.com/apt-repo/8507EFA5.pub | sudo apt-key add -
wget -q -O - http://jenkins.percona.com/apt-repo/CD2EFD2A.pub | sudo apt-key add -
apt-get update
apt-get -y install psmisc
apt-get -y install libsasl2-modules:amd64 || apt-get -y install libsasl2-modules
apt-get -y install psmisc pkg-config
apt-get -y install libsasl2-dev libsasl2-modules:amd64 libsasl2-modules-ldap || apt-get -y install libsasl2-modules libsasl2-modules-ldap libsasl2-dev
apt-get -y install dh-systemd || true
apt-get -y install curl bison cmake perl libssl-dev gcc g++ libaio-dev libldap2-dev libwrap0-dev gdb unzip gawk
apt-get -y install lsb-release libmecab-dev libncurses5-dev libreadline-dev libpam-dev zlib1g-dev libcurl4-openssl-dev
apt-get -y install lsb-release libmecab-dev libncurses5-dev libreadline-dev libpam-dev zlib1g-dev
apt-get -y install libldap2-dev libnuma-dev libjemalloc-dev libeatmydata libc6-dbg valgrind libjson-perl python-mysqldb libsasl2-dev

apt-get -y install libmecab2 mecab mecab-ipadic
apt-get -y install build-essential devscripts
apt-get -y install build-essential devscripts libnuma-dev
apt-get -y install cmake autotools-dev autoconf automake build-essential devscripts debconf debhelper fakeroot
apt-get -y install libcurl4-openssl-dev
if [ "x${DIST}" = "xcosmic" -o "x${DIST}" = "xbionic" -o "x${DIST}" = "xdisco" -o "x${DIST}" = "xbuster" ]; then
apt-get -y install libeatmydata1
fi
fi
return;
}
Expand Down Expand Up @@ -442,6 +473,11 @@ build_mecab_lib(){
make
make check
make DESTDIR=${MECAB_INSTALL_DIR} install
cd ../${MECAB_INSTALL_DIR}
if [ -d usr/lib64 ]; then
mkdir -p usr/lib
mv usr/lib64/* usr/lib
fi
cd ${WORKDIR}
}

Expand Down Expand Up @@ -511,9 +547,11 @@ build_rpm(){
#
mv *.src.rpm rpmbuild/SRPMS
#
if [ ${ARCH} = x86_64 ]; then
if [ ${RHEL} != 7 ]; then
if [ ${RHEL} = 6 ]; then
if [ ${ARCH} = x86_64 ]; then
source /opt/percona-devtoolset/enable
else
source /opt/rh/devtoolset-2/enable
fi
fi

Expand Down Expand Up @@ -621,7 +659,7 @@ build_deb(){

cd ${DIRNAME}
#
if [ ${DEBIAN_VERSION} = xenial -o ${DEBIAN_VERSION} = artful -o ${DEBIAN_VERSION} = bionic -o ${DEBIAN_VERSION} = trusty ]; then
if [ ${DEBIAN_VERSION} = xenial -o ${DEBIAN_VERSION} = artful -o ${DEBIAN_VERSION} = bionic -o ${DEBIAN_VERSION} = trusty -o ${DEBIAN_VERSION} = cosmic -o ${DEBIAN_VERSION} = disco -o ${DEBIAN_VERSION} = buster ]; then
rm -rf debian
cp -r build-ps/ubuntu debian
fi
Expand All @@ -633,7 +671,7 @@ build_deb(){
mv debian/rules.notokudb debian/rules
mv debian/control.notokudb debian/control
else
if [ ${DEBIAN_VERSION} != trusty -a ${DEBIAN_VERSION} != xenial -a ${DEBIAN_VERSION} != jessie -a ${DEBIAN_VERSION} != stretch -a ${DEBIAN_VERSION} != artful -a ${DEBIAN_VERSION} != bionic ]; then
if [ ${DEBIAN_VERSION} != trusty -a ${DEBIAN_VERSION} != xenial -a ${DEBIAN_VERSION} != jessie -a ${DEBIAN_VERSION} != stretch -a ${DEBIAN_VERSION} != artful -a ${DEBIAN_VERSION} != bionic -a ${DEBIAN_VERSION} != cosmic -a ${DEBIAN_VERSION} != disco -a ${DEBIAN_VERSION} != buster ]; then
gcc47=$(which gcc-4.7 2>/dev/null || true)
if [ -x "${gcc47}" ]; then
export CC=gcc-4.7
Expand All @@ -657,7 +695,7 @@ build_deb(){
sed -i 's/export CXXFLAGS=/export CXXFLAGS=-Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-parameter -Wno-error=date-time /' debian/rules
fi

if [ ${DEBIAN_VERSION} = "artful" -o ${DEBIAN_VERSION} = "bionic" ]; then
if [ ${DEBIAN_VERSION} = "artful" -o ${DEBIAN_VERSION} = "bionic" -o ${DEBIAN_VERSION} = "cosmic" -o ${DEBIAN_VERSION} = "disco" -o ${DEBIAN_VERSION} = "buster" ]; then
sed -i 's/export CFLAGS=/export CFLAGS=-Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-parameter -Wno-error=date-time /' debian/rules
sed -i 's/export CXXFLAGS=/export CXXFLAGS=-Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-parameter -Wno-error=date-time /' debian/rules
fi
Expand Down Expand Up @@ -731,12 +769,8 @@ build_tarball(){
CMAKE_OPTS="-DWITH_ROCKSDB=1" bash -xe ./build-ps/build-binary.sh --with-jemalloc=../jemalloc/ --with-yassl --with-mecab="${MECAB_INSTALL_DIR}/usr" ../TARGET
else
CMAKE_OPTS="-DWITH_ROCKSDB=1" bash -xe ./build-ps/build-binary.sh --with-mecab="${MECAB_INSTALL_DIR}/usr" --with-jemalloc=../jemalloc/ ../TARGET

DIRNAME="tarball"
fi



mkdir -p ${WORKDIR}/${DIRNAME}
mkdir -p ${CURDIR}/${DIRNAME}
cp ../TARGET/*.tar.gz ${WORKDIR}/${DIRNAME}
Expand Down Expand Up @@ -792,4 +826,4 @@ build_tarball
build_srpm
build_source_deb
build_rpm
build_deb
build_deb
22 changes: 15 additions & 7 deletions build-ps/percona-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# NOTE: "vendor" is used in upgrade/downgrade check, so you can't
# change these, has to be exactly as is.

%undefine _missing_build_ids_terminate_build
%global mysql_vendor Oracle and/or its affiliates
%global percona_server_vendor Percona, Inc
%global mysqldatadir /var/lib/mysql
Expand All @@ -44,7 +45,6 @@
# By default a build will be done including the RocksDB
%{!?with_rocksdb: %global rocksdb 1}


# Pass path to mecab lib
%{?with_mecab: %global mecab_option -DWITH_MECAB=%{with_mecab}}
%{?with_mecab: %global mecab 1}
Expand All @@ -54,6 +54,7 @@

%{!?with_systemd: %global systemd 0}
%{?el7: %global systemd 1}
%{?el8: %global systemd 1}
%{!?with_debuginfo: %global nodebuginfo 0}
%{!?product_suffix: %global product_suffix -57}
%{!?feature_set: %global feature_set community}
Expand Down Expand Up @@ -89,7 +90,7 @@
%endif

# Version for compat libs
%if 0%{?rhel} == 7
%if 0%{?rhel} > 6
%global compatver 5.6.28
%global percona_compatver 76.1
%global compatlib 18
Expand Down Expand Up @@ -209,6 +210,10 @@ Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
%endif

%if 0%{?rhel} == 8
Obsoletes: mariadb-connector-c-config
%endif

%description -n Percona-Server-server%{product_suffix}
The Percona Server software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. Percona Server
Expand Down Expand Up @@ -280,7 +285,7 @@ and applications need to dynamically load and use Percona Server.

%if 0%{?compatlib}
%package -n Percona-Server-shared-compat%{product_suffix}
Summary: Shared compat libraries for Percona Server %{compatver}--%{percona_compatver} database client applications
Summary: Shared compat libraries for Percona Server %{compatver}-%{percona_compatver} database client applications
Group: Applications/Databases
Provides: mysql-libs-compat = %{version}-%{release}
Provides: mysql-libs-compat%{?_isa} = %{version}-%{release}
Expand Down Expand Up @@ -543,10 +548,11 @@ rm -rf %{buildroot}%{_bindir}/mysql_embedded
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
/usr/sbin/useradd -M %{!?el5:-N} -g mysql -o -r -d /var/lib/mysql -s /bin/false \
-c "Percona Server" -u 27 mysql >/dev/null 2>&1 || :
if [ $1 -ge 1 ]; then
if [ ! -f /etc/my.cnf -a -f /etc/my.cnf_back_before_remove -a ! -L /etc/my.cnf ]; then
mv /etc/my.cnf_back_before_remove /etc/my.cnf
echo " /etc/my.cnf was restored from backup file my.cnf_back_before_remove"
if [ "$1" = 1 ]; then
if [ -f %{_sysconfdir}/my.cnf ]; then
timestamp=$(date '+%Y%m%d-%H%M')
cp %{_sysconfdir}/my.cnf \
%{_sysconfdir}/my.cnf.rpmsave-${timestamp}
fi
fi

Expand Down Expand Up @@ -838,6 +844,7 @@ fi
%attr(755, root, root) %{_libdir}/mysql/plugin/connection_control.so
%attr(755, root, root) %{_libdir}/mysql/plugin/group_replication.so
%attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl_client.so
%attr(755, root, root) %{_libdir}/mysql/plugin/udf_example.so
%dir %{_libdir}/mysql/plugin/debug
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
Expand All @@ -858,6 +865,7 @@ fi
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_udf.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/group_replication.so
%attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so
%if 0%{?mecab}
%{_libdir}/mysql/mecab
%attr(755, root, root) %{_libdir}/mysql/plugin/libpluginmecab.so
Expand Down
4 changes: 2 additions & 2 deletions build-ps/rpm/mysql-5.7-sharedlib-rename.patch
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,13 @@ diff -rup old/rapid/plugin/x/CMakeLists.txt new/rapid/plugin/x/CMakeLists.txt
diff -rup old/rapid/unittest/gunit/xplugin/CMakeLists.txt new/rapid/unittest/gunit/xplugin/CMakeLists.txt
--- old/rapid/unittest/gunit/xplugin/CMakeLists.txt
+++ new/rapid/unittest/gunit/xplugin/CMakeLists.txt
@@ -137,7 +137,7 @@
@@ -151,7 +151,7 @@
regex
gmock
mysqlservices
- perconaserverclient
+ mysqlclient
${LIBEVENT_LIBRARY} ${LIBEVENT_LIBRARIES}
${LIBEVENT_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${PROTOBUF_LIBRARY}
--- old/storage/tokudb/PerconaFT/tools/CMakeLists.txt
Expand Down
4 changes: 3 additions & 1 deletion client/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -15,6 +15,8 @@

ADD_DEFINITIONS(${SSL_DEFINES})

INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)

ADD_CONVENIENCE_LIBRARY(client_base
i_option.cc
bool_option.cc
Expand Down
2 changes: 2 additions & 0 deletions client/dump/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)

INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/dump
)
Expand Down
6 changes: 3 additions & 3 deletions client/dump/mysql_crawler.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2015, 2016 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2015, 2018 Oracle and/or its affiliates. All rights reserved.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -114,6 +114,8 @@ void Mysql_crawler::enumerate_objects()
m_dump_end_task->add_dependency(m_tables_definition_ready_dump_task);
this->process_dump_task(m_tables_definition_ready_dump_task);

this->enumerate_users();

std::vector<Database* >::iterator it;
std::vector<Database_end_dump_task* >::iterator it_end;
for (it= db_list.begin(),it_end= db_end_task_list.begin();
Expand All @@ -128,8 +130,6 @@ void Mysql_crawler::enumerate_objects()

Mysql::Tools::Base::Mysql_query_runner::cleanup_result(&databases);

this->enumerate_users();

this->process_dump_task(m_dump_end_task);

this->report_crawler_completed(this);
Expand Down
11 changes: 8 additions & 3 deletions client/mysqladmin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ static my_bool get_pidfile(MYSQL *mysql, char *pidfile)
{
MYSQL_RES* result;

if (mysql_query(mysql, "SHOW VARIABLES LIKE 'pid_file'"))
if (mysql_query(mysql, "SELECT @@datadir, @@pid_file"))
{
my_printf_error(mysql_errno(mysql),
"The query to get the server's pid file failed,"
Expand All @@ -1570,8 +1570,13 @@ static my_bool get_pidfile(MYSQL *mysql, char *pidfile)
if (result)
{
MYSQL_ROW row=mysql_fetch_row(result);
if (row)
my_stpcpy(pidfile, row[1]);
if (row) {
char datadir[FN_REFLEN];
char pidfile_option[FN_REFLEN];
my_stpcpy(datadir, row[0]);
my_stpcpy(pidfile_option, row[1]);
(void) my_load_path(pidfile, pidfile_option, datadir);
}
mysql_free_result(result);
return row == 0; /* Error if row = 0 */
}
Expand Down
12 changes: 12 additions & 0 deletions cmake/curl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,15 @@ MACRO(MYSQL_CHECK_CURL)
ENDIF()
ENDIF()
ENDMACRO()

MACRO (CHECK_IF_CURL_DEPENDS_ON_RTMP project_name)
EXECUTE_PROCESS(COMMAND ldd ${CURL_LIBRARY}
COMMAND grep rtmp
OUTPUT_VARIABLE CURL_DEPENDS_ON_RTMP)
IF (NOT CURL_DEPENDS_ON_RTMP STREQUAL "")
message(WARNING "Not building ${project_name}. The supplied CURL library depends on rtmp library.
Please provide CURL library that does not depend on rtmp library to build keyring_vault unittests.")
RETURN()
ENDIF()
ENDMACRO()

Loading