Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b7362d5f
Commit
b7362d5f
authored
Mar 11, 2020
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into 10.4
parents
b8c0e496
3c9bc0ce
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
123 additions
and
76 deletions
+123
-76
cmake/install_layout.cmake
cmake/install_layout.cmake
+3
-7
debian/control
debian/control
+1
-0
debian/libmariadb-dev-compat.links
debian/libmariadb-dev-compat.links
+2
-1
debian/rules
debian/rules
+0
-3
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+2
-2
mysql-test/main/disabled.def
mysql-test/main/disabled.def
+0
-2
mysql-test/main/events_restart.result
mysql-test/main/events_restart.result
+29
-0
mysql-test/main/events_restart.test
mysql-test/main/events_restart.test
+31
-0
mysql-test/main/mysql_client_test.test
mysql-test/main/mysql_client_test.test
+0
-2
mysql-test/main/partition_innodb.result
mysql-test/main/partition_innodb.result
+6
-6
mysql-test/main/partition_innodb.test
mysql-test/main/partition_innodb.test
+6
-18
mysql-test/suite/galera/disabled.def
mysql-test/suite/galera/disabled.def
+1
-0
mysql-test/suite/galera/r/lp1376747-4.result
mysql-test/suite/galera/r/lp1376747-4.result
+3
-6
mysql-test/suite/galera/t/lp1376747-4.test
mysql-test/suite/galera/t/lp1376747-4.test
+8
-2
mysys/my_getncpus.c
mysys/my_getncpus.c
+23
-21
sql/events.cc
sql/events.cc
+4
-4
sql/sql_lex.cc
sql/sql_lex.cc
+1
-0
storage/innobase/page/page0zip.cc
storage/innobase/page/page0zip.cc
+3
-2
No files found.
cmake/install_layout.cmake
View file @
b7362d5f
...
...
@@ -174,7 +174,7 @@ SET(INSTALL_SCRIPTDIR_DEB "bin")
SET
(
INSTALL_SYSCONFDIR_DEB
"/etc"
)
SET
(
INSTALL_SYSCONF2DIR_DEB
"/etc/mysql/conf.d"
)
#
SET
(
INSTALL_LIBDIR_DEB
"lib"
)
SET
(
INSTALL_LIBDIR_DEB
"lib
/
${
CMAKE_CXX_LIBRARY_ARCHITECTURE
}
"
)
SET
(
INSTALL_PLUGINDIR_DEB
"lib/mysql/plugin"
)
#
SET
(
INSTALL_INCLUDEDIR_DEB
"include/mariadb"
)
...
...
@@ -186,7 +186,7 @@ SET(INSTALL_INFODIR_DEB "share/info")
#
SET
(
INSTALL_SHAREDIR_DEB
"share"
)
SET
(
INSTALL_MYSQLSHAREDIR_DEB
"share/mysql"
)
SET
(
INSTALL_MYSQLTESTDIR_DEB
"mysql-test"
)
SET
(
INSTALL_MYSQLTESTDIR_DEB
"
share/mysql/
mysql-test"
)
SET
(
INSTALL_SQLBENCHDIR_DEB
"."
)
SET
(
INSTALL_SUPPORTFILESDIR_DEB
"share/mysql"
)
#
...
...
@@ -196,11 +196,7 @@ SET(INSTALL_UNIX_ADDRDIR_DEB "/var/run/mysqld/mysqld.sock")
SET
(
INSTALL_SYSTEMD_UNITDIR_DEB
"/lib/systemd/system"
)
SET
(
INSTALL_SYSTEMD_SYSUSERSDIR_DEB
"/usr/lib/sysusers.d"
)
SET
(
INSTALL_SYSTEMD_TMPFILESDIR_DEB
"/usr/lib/tmpfiles.d"
)
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
SET
(
INSTALL_PAMDIR_DEB
"/lib/x86_64-linux-gnu/security"
)
ELSE
()
SET
(
INSTALL_PAMDIR_DEB
"/lib/i386-linux-gnu/security"
)
ENDIF
()
SET
(
INSTALL_PAMDIR_DEB
"/lib/
${
CMAKE_CXX_LIBRARY_ARCHITECTURE
}
/security"
)
#
# SVR4 layout
...
...
debian/control
View file @
b7362d5f
...
...
@@ -7,6 +7,7 @@ Build-Depends: bison,
cmake
(>=
2.7
),
debhelper
(>=
9
),
dh
-
apparmor
,
dh
-
exec
,
dh
-
systemd
,
gdb
,
libaio
-
dev
[
linux
-
any
],
...
...
debian/libmariadb-dev-compat.links
View file @
b7362d5f
#!/usr/bin/dh-exec
usr/bin/mariadb_config usr/bin/mysql_config
usr/include/mariadb usr/include/mysql
usr/
share/pkgconfig/mariadb.pc usr/share
/pkgconfig/mysqlclient.pc
usr/
lib/${DEB_HOST_MULTIARCH}/pkgconfig/mariadb.pc usr/lib/${DEB_HOST_MULTIARCH}
/pkgconfig/mysqlclient.pc
debian/rules
View file @
b7362d5f
...
...
@@ -86,9 +86,6 @@ endif
-DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \
-DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \
-DBUILD_CONFIG=mysql_release \
-DINSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
-DINSTALL_PLUGINDIR=lib/mysql/plugin \
-DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test \
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \
-DDEB=$(DEB_VENDOR) ..'
...
...
extra/mariabackup/xtrabackup.cc
View file @
b7362d5f
...
...
@@ -3133,13 +3133,13 @@ xb_load_single_table_tablespace(
}
}
ut_free
(
name
);
delete
file
;
if
(
err
!=
DB_SUCCESS
&&
xtrabackup_backup
&&
!
is_empty_file
)
{
die
(
"Failed to not validate first page of the file %s, error %d"
,
name
,
(
int
)
err
);
}
ut_free
(
name
);
}
/** Scan the database directories under the MySQL datadir, looking for
...
...
mysql-test/main/disabled.def
View file @
b7362d5f
...
...
@@ -14,8 +14,6 @@ events_time_zone : Test is not predictable as it depends on precise timi
read_many_rows_innodb : Bug#11748886 2010-11-15 mattiasj report already exists
mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 changes - eventum#41836
#show_explain : Psergey: random timeout in range-checked-for-each record query.
innodb-wl5522-debug-zip : broken upstream
innodb_bug12902967 : broken upstream
file_contents : MDEV-6526 these files are not installed anymore
max_statement_time : cannot possibly work, depends on timing
partition_open_files_limit : open_files_limit check broken by MDEV-18360
mysql-test/main/events_restart.result
View file @
b7362d5f
...
...
@@ -113,3 +113,32 @@ Db Name Definer Time zone Type Execute at Interval value Interval field Starts E
test e1 root@localhost SYSTEM RECURRING # 1 SECOND # # DISABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
DROP EVENT e1;
# end test for bug#11748899
#
# Test for MDEV-21758 Events switched randomly to SLAVESIDE_DISABLED
#
create event ev on schedule every 1 minute do set @a= 1;
select name, originator, status from mysql.event;
name originator status
ev 1 ENABLED
#
# Restarting server with server_id=100
#
# restart: --server-id=100
select @@global.server_id;
@@global.server_id
100
select name, originator, status from mysql.event;
name originator status
ev 1 ENABLED
set global server_id= 1;
#
# Restarting server with the original server_id=1
#
# restart
select @@global.server_id;
@@global.server_id
1
select name, originator, status from mysql.event;
name originator status
ev 1 ENABLED
drop event ev;
mysql-test/main/events_restart.test
View file @
b7362d5f
...
...
@@ -141,3 +141,34 @@ SHOW EVENTS;
DROP
EVENT
e1
;
--
echo
# end test for bug#11748899
--
echo
#
--
echo
# Test for MDEV-21758 Events switched randomly to SLAVESIDE_DISABLED
--
echo
#
create
event
ev
on
schedule
every
1
minute
do
set
@
a
=
1
;
select
name
,
originator
,
status
from
mysql
.
event
;
--
let
$server_id
=
`SELECT @@global.server_id`
--
echo
#
--
echo
# Restarting server with server_id=100
--
echo
#
--
let
$restart_parameters
=
--
server
-
id
=
100
--
source
include
/
restart_mysqld
.
inc
select
@@
global
.
server_id
;
select
name
,
originator
,
status
from
mysql
.
event
;
--
eval
set
global
server_id
=
$server_id
--
echo
#
--
echo
# Restarting server with the original server_id=$server_id
--
echo
#
--
let
$restart_parameters
=
--
source
include
/
restart_mysqld
.
inc
select
@@
global
.
server_id
;
select
name
,
originator
,
status
from
mysql
.
event
;
# Cleanup
drop
event
ev
;
mysql-test/main/mysql_client_test.test
View file @
b7362d5f
...
...
@@ -2,8 +2,6 @@
--
source
include
/
not_embedded
.
inc
# need to have the dynamic loading turned on for the client plugin tests
--
source
include
/
have_plugin_auth
.
inc
# This test is slow on buildbot.
--
source
include
/
big_test
.
inc
# Run test with default character set
--
source
include
/
default_charset
.
inc
...
...
mysql-test/main/partition_innodb.result
View file @
b7362d5f
...
...
@@ -395,33 +395,33 @@ DROP TABLE t1;
create table t1 (a int) engine=innodb partition by hash(a) ;
show table status like 't1';
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
#
NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
0
NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
drop table t1;
create table t1 (a int)
engine = innodb
partition by key (a);
show table status;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
# NULL #
NULL NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
0 NULL Create_time
NULL NULL latin1_swedish_ci NULL partitioned 0 N
insert into t1 values (0), (1), (2), (3);
show table status;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 4 4096 16384 0 0
# NULL # NULL
NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 4 4096 16384 0 0
0 NULL Create_time Update_time
NULL latin1_swedish_ci NULL partitioned 0 N
drop table t1;
create table t1 (a int auto_increment primary key)
engine = innodb
partition by key (a);
show table status;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
# 1 #
NULL NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 2 8192 16384 0 0
0 1 Create_time
NULL NULL latin1_swedish_ci NULL partitioned 0 N
insert into t1 values (NULL), (NULL), (NULL), (NULL);
show table status;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 4 4096 16384 0 0
# 5 # NULL
NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 4 4096 16384 0 0
0 5 Create_time Update_time
NULL latin1_swedish_ci NULL partitioned 0 N
insert into t1 values (NULL), (NULL), (NULL), (NULL);
show table status;
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
t1 InnoDB 10 Dynamic 8 2048 16384 0 0
# 9 # NULL
NULL latin1_swedish_ci NULL partitioned 0 N
t1 InnoDB 10 Dynamic 8 2048 16384 0 0
0 9 Create_time Update_time
NULL latin1_swedish_ci NULL partitioned 0 N
drop table t1;
create table t1 (a int)
partition by key (a)
...
...
mysql-test/main/partition_innodb.test
View file @
b7362d5f
...
...
@@ -411,9 +411,7 @@ DROP TABLE t1;
# Bug #14673: Wrong InnoDB default row format
#
create
table
t1
(
a
int
)
engine
=
innodb
partition
by
hash
(
a
)
;
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
#
show
table
status
like
't1'
;
drop
table
t1
;
...
...
@@ -423,33 +421,23 @@ drop table t1;
create
table
t1
(
a
int
)
engine
=
innodb
partition
by
key
(
a
);
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
Create_time
show
table
status
;
insert
into
t1
values
(
0
),
(
1
),
(
2
),
(
3
);
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
Create_time
13
Update_time
show
table
status
;
drop
table
t1
;
create
table
t1
(
a
int
auto_increment
primary
key
)
engine
=
innodb
partition
by
key
(
a
);
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
Create_time
show
table
status
;
insert
into
t1
values
(
NULL
),
(
NULL
),
(
NULL
),
(
NULL
);
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
Create_time
13
Update_time
show
table
status
;
insert
into
t1
values
(
NULL
),
(
NULL
),
(
NULL
),
(
NULL
);
# Data_free for InnoDB tablespace varies depending on which
# tests have been run before this one
--
replace_column
10
# 12 #
--
replace_column
12
Create_time
13
Update_time
show
table
status
;
drop
table
t1
;
...
...
mysql-test/suite/galera/disabled.def
View file @
b7362d5f
...
...
@@ -49,6 +49,7 @@ galera_var_retry_autocommit: MDEV-18181 Galera test failure on galera.galera_var
galera_wan : MDEV-17259 Test failure on galera.galera_wan
galera_wsrep_new_cluster : MDEV-21515 galera.galera_wsrep_new_cluster
mysql-wsrep#198 : MDEV-18935 Galera test mysql-wsrep#198 sporaric assertion transaction.cpp:362: int wsrep::transaction::before_commit(): Assertion `state() == s_executing || state() == s_committing || state() == s_must_abort || state() == s_replaying' failed.
lp1376747-4 : MDEV-21911 Galera test failure on lp1376747-4
partition : MDEV-19958 Galera test failure on galera.partition
query_cache: MDEV-15805 Test failure on galera.query_cache
sql_log_bin : MDEV-21491 galera.sql_log_bin
...
...
mysql-test/suite/galera/r/lp1376747-4.result
View file @
b7362d5f
...
...
@@ -5,18 +5,13 @@ CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
connection node_2;
SET session wsrep_sync_wait=0;
SET session wsrep_causal_reads=OFF;
Warnings:
Warning 1287 '@@wsrep_causal_reads' is deprecated and will be removed in a future release. Please use '@@wsrep_sync_wait=1' instead
FLUSH TABLE WITH READ LOCK;
connection node_1;
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
INSERT INTO t1 VALUES (2,3);
connection node_2a;
SET session wsrep_sync_wait=0;
SET session wsrep_causal_reads=OFF;
Warnings:
Warning 1287 '@@wsrep_causal_reads' is deprecated and will be removed in a future release. Please use '@@wsrep_sync_wait=1' instead
# node_1 DDL should not yet be applied
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
@@ -26,6 +21,7 @@ t1 CREATE TABLE `t1` (
FLUSH TABLES t1 WITH READ LOCK;;
connection node_2;
UNLOCK TABLES;
# node_1 DDL should not yet be applied 2
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
@@ -34,6 +30,7 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1
connection node_2a;
UNLOCK TABLES;
# node_1 DDL should be applied 2
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
mysql-test/suite/galera/t/lp1376747-4.test
View file @
b7362d5f
...
...
@@ -17,7 +17,6 @@ INSERT INTO t1 VALUES (1);
--
connection
node_2
SET
session
wsrep_sync_wait
=
0
;
SET
session
wsrep_causal_reads
=
OFF
;
FLUSH
TABLE
WITH
READ
LOCK
;
--
connection
node_1
...
...
@@ -26,9 +25,10 @@ INSERT INTO t1 VALUES (2,3);
--
connection
node_2a
SET
session
wsrep_sync_wait
=
0
;
SET
session
wsrep_causal_reads
=
OFF
;
--
echo
# node_1 DDL should not yet be applied
SHOW
CREATE
TABLE
t1
;
--
send
FLUSH
TABLES
t1
WITH
READ
LOCK
;
--
connection
node_2
...
...
@@ -36,6 +36,8 @@ SHOW CREATE TABLE t1;
--
source
include
/
wait_condition
.
inc
UNLOCK
TABLES
;
--
echo
# node_1 DDL should not yet be applied 2
SHOW
CREATE
TABLE
t1
;
--
connection
node_2a
...
...
@@ -45,6 +47,10 @@ UNLOCK TABLES;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
2
FROM
t1
;
--
source
include
/
wait_condition
.
inc
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
2
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
TABLE_SCHEMA
=
'test'
AND
TABLE_NAME
=
't1'
;
--
source
include
/
wait_condition
.
inc
--
echo
# node_1 DDL should be applied 2
SHOW
CREATE
TABLE
t1
;
SELECT
*
from
t1
;
...
...
mysys/my_getncpus.c
View file @
b7362d5f
...
...
@@ -30,50 +30,52 @@ static int ncpus=0;
int
my_getncpus
(
void
)
{
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(HAVE_PTHREAD_GETAFFINITY_NP)
cpu_set_t
set
;
if
(
!
ncpus
)
{
/*
First attempt to get the total number of available cores. sysconf is
the fallback, but it can return a larger number. It will return the
total number of cores, not the ones available to the process - as
configured via core affinity.
*/
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(HAVE_PTHREAD_GETAFFINITY_NP)
cpu_set_t
set
;
if
(
pthread_getaffinity_np
(
pthread_self
(),
sizeof
(
set
),
&
set
)
==
0
)
{
#ifdef CPU_COUNT
/* CPU_COUNT was introduced with glibc 2.6. */
ncpus
=
CPU_COUNT
(
&
set
);
}
else
{
#ifdef _SC_NPROCESSORS_ONLN
ncpus
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
#else
ncpus
=
2
;
/* Implementation for platforms with glibc < 2.6 */
size_t
i
;
for
(
i
=
0
;
i
<
CPU_SETSIZE
;
i
++
)
if
(
CPU_ISSET
(
i
,
&
set
))
ncpus
++
;
#endif
return
ncpus
;
}
}
#else
/* __linux__ || FreeBSD && HAVE_PTHREAD_GETAFFINITY_NP */
#endif
/* (__linux__ || __FreeBSD__) && HAVE_PTHREAD_GETAFFINITY_NP */
if
(
!
ncpus
)
{
#ifdef _SC_NPROCESSORS_ONLN
ncpus
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
#elif defined(__WIN__)
SYSTEM_INFO
sysinfo
;
/*
*
We are not calling GetNativeSystemInfo here because (1) we
*
don't believe that they return different values for number
*
of processors and (2) if WOW64 limits processors for Win32
*
then we don't want to try to override that.
We are not calling GetNativeSystemInfo here because (1) we
don't believe that they return different values for number
of processors and (2) if WOW64 limits processors for Win32
then we don't want to try to override that.
*/
GetSystemInfo
(
&
sysinfo
);
ncpus
=
sysinfo
.
dwNumberOfProcessors
;
#else
/*
u
nknown so play safe: assume SMP and forbid uniprocessor build */
/*
U
nknown so play safe: assume SMP and forbid uniprocessor build */
ncpus
=
2
;
#endif
}
#endif
/* __linux__ || FreeBSD && HAVE_PTHREAD_GETAFFINITY_NP */
return
ncpus
;
}
sql/events.cc
View file @
b7362d5f
...
...
@@ -1205,9 +1205,9 @@ Events::load_events_from_db(THD *thd)
#ifdef WITH_WSREP
/**
I
F
SST is done from a galera node that is also acting as MASTER
newly synced node in galera eco-system will also copy-over the
event state
enabling duplicate event in galera eco-system.
I
f
SST is done from a galera node that is also acting as MASTER
newly synced node in galera eco-system will also copy-over the
e
vent state e
nabling duplicate event in galera eco-system.
DISABLE such events if the current node is not event orginator.
(Also, make sure you skip disabling it if is already disabled to avoid
creation of redundant action)
...
...
@@ -1217,7 +1217,7 @@ Events::load_events_from_db(THD *thd)
Infact, based on galera use-case it seems like it recommends to have each
node with different server-id.
*/
if
(
et
->
originator
!=
thd
->
variables
.
server_id
)
if
(
WSREP
(
thd
)
&&
et
->
originator
!=
thd
->
variables
.
server_id
)
{
if
(
et
->
status
==
Event_parse_data
::
SLAVESIDE_DISABLED
)
continue
;
...
...
sql/sql_lex.cc
View file @
b7362d5f
...
...
@@ -206,6 +206,7 @@ init_lex_with_single_table(THD *thd, TABLE *table, LEX *lex)
table
->
map
=
1
;
//To ensure correct calculation of const item
table_list
->
table
=
table
;
table_list
->
cacheable_table
=
false
;
lex
->
create_last_non_select_table
=
table_list
;
return
FALSE
;
}
...
...
storage/innobase/page/page0zip.cc
View file @
b7362d5f
...
...
@@ -3386,11 +3386,12 @@ page_zip_validate_low(
differed. Let us ignore it. */
page_zip_fail
((
"page_zip_validate:"
" min_rec_flag"
" (%s%lu,%lu,0x%02lx)
\n
"
,
" (%s"
ULINTPF
","
ULINTPF
",0x%02x)
\n
"
,
sloppy
?
"ignored, "
:
""
,
page_get_space_id
(
page
),
page_get_page_no
(
page
),
(
ulong
)
page
[
offset
]));
page
[
offset
]));
/* We don't check for spatial index, since
the "minimum record" could be deleted when
doing rtr_update_mbr_field.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment