Skip to content

Commit eedf3a9

Browse files
Implemented PS-6789 (Merge MySQL 8.0.20) (conflicts resolved)
https://jira.percona.com/browse/PS-6789 *** Reverted our fix for PS-6094 "Handler fails to trigger on Error 1049 or SQLSTATE 42000 or plain sqlexception" (https://jira.percona.com/browse/PS-6094) (commit 31b5c73) in favor of the upstream fix for the Bug #30561920 / #97682 "Handler fails to trigger on Error 1049 or SQLSTATE 42000 or plain sqlexception" (https://bugs.mysql.com/bug.php?id=97682) (commit mysql/mysql-server@72c6171). *** Reverted our fix for PS-3630 "LP #1660255: Test innodb.innodb_mysql is unstable" (https://jira.percona.com/browse/PS-3630) (commit e0b5050) in favor of the upstream fix for the Bug #30810572 "FIX INNODB-MYSQL TEST" (commit mysql/mysql-server@2692669). *** Reverted our 8.0.17 merge postfix "PS-5363 (Merge MySQL 8.0.17): fixed regexps in the rpl.rpl_perfschema_threads_processlist_status MTR test case" (https://jira.percona.com/browse/PS-5363) (commit 8d7dd4a) affecting 'rpl.rpl_perfschema_threads_processlist_status' MTR test case in favor of the changes made by upstream in WL#3549 "Binlog Compression" (commit mysql/mysql-server@1e5ae34). *** Reverted our 8.0.18 merge postfix "PS-5674: gen_lex_token generator reworked" (https://jira.percona.com/browse/PS-5674) (commit 214212a) in favor of the changes made by upstream Bug #30765691 "FREE TOKEN SLOTS ARE EXHAUSTED IN GEN_LEX_TOKEN.CC" (commit mysql/mysql-server@17ca03f). 'SYM_PERCONA()' macro preserved and made a synonym for upstream's 'SYM()'. Percona Server 5.7-specific tokens - CHANGED_PAGE_BITMAPS_SYM - CLIENT_STATS_SYM - CLUSTERING_SYM - COMPRESSION_DICTIONARY_SYM - INDEX_STATS_SYM - TABLE_STATS_SYM - THREAD_STATS_SYM - USER_STATS_SYM - ENCRYPTION_KEY_ID_SYM explicitly assigned values starting from 1300. The same values were assigned to them implicitly in Percona Server 8.0.19. Percona Server 8.0-specific tokens - EFFECTIVE_SYM - SEQUENCE_TABLE_SYM explicitly assigned values starting from 1350. This group has different values than in Percona Server 8.0.19. *** Similarly to other 'innodb.log_encrypt_<n>' MTR test cases 'innodb.log_encrypt_7' coming from upstream 8.0.20 cloned into two 'innodb.log_encrypt_7_mk' and 'innodb.log_encrypt_7_rk'. *** Similarly to other 'innodb.table_encrypt_<n>' MTR test cases 'innodb.table_encrypt_6' coming from upstream 8.0.20 cloned into three 'innodb.table_encrypt_6', 'keyring_vault.table_encrypt_6' and 'keyring_vault.table_encrypt_6_directory'. *** VERSION raised to "5.7.26-29". univ.i version raised to "29".
1 parent 77e34ef commit eedf3a9

245 files changed

Lines changed: 2170 additions & 13049 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

VERSION

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
MYSQL_VERSION_MAJOR=8
22
MYSQL_VERSION_MINOR=0
3-
<<<<<<< HEAD
4-
MYSQL_VERSION_PATCH=19
5-
MYSQL_VERSION_EXTRA=-10
6-
||||||| ea7d2e2d16a
7-
MYSQL_VERSION_PATCH=19
8-
MYSQL_VERSION_EXTRA=
9-
=======
103
MYSQL_VERSION_PATCH=20
11-
MYSQL_VERSION_EXTRA=
12-
>>>>>>> mysql-8.0.20
4+
MYSQL_VERSION_EXTRA=-11

client/mysql.cc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,21 +2693,9 @@ static void initialize_readline(char *name) {
26932693
rl_readline_name = name;
26942694

26952695
/* Tell the completer that we want a crack first. */
2696-
<<<<<<< HEAD
26972696
#if defined(USE_NEW_XLINE_INTERFACE)
2698-
rl_attempted_completion_function =
2699-
(rl_completion_func_t *)&new_mysql_completion;
2700-
rl_completion_entry_function = (rl_compentry_func_t *)&no_completion;
2701-
||||||| ea7d2e2d16a
2702-
#if defined(USE_NEW_EDITLINE_INTERFACE)
2703-
rl_attempted_completion_function =
2704-
(rl_completion_func_t *)&new_mysql_completion;
2705-
rl_completion_entry_function = (rl_compentry_func_t *)&no_completion;
2706-
=======
2707-
#if defined(USE_NEW_EDITLINE_INTERFACE)
27082697
rl_attempted_completion_function = &new_mysql_completion;
27092698
rl_completion_entry_function = &no_completion;
2710-
>>>>>>> mysql-8.0.20
27112699

27122700
rl_add_defun("magic-space", &fake_magic_space, -1);
27132701
#elif defined(USE_LIBEDIT_INTERFACE)

client/mysqldump.cc

Lines changed: 29 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -139,29 +139,15 @@ static bool insert_pat_inited = false, debug_info_flag = false,
139139
static ulong opt_max_allowed_packet, opt_net_buffer_length;
140140
static MYSQL mysql_connection, *mysql = nullptr;
141141
static DYNAMIC_STRING insert_pat;
142-
<<<<<<< HEAD
143-
static char *opt_password = 0, *current_user = 0, *current_host = 0, *path = 0,
144-
*fields_terminated = 0, *lines_terminated = 0, *enclosed = 0,
145-
*opt_enclosed = 0, *escaped = 0, *where = 0,
146-
*opt_compatible_mode_str = 0, *opt_ignore_error = 0,
147-
*log_error_file = NULL;
148-
#ifndef DBUG_OFF
149-
static char *start_sql_file = nullptr, *finish_sql_file = nullptr;
150-
#endif
151-
||||||| ea7d2e2d16a
152-
static char *opt_password = 0, *current_user = 0, *current_host = 0, *path = 0,
153-
*fields_terminated = 0, *lines_terminated = 0, *enclosed = 0,
154-
*opt_enclosed = 0, *escaped = 0, *where = 0,
155-
*opt_compatible_mode_str = 0, *opt_ignore_error = 0,
156-
*log_error_file = NULL;
157-
=======
158142
static char *opt_password = nullptr, *current_user = nullptr,
159143
*current_host = nullptr, *path = nullptr,
160144
*fields_terminated = nullptr, *lines_terminated = nullptr,
161145
*enclosed = nullptr, *opt_enclosed = nullptr, *escaped = nullptr,
162146
*where = nullptr, *opt_compatible_mode_str = nullptr,
163147
*opt_ignore_error = nullptr, *log_error_file = nullptr;
164-
>>>>>>> mysql-8.0.20
148+
#ifndef DBUG_OFF
149+
static char *start_sql_file = nullptr, *finish_sql_file = nullptr;
150+
#endif
165151
static MEM_ROOT argv_alloc{PSI_NOT_INSTRUMENTED, 512};
166152
static bool ansi_mode = false; ///< Force the "ANSI" SQL_MODE.
167153
/* Server supports character_set_results session variable? */
@@ -256,18 +242,12 @@ static struct my_option my_long_options[] = {
256242
{"all-tablespaces", 'Y', "Dump all the tablespaces.", &opt_alltspcs,
257243
&opt_alltspcs, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0, nullptr},
258244
{"no-tablespaces", 'y', "Do not dump any tablespace information.",
259-
<<<<<<< HEAD
260-
&opt_notspcs, &opt_notspcs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
245+
&opt_notspcs, &opt_notspcs, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
246+
nullptr},
261247
{"add-drop-compression-dictionary", OPT_DROP_COMPRESSION_DICTIONARY,
262248
"Add a DROP COMPRESSION_DICTIONARY before each create.",
263249
&opt_drop_compression_dictionary, &opt_drop_compression_dictionary, 0,
264-
GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
265-
||||||| ea7d2e2d16a
266-
&opt_notspcs, &opt_notspcs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
267-
=======
268-
&opt_notspcs, &opt_notspcs, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
269-
nullptr},
270-
>>>>>>> mysql-8.0.20
250+
GET_BOOL, NO_ARG, 1, 0, 0, nullptr, 0, nullptr},
271251
{"add-drop-database", OPT_DROP_DATABASE,
272252
"Add a DROP DATABASE before each create.", &opt_drop_database,
273253
&opt_drop_database, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
@@ -375,31 +355,20 @@ static struct my_option my_long_options[] = {
375355
"- don't forget to read about --single-transaction below). In all cases "
376356
"any action on logs will happen at the exact moment of the dump."
377357
"Option automatically turns --lock-tables off.",
378-
<<<<<<< HEAD
379-
&opt_slave_data, &opt_slave_data, 0, GET_UINT, OPT_ARG, 0, 0,
380-
MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL, 0, 0, 0},
358+
&opt_slave_data, &opt_slave_data, nullptr, GET_UINT, OPT_ARG, 0, 0,
359+
MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL, nullptr, 0, nullptr},
381360
{"enable-compressed-columns", OPT_ENABLE_COMPRESSED_COLUMNS,
382361
"Enable compressed columns extensions.", &opt_compressed_columns,
383-
&opt_compressed_columns, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
362+
&opt_compressed_columns, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
363+
nullptr},
384364
{"enable-compressed-columns-with-dictionaries",
385365
OPT_ENABLE_COMPRESSED_COLUMNS_WITH_DICTIONARIES,
386366
"Enable dictionaries for compressed columns extensions.",
387367
&opt_compressed_columns_with_dictionaries,
388-
&opt_compressed_columns_with_dictionaries, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
389-
0, 0},
390-
{"events", 'E', "Dump events.", &opt_events, &opt_events, 0, GET_BOOL,
391-
NO_ARG, 0, 0, 0, 0, 0, 0},
392-
||||||| ea7d2e2d16a
393-
&opt_slave_data, &opt_slave_data, 0, GET_UINT, OPT_ARG, 0, 0,
394-
MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL, 0, 0, 0},
395-
{"events", 'E', "Dump events.", &opt_events, &opt_events, 0, GET_BOOL,
396-
NO_ARG, 0, 0, 0, 0, 0, 0},
397-
=======
398-
&opt_slave_data, &opt_slave_data, nullptr, GET_UINT, OPT_ARG, 0, 0,
399-
MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL, nullptr, 0, nullptr},
368+
&opt_compressed_columns_with_dictionaries, nullptr, GET_BOOL, NO_ARG, 0, 0,
369+
0, nullptr, 0, nullptr},
400370
{"events", 'E', "Dump events.", &opt_events, &opt_events, nullptr, GET_BOOL,
401371
NO_ARG, 0, 0, 0, nullptr, 0, nullptr},
402-
>>>>>>> mysql-8.0.20
403372
{"extended-insert", 'e',
404373
"Use multiple-row INSERT syntax that include several VALUES lists.",
405374
&extended_insert, &extended_insert, nullptr, GET_BOOL, NO_ARG, 1, 0, 0,
@@ -466,21 +435,13 @@ static struct my_option my_long_options[] = {
466435
{"include-master-host-port", OPT_MYSQLDUMP_INCLUDE_MASTER_HOST_PORT,
467436
"Adds 'MASTER_HOST=<host>, MASTER_PORT=<port>' to 'CHANGE MASTER TO..' "
468437
"in dump produced with --dump-slave.",
469-
<<<<<<< HEAD
470-
&opt_include_master_host_port, &opt_include_master_host_port, 0, GET_BOOL,
471-
NO_ARG, 0, 0, 0, 0, 0, 0},
438+
&opt_include_master_host_port, &opt_include_master_host_port, nullptr,
439+
GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0, nullptr},
472440
{"innodb-optimize-keys", OPT_INNODB_OPTIMIZE_KEYS,
473441
"Use InnoDB fast index creation by creating secondary indexes after "
474442
"dumping the data.",
475-
&opt_innodb_optimize_keys, &opt_innodb_optimize_keys, 0, GET_BOOL, NO_ARG,
476-
0, 0, 0, 0, 0, 0},
477-
||||||| ea7d2e2d16a
478-
&opt_include_master_host_port, &opt_include_master_host_port, 0, GET_BOOL,
479-
NO_ARG, 0, 0, 0, 0, 0, 0},
480-
=======
481-
&opt_include_master_host_port, &opt_include_master_host_port, nullptr,
482-
GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0, nullptr},
483-
>>>>>>> mysql-8.0.20
443+
&opt_innodb_optimize_keys, &opt_innodb_optimize_keys, nullptr, GET_BOOL,
444+
NO_ARG, 0, 0, 0, nullptr, 0, nullptr},
484445
{"insert-ignore", OPT_INSERT_IGNORE, "Insert rows with INSERT IGNORE.",
485446
&opt_ignore, &opt_ignore, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
486447
nullptr},
@@ -492,23 +453,15 @@ static struct my_option my_long_options[] = {
492453
"Locks all tables across all databases. This "
493454
"is achieved by taking a global read lock for the duration of the whole "
494455
"dump. Automatically turns --single-transaction and --lock-tables off.",
495-
<<<<<<< HEAD
496-
&opt_lock_all_tables, &opt_lock_all_tables, 0, GET_BOOL, NO_ARG, 0, 0, 0,
497-
0, 0, 0},
456+
&opt_lock_all_tables, &opt_lock_all_tables, nullptr, GET_BOOL, NO_ARG, 0,
457+
0, 0, nullptr, 0, nullptr},
498458
{"lock-for-backup", OPT_LOCK_FOR_BACKUP,
499459
"Use lightweight metadata locks "
500460
"to block updates to non-transactional tables and DDL to all tables. "
501461
"This works only with --single-transaction, otherwise this option is "
502462
"automatically converted to --lock-all-tables.",
503-
&opt_lock_for_backup, &opt_lock_for_backup, 0, GET_BOOL, NO_ARG, 0, 0, 0,
504-
0, 0, 0},
505-
||||||| ea7d2e2d16a
506-
&opt_lock_all_tables, &opt_lock_all_tables, 0, GET_BOOL, NO_ARG, 0, 0, 0,
507-
0, 0, 0},
508-
=======
509-
&opt_lock_all_tables, &opt_lock_all_tables, nullptr, GET_BOOL, NO_ARG, 0,
463+
&opt_lock_for_backup, &opt_lock_for_backup, nullptr, GET_BOOL, NO_ARG, 0,
510464
0, 0, nullptr, 0, nullptr},
511-
>>>>>>> mysql-8.0.20
512465
{"lock-tables", 'l', "Lock all tables for read.", &lock_tables,
513466
&lock_tables, nullptr, GET_BOOL, NO_ARG, 1, 0, 0, nullptr, 0, nullptr},
514467
{"log-error", OPT_ERROR_LOG_FILE,
@@ -565,19 +518,12 @@ static struct my_option my_long_options[] = {
565518
"Sorts each table's rows by primary key, or first unique key, if such a "
566519
"key exists. Useful when dumping a MyISAM table to be loaded into an "
567520
"InnoDB table, but will make the dump itself take considerably longer.",
568-
<<<<<<< HEAD
569-
&opt_order_by_primary, &opt_order_by_primary, 0, GET_BOOL, NO_ARG, 0, 0, 0,
570-
0, 0, 0},
571-
{"order-by-primary-desc", OPT_ORDER_BY_PRIMARY_DESC,
572-
"Taking backup ORDER BY primary key DESC.", &opt_order_by_primary_desc,
573-
&opt_order_by_primary_desc, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
574-
||||||| ea7d2e2d16a
575-
&opt_order_by_primary, &opt_order_by_primary, 0, GET_BOOL, NO_ARG, 0, 0, 0,
576-
0, 0, 0},
577-
=======
578521
&opt_order_by_primary, &opt_order_by_primary, nullptr, GET_BOOL, NO_ARG, 0,
579522
0, 0, nullptr, 0, nullptr},
580-
>>>>>>> mysql-8.0.20
523+
{"order-by-primary-desc", OPT_ORDER_BY_PRIMARY_DESC,
524+
"Taking backup ORDER BY primary key DESC.", &opt_order_by_primary_desc,
525+
&opt_order_by_primary_desc, nullptr, GET_BOOL, NO_ARG, 0, 0, 0, nullptr, 0,
526+
nullptr},
581527
{"password", 'p',
582528
"Password to use when connecting to server. If password is not given it's "
583529
"solicited on the tty.",
@@ -658,30 +604,22 @@ static struct my_option my_long_options[] = {
658604
nullptr, nullptr, nullptr, GET_NO_ARG, NO_ARG, 0, 0, 0, nullptr, 0,
659605
nullptr},
660606
{"socket", 'S', "The socket file to use for connection.",
661-
<<<<<<< HEAD
662-
&opt_mysql_unix_port, &opt_mysql_unix_port, 0, GET_STR, REQUIRED_ARG, 0, 0,
663-
0, 0, 0, 0},
607+
&opt_mysql_unix_port, &opt_mysql_unix_port, nullptr, GET_STR, REQUIRED_ARG,
608+
0, 0, 0, nullptr, 0, nullptr},
664609
#ifndef DBUG_OFF
665610
{"start-sql-file", OPT_START_SQL_FILE,
666611
"Execute SQL statements from the file at the mysqldump start. "
667612
"Each line has to contain one statement terminated with a semicolon. "
668613
"Line length limit is 1023 characters.",
669-
&start_sql_file, &start_sql_file, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0,
670-
0},
614+
&start_sql_file, &start_sql_file, nullptr, GET_STR, REQUIRED_ARG, 0, 0, 0,
615+
nullptr, 0, nullptr},
671616
{"finish-sql-file", OPT_FINISH_SQL_FILE,
672617
"Execute SQL statements from the file at the mysqldump finish. "
673618
"Each line has to contain one statement terminated with a semicolon. "
674619
"Line length limit is 1023 characters.",
675-
&finish_sql_file, &finish_sql_file, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0,
676-
0, 0},
620+
&finish_sql_file, &finish_sql_file, nullptr, GET_STR, REQUIRED_ARG, 0, 0,
621+
0, nullptr, 0, nullptr},
677622
#endif // DEBUF_OFF
678-
||||||| ea7d2e2d16a
679-
&opt_mysql_unix_port, &opt_mysql_unix_port, 0, GET_STR, REQUIRED_ARG, 0, 0,
680-
0, 0, 0, 0},
681-
=======
682-
&opt_mysql_unix_port, &opt_mysql_unix_port, nullptr, GET_STR, REQUIRED_ARG,
683-
0, 0, 0, nullptr, 0, nullptr},
684-
>>>>>>> mysql-8.0.20
685623
#include "caching_sha2_passwordopt-longopts.h"
686624
#include "sslopt-longopts.h"
687625

@@ -3398,18 +3336,12 @@ static uint get_table_structure(const char *table, char *db, char *table_type,
33983336
result_table = quote_name(table, table_buff, true);
33993337
opt_quoted_table = quote_name(table, table_buff2, false);
34003338

3401-
<<<<<<< HEAD
34023339
const bool has_pk =
34033340
(opt_innodb_optimize_keys && !strcmp(table_type, "InnoDB"))
34043341
? has_primary_key(table)
34053342
: false;
34063343

3407-
if (!opt_xml && !mysql_query_with_error_report(mysql, 0, query_buff)) {
3408-
||||||| ea7d2e2d16a
3409-
if (!opt_xml && !mysql_query_with_error_report(mysql, 0, query_buff)) {
3410-
=======
34113344
if (!opt_xml && !mysql_query_with_error_report(mysql, nullptr, query_buff)) {
3412-
>>>>>>> mysql-8.0.20
34133345
/* using SHOW CREATE statement */
34143346
if (!opt_no_create_info && !skip_ddl) {
34153347
/* Make an sql-file, if path was given iow. option -T was given */
@@ -3451,17 +3383,7 @@ static uint get_table_structure(const char *table, char *db, char *table_type,
34513383
*/
34523384
print_optional_drop_table(sql_file, db, table, opt_quoted_table);
34533385

3454-
<<<<<<< HEAD
3455-
char *scv_buff = NULL;
3456-
||||||| ea7d2e2d16a
3457-
field = mysql_fetch_field_direct(result, 0);
3458-
if (strcmp(field->name, "View") == 0) {
3459-
char *scv_buff = NULL;
3460-
=======
3461-
field = mysql_fetch_field_direct(result, 0);
3462-
if (strcmp(field->name, "View") == 0) {
34633386
char *scv_buff = nullptr;
3464-
>>>>>>> mysql-8.0.20
34653387
uint64_t n_cols;
34663388

34673389
verbose_msg("-- It's a view, create dummy view\n");
@@ -6055,16 +5977,8 @@ bool is_infoschema_db(const char *db) {
60555977
the table unsorted, rather than exit without dumping the data.
60565978
*/
60575979

6058-
<<<<<<< HEAD
60595980
static char *primary_key_fields(const char *table_name, const bool desc) {
6060-
MYSQL_RES *res = NULL;
6061-
||||||| ea7d2e2d16a
6062-
static char *primary_key_fields(const char *table_name) {
6063-
MYSQL_RES *res = NULL;
6064-
=======
6065-
static char *primary_key_fields(const char *table_name) {
60665981
MYSQL_RES *res = nullptr;
6067-
>>>>>>> mysql-8.0.20
60685982
MYSQL_ROW row;
60695983
/* SHOW KEYS FROM + table name * 2 (escaped) + 2 quotes + \0 */
60705984
char show_keys_buff[15 + NAME_LEN * 2 + 3];

cmake/os/Linux.cmake

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,21 @@ ENDIF()
5151

5252
IF(EXISTS "/etc/os-release")
5353
FILE(READ "/etc/os-release" MY_OS_RELEASE)
54-
IF(MY_OS_RELEASE MATCHES "Ubuntu" AND
55-
MY_OS_RELEASE MATCHES "16.04")
56-
SET(LINUX_UBUNTU_16_04 1)
54+
IF(MY_OS_RELEASE MATCHES "Ubuntu")
55+
SET(LINUX_UBUNTU 1)
56+
IF(MY_OS_RELEASE MATCHES "16.04")
57+
SET(LINUX_UBUNTU_16_04 1)
58+
ENDIF()
5759
ENDIF()
58-
<<<<<<< HEAD
5960
IF(MY_OS_RELEASE MATCHES "Debian")
61+
SET(LINUX_DEBIAN 1)
6062
IF(MY_OS_RELEASE MATCHES "jessie")
6163
SET(LINUX_DEBIAN_8 1)
6264
ENDIF()
6365
IF(MY_OS_RELEASE MATCHES "stretch")
6466
SET(LINUX_DEBIAN_9 1)
6567
ENDIF()
6668
ENDIF()
67-
||||||| ea7d2e2d16a
68-
=======
69-
IF(MY_OS_RELEASE MATCHES "Debian")
70-
SET(LINUX_DEBIAN 1)
71-
ELSEIF(MY_OS_RELEASE MATCHES "Ubuntu")
72-
SET(LINUX_UBUNTU 1)
73-
ENDIF()
74-
>>>>>>> mysql-8.0.20
7569
ENDIF()
7670

7771
# We require at least GCC 5.3 or Clang 3.4.

config.h.cmake

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -118,26 +118,8 @@
118118
#cmakedefine HAVE_HTONLL 1
119119
#cmakedefine HAVE_MEMSET_S 1
120120
#cmakedefine HAVE_EPOLL 1
121-
<<<<<<< HEAD
122-
/* #cmakedefine HAVE_EVENT_PORTS 1 */
123-
#cmakedefine HAVE_INET_NTOP 1
124-
#cmakedefine HAVE_WORKING_KQUEUE 1
125-
#cmakedefine HAVE_TIMERADD 1
126-
#cmakedefine HAVE_TIMERCLEAR 1
127-
#cmakedefine HAVE_TIMERCMP 1
128-
#cmakedefine HAVE_TIMERISSET 1
129121
#cmakedefine HAVE_X509_CHECK_HOST 1
130122
#cmakedefine HAVE_X509_CHECK_IP 1
131-
||||||| ea7d2e2d16a
132-
/* #cmakedefine HAVE_EVENT_PORTS 1 */
133-
#cmakedefine HAVE_INET_NTOP 1
134-
#cmakedefine HAVE_WORKING_KQUEUE 1
135-
#cmakedefine HAVE_TIMERADD 1
136-
#cmakedefine HAVE_TIMERCLEAR 1
137-
#cmakedefine HAVE_TIMERCMP 1
138-
#cmakedefine HAVE_TIMERISSET 1
139-
=======
140-
>>>>>>> mysql-8.0.20
141123

142124
/* WL2373 */
143125
#cmakedefine HAVE_SYS_TIME_H 1

include/keyring_encryption_key_info.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
#include <cstdint>
2121

22+
#include "my_inttypes.h"
23+
2224
using EncryptionKeyId = uint32_t;
2325

2426
static constexpr uint ENCRYPTION_KEY_VERSION_INVALID = (~(uint)0);

libbinlogevents/include/binlog_event.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -849,15 +849,9 @@ class Binary_log_event {
849849
ROWS_HEADER_LEN_V2 = 10,
850850
TRANSACTION_CONTEXT_HEADER_LEN = 18,
851851
VIEW_CHANGE_HEADER_LEN = 52,
852-
<<<<<<< HEAD
853-
XA_PREPARE_HEADER_LEN = 0,
854-
START_5_7_ENCRYPTION_HEADER_LEN = 0
855-
||||||| ea7d2e2d16a
856-
XA_PREPARE_HEADER_LEN = 0
857-
=======
858852
XA_PREPARE_HEADER_LEN = 0,
859853
TRANSACTION_PAYLOAD_HEADER_LEN = 0,
860-
>>>>>>> mysql-8.0.20
854+
START_5_7_ENCRYPTION_HEADER_LEN = 0
861855
}; // end enum_post_header_length
862856
protected:
863857
/**

0 commit comments

Comments
 (0)