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
e9f06b19
Commit
e9f06b19
authored
Jul 03, 2020
by
Monty
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/10.3' into 10.4
parents
1bf863a9
48493132
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
4 deletions
+16
-4
libmysqld/libmysql.c
libmysqld/libmysql.c
+1
-0
mysql-test/main/mysql_upgrade.test
mysql-test/main/mysql_upgrade.test
+1
-1
mysql-test/main/type_temporal_innodb.result
mysql-test/main/type_temporal_innodb.result
+3
-0
mysql-test/main/type_temporal_innodb.test
mysql-test/main/type_temporal_innodb.test
+3
-1
mysql-test/suite/csv/read_only.test
mysql-test/suite/csv/read_only.test
+1
-0
sql/sql_load.cc
sql/sql_load.cc
+2
-2
storage/innobase/buf/buf0buf.cc
storage/innobase/buf/buf0buf.cc
+5
-0
No files found.
libmysqld/libmysql.c
View file @
e9f06b19
...
...
@@ -1141,6 +1141,7 @@ my_bool STDCALL mysql_embedded(void)
void
my_net_local_init
(
NET
*
net
)
{
net
->
max_packet
=
(
uint
)
net_buffer_length
;
net
->
read_timeout
=
net
->
write_timeout
=
0
;
my_net_set_read_timeout
(
net
,
CLIENT_NET_READ_TIMEOUT
);
my_net_set_write_timeout
(
net
,
CLIENT_NET_WRITE_TIMEOUT
);
net
->
retry_count
=
1
;
...
...
mysql-test/main/mysql_upgrade.test
View file @
e9f06b19
...
...
@@ -17,7 +17,7 @@ let $MYSQLD_DATADIR= `select @@datadir`;
file_exists
$MYSQLD_DATADIR
/
mysql_upgrade_info
;
--
echo
Run
it
again
-
should
say
already
completed
--
replace_re
sult
$MYSQL_SERVER_VERSION
VERSION
--
replace_re
gex
/
upgraded
to
.*
,
use
/
upgraded
to
VERSION
,
use
/
--
exec
$MYSQL_UPGRADE
2
>&
1
# It should have created a file in the MySQL Servers datadir
...
...
mysql-test/main/type_temporal_innodb.result
View file @
e9f06b19
...
...
@@ -173,6 +173,9 @@ ERROR 22007: Truncated incorrect datetime value: '0000-00-00 00:00:00'
DROP TABLE t1,t2;
SET sql_mode=DEFAULT;
#
# End of 10.3 tests
#
#
# MDEV-19166 Assertion `!is_zero_datetime()' failed in Timestamp_or_zero_datetime::tv
#
CREATE TABLE t1 (f TIMESTAMP DEFAULT 0) ENGINE=InnoDB;
...
...
mysql-test/main/type_temporal_innodb.test
View file @
e9f06b19
...
...
@@ -82,6 +82,9 @@ CREATE TABLE tbl SELECT * FROM t1 WHERE t1.c1 = (SELECT c2 FROM t2 WHERE pk = 6)
DROP
TABLE
t1
,
t2
;
SET
sql_mode
=
DEFAULT
;
--
echo
#
--
echo
# End of 10.3 tests
--
echo
#
--
echo
#
--
echo
# MDEV-19166 Assertion `!is_zero_datetime()' failed in Timestamp_or_zero_datetime::tv
...
...
@@ -92,7 +95,6 @@ INSERT INTO t1 VALUES ('2024-02-29');
SELECT
*
FROM
t1
WHERE
SUBSTR
(
1
FROM
BIT_LENGTH
(
f
)
FOR
DEFAULT
(
f
));
DROP
TABLE
t1
;
--
echo
#
--
echo
# End of 10.4 tests
--
echo
#
mysql-test/suite/csv/read_only.test
View file @
e9f06b19
--
source
include
/
not_as_root
.
inc
#
# MDEV-11883 MariaDB crashes with out-of-memory when query information_schema
#
...
...
sql/sql_load.cc
View file @
e9f06b19
...
...
@@ -2021,8 +2021,8 @@ int READ_INFO::read_xml(THD *thd)
case
'='
:
/* attribute name end - read the value */
//check for tag field and attribute name
if
(
!
memcmp
(
tag
.
c_ptr_safe
(),
STRING_WITH_LEN
(
"field"
)
)
&&
!
memcmp
(
attribute
.
c_ptr_safe
(),
STRING_WITH_LEN
(
"name"
)
))
if
(
!
strcmp
(
tag
.
c_ptr_safe
(),
"field"
)
&&
!
strcmp
(
attribute
.
c_ptr_safe
(),
"name"
))
{
/*
this is format <field name="xx">xx</field>
...
...
storage/innobase/buf/buf0buf.cc
View file @
e9f06b19
...
...
@@ -1622,6 +1622,8 @@ buf_chunk_init(
return
(
NULL
);
}
MEM_MAKE_ADDRESSABLE
(
chunk
->
mem
,
chunk
->
mem_size
());
#ifdef HAVE_LIBNUMA
if
(
srv_numa_interleave
)
{
struct
bitmask
*
numa_mems_allowed
=
numa_get_mems_allowed
();
...
...
@@ -2888,6 +2890,9 @@ buf_pool_resize()
while
(
chunk
<
echunk
)
{
buf_block_t
*
block
=
chunk
->
blocks
;
MEM_MAKE_ADDRESSABLE
(
chunk
->
mem
,
chunk
->
mem_size
());
for
(
ulint
j
=
chunk
->
size
;
j
--
;
block
++
)
{
buf_block_free_mutexes
(
block
);
...
...
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