Skip to content

Commit e94b355

Browse files
committed
PS-9474: Code refresh for PS 8.0.40 (conflicts solved)
1 parent a73134c commit e94b355

24 files changed

+92
-1044
lines changed

MYSQL_VERSION

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
MYSQL_VERSION_MAJOR=8
22
MYSQL_VERSION_MINOR=0
3-
<<<<<<< HEAD
4-
MYSQL_VERSION_PATCH=39
5-
MYSQL_VERSION_EXTRA=-30
6-
||||||| d69a12a9453
7-
MYSQL_VERSION_PATCH=39
8-
MYSQL_VERSION_EXTRA=
9-
=======
103
MYSQL_VERSION_PATCH=40
11-
MYSQL_VERSION_EXTRA=
12-
>>>>>>> mysql-8.0.40
4+
MYSQL_VERSION_EXTRA=-31
135
MYSQL_VERSION_STABILITY="LTS"

cmake/component.cmake

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@ MACRO(MYSQL_ADD_COMPONENT component_arg)
105105

106106
# To hide the component symbols in the shared object
107107
IF(UNIX)
108-
<<<<<<< HEAD
109-
IF(MY_COMPILER_IS_CLANG AND WITH_UBSAN)
110-
# nothing, clang/ubsan gets confused
111-
UNSET(COMPONENT_COMPILE_VISIBILITY CACHE)
112-
ELSE()
113108
# Use this also for component libraries and tests.
114109
SET(COMPONENT_COMPILE_VISIBILITY
115110
"-fvisibility=hidden" CACHE INTERNAL
@@ -137,25 +132,6 @@ MACRO(MYSQL_ADD_COMPONENT component_arg)
137132
CXX_VISIBILITY_PRESET hidden
138133
VISIBILITY_INLINES_HIDDEN YES
139134
)
140-
ENDIF()
141-
||||||| d69a12a9453
142-
IF(MY_COMPILER_IS_CLANG AND WITH_UBSAN)
143-
# nothing, clang/ubsan gets confused
144-
UNSET(COMPONENT_COMPILE_VISIBILITY CACHE)
145-
ELSE()
146-
# Use this also for component libraries and tests.
147-
SET(COMPONENT_COMPILE_VISIBILITY
148-
"-fvisibility=hidden" CACHE INTERNAL
149-
"Use -fvisibility=hidden for components" FORCE)
150-
TARGET_COMPILE_OPTIONS(${target} PRIVATE "-fvisibility=hidden")
151-
ENDIF()
152-
=======
153-
# Use this also for component libraries and tests.
154-
SET(COMPONENT_COMPILE_VISIBILITY
155-
"-fvisibility=hidden" CACHE INTERNAL
156-
"Use -fvisibility=hidden for components" FORCE)
157-
TARGET_COMPILE_OPTIONS(${target} PRIVATE "-fvisibility=hidden")
158-
>>>>>>> mysql-8.0.40
159135
ENDIF()
160136

161137
IF(NOT ARG_SKIP_INSTALL)

extra/libfido2/libfido2-1.15.0/src/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,9 @@ IF(WIN32)
151151
ELSEIF(APPLE)
152152
TARGET_LINK_LIBRARIES(fido2 "-framework CoreFoundation" "-framework IOKit")
153153
ENDIF()
154-
<<<<<<< HEAD:extra/libfido2/libfido2-1.13.0/src/CMakeLists.txt
154+
155155
IF(WITH_AUTHENTICATION_FIDO OR WITH_AUTHENTICATION_CLIENT_PLUGINS
156156
OR WITH_PERCONA_AUTHENTICATION_FIDO)
157-
||||||| d69a12a9453:extra/libfido2/libfido2-1.13.0/src/CMakeLists.txt
158-
IF(WITH_AUTHENTICATION_FIDO OR WITH_AUTHENTICATION_CLIENT_PLUGINS)
159-
=======
160-
161-
IF(WITH_AUTHENTICATION_FIDO OR WITH_AUTHENTICATION_CLIENT_PLUGINS)
162-
>>>>>>> mysql-8.0.40:extra/libfido2/libfido2-1.15.0/src/CMakeLists.txt
163157
INSTALL_PRIVATE_LIBRARY(fido2)
164158
ENDIF()
165159

man/mysqldumpslow.1

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,12 @@
22
.\" Title: mysqldumpslow
33
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
44
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5-
<<<<<<< HEAD
65
.\" Date: 08/31/2023
7-
||||||| d69a12a9453
8-
.\" Date: 05/31/2024
9-
=======
10-
.\" Date: 09/17/2024
11-
>>>>>>> mysql-8.0.40
126
.\" Manual: MySQL Database System
137
.\" Source: MySQL 8.0
148
.\" Language: English
159
.\"
16-
<<<<<<< HEAD
1710
.TH "MYSQLDUMPSLOW" "1" "08/31/2023" "MySQL 8\&.0" "MySQL Database System"
18-
||||||| d69a12a9453
19-
.TH "MYSQLDUMPSLOW" "1" "05/31/2024" "MySQL 8\&.0" "MySQL Database System"
20-
=======
21-
.TH "MYSQLDUMPSLOW" "1" "09/17/2024" "MySQL 8\&.0" "MySQL Database System"
22-
>>>>>>> mysql-8.0.40
2311
.\" -----------------------------------------------------------------
2412
.\" * Define some portability stuff
2513
.\" -----------------------------------------------------------------

mysql-test/r/olap.result

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,7 +2365,20 @@ EXECUTE ps;
23652365
x
23662366
DROP PREPARE ps;
23672367
DROP TABLE t;
2368-
<<<<<<< HEAD
2368+
#
2369+
# Bug#36444257: `false' in operator at sql/sql_executor.cc
2370+
#
2371+
CREATE TABLE t1(f1 INTEGER);
2372+
SELECT SUM(TAN(0)) OVER() FROM t1 GROUP BY TAN(0) WITH ROLLUP;
2373+
SUM(TAN(0)) OVER()
2374+
DROP TABLE t1;
2375+
#
2376+
# Bug#36804785: `false' in operator at sql/sql_executor.cc
2377+
#
2378+
CREATE TABLE t1(f1 INTEGER);
2379+
SELECT SUM(UTC_DATE()) OVER() FROM t1 GROUP BY UTC_DATE() WITH ROLLUP;
2380+
SUM(UTC_DATE()) OVER()
2381+
DROP TABLE t1;
23692382
#
23702383
# PS-8328: MySQL 8 Crash when using group_concat with group by with
23712384
# rollup.
@@ -2398,20 +2411,3 @@ i string GROUP_CONCAT(string)
23982411
20 NULL something_completely_else
23992412
NULL NULL something,something_else,something_completely_else
24002413
DROP TABLE t1;
2401-
||||||| d69a12a9453
2402-
=======
2403-
#
2404-
# Bug#36444257: `false' in operator at sql/sql_executor.cc
2405-
#
2406-
CREATE TABLE t1(f1 INTEGER);
2407-
SELECT SUM(TAN(0)) OVER() FROM t1 GROUP BY TAN(0) WITH ROLLUP;
2408-
SUM(TAN(0)) OVER()
2409-
DROP TABLE t1;
2410-
#
2411-
# Bug#36804785: `false' in operator at sql/sql_executor.cc
2412-
#
2413-
CREATE TABLE t1(f1 INTEGER);
2414-
SELECT SUM(UTC_DATE()) OVER() FROM t1 GROUP BY UTC_DATE() WITH ROLLUP;
2415-
SUM(UTC_DATE()) OVER()
2416-
DROP TABLE t1;
2417-
>>>>>>> mysql-8.0.40

mysql-test/suite/innodb/include/doublewrite.inc

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
5959
SET GLOBAL innodb_saved_page_number_debug = 0;
6060

6161
# Set the page dirty and force a flush to disk
62-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
62+
--source include/expect_crash.inc
6363
--error CR_SERVER_LOST
6464
SET GLOBAL innodb_fil_make_page_dirty_debug = @space_id;
6565

@@ -98,13 +98,14 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
9898
SET GLOBAL innodb_saved_page_number_debug = 0;
9999

100100
# Set the page dirty and force a flush to disk
101-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
101+
--source include/expect_crash.inc
102102
--error CR_SERVER_LOST
103103
SET GLOBAL innodb_fil_make_page_dirty_debug = @space_id;
104104

105105
--echo # Corrupt the first page (page_no=0) of the user tablespace.
106106
--let IBD_FILE=$MYSQLD_DATADIR/test/t1.ibd
107107
--let PAGE_NUM="0"
108+
--let ALL_ZEROES=0
108109
--source corrupt_page.inc
109110

110111
--source include/start_mysqld.inc
@@ -135,7 +136,7 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
135136
SET GLOBAL innodb_saved_page_number_debug = 1;
136137

137138
# Set the page dirty and force a flush to disk
138-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
139+
--source include/expect_crash.inc
139140
--error CR_SERVER_LOST
140141
SET GLOBAL innodb_fil_make_page_dirty_debug = @space_id;
141142

@@ -173,13 +174,14 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
173174
SET GLOBAL innodb_saved_page_number_debug = 1;
174175

175176
# Set the page dirty and force a flush to disk
176-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
177+
--source include/expect_crash.inc
177178
--error CR_SERVER_LOST
178179
SET GLOBAL innodb_fil_make_page_dirty_debug = @space_id;
179180

180181
--echo # Corrupt the 2nd page (page_no=1) of the user tablespace.
181182
--let IBD_FILE=$MYSQLD_DATADIR/test/t1.ibd
182183
--let PAGE_NUM=1
184+
--let ALL_ZEROES=0
183185
--source corrupt_page.inc
184186

185187
--source include/start_mysqld.inc
@@ -203,7 +205,7 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
203205
SET GLOBAL innodb_saved_page_number_debug = 0;
204206

205207
# Set the page dirty and force a flush to disk
206-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
208+
--source include/expect_crash.inc
207209
--error CR_SERVER_LOST
208210
SET GLOBAL innodb_fil_make_page_dirty_debug = 0;
209211

@@ -235,13 +237,14 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
235237
SET GLOBAL innodb_saved_page_number_debug = 0;
236238

237239
# Set the page dirty and force a flush to disk
238-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
240+
--source include/expect_crash.inc
239241
--error CR_SERVER_LOST
240242
SET GLOBAL innodb_fil_make_page_dirty_debug = 0;
241243

242244
--echo # Corrupt the first page (page_no=0) of the system tablespace.
243245
--let IBD_FILE=$MYSQLD_DATADIR/ibdata1
244246
--let PAGE_NUM="0"
247+
--let ALL_ZEROES=0
245248
--source corrupt_page.inc
246249

247250
--source include/start_mysqld.inc
@@ -265,7 +268,7 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
265268
SET GLOBAL innodb_saved_page_number_debug = 1;
266269

267270
# Set the page dirty and force a flush to disk
268-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
271+
--source include/expect_crash.inc
269272
--error CR_SERVER_LOST
270273
SET GLOBAL innodb_fil_make_page_dirty_debug = 0;
271274

@@ -297,14 +300,15 @@ SET GLOBAL innodb_checkpoint_disabled = 1;
297300
SET GLOBAL innodb_saved_page_number_debug = 1;
298301

299302
# Set the page dirty and force a flush to disk
300-
--exec echo "restart " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
303+
--source include/expect_crash.inc
301304
--error CR_SERVER_LOST
302305
SET GLOBAL innodb_fil_make_page_dirty_debug = 0;
303306

304307
--echo # Make the 2nd page (page_no=1) of the system tablespace
305308
--echo # all zeroes.
306309
--let IBD_FILE=$MYSQLD_DATADIR/ibdata1
307310
--let PAGE_NUM=1
311+
--let ALL_ZEROES=0
308312
--source corrupt_page.inc
309313

310314
--source include/start_mysqld.inc

mysql-test/suite/innodb/r/parallel_read_kill.result

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@ END|
1212
CREATE TABLE t1(
1313
f1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
1414
f2 INT NOT NULL,
15-
<<<<<<< HEAD
16-
f3 INT NOT NULL
17-
)
18-
||||||| d69a12a9453
19-
f3 INT NOT NULL,
20-
KEY(f2, f3))
21-
=======
2215
f3 INT NOT NULL)
23-
>>>>>>> mysql-8.0.40
2416
ENGINE=INNODB;
2517
# Create 150000 uncommitted rows
2618
SET TRANSACTION ISOLATION LEVEL READ COMMITTED;

0 commit comments

Comments
 (0)