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
ec62f46a
Commit
ec62f46a
authored
Mar 25, 2022
by
Daniel Black
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 to 10.6
parents
0da5f45a
157a838b
Changes
31
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
357 additions
and
124 deletions
+357
-124
debian/autobake-deb.sh
debian/autobake-deb.sh
+36
-15
debian/mariadb-plugin-columnstore.install
debian/mariadb-plugin-columnstore.install
+119
-0
debian/mariadb-plugin-columnstore.postinst
debian/mariadb-plugin-columnstore.postinst
+8
-0
debian/mariadb-plugin-columnstore.postrm
debian/mariadb-plugin-columnstore.postrm
+24
-0
debian/mariadb-plugin-columnstore.prerm
debian/mariadb-plugin-columnstore.prerm
+8
-0
debian/mariadb-plugin-columnstore.triggers
debian/mariadb-plugin-columnstore.triggers
+1
-0
debian/salsa-ci.yml
debian/salsa-ci.yml
+75
-95
debian/source/lintian-overrides
debian/source/lintian-overrides
+3
-1
mysql-test/include/have_innodb.inc
mysql-test/include/have_innodb.inc
+12
-0
mysql-test/main/flush_block_commit_notembedded.test
mysql-test/main/flush_block_commit_notembedded.test
+4
-0
mysql-test/suite/encryption/t/innochecksum.test
mysql-test/suite/encryption/t/innochecksum.test
+5
-0
mysql-test/suite/innodb/include/innodb-page-compression.inc
mysql-test/suite/innodb/include/innodb-page-compression.inc
+4
-0
mysql-test/suite/innodb/t/innodb-page_compression_bzip2.test
mysql-test/suite/innodb/t/innodb-page_compression_bzip2.test
+5
-0
mysql-test/suite/innodb/t/innodb-page_compression_lz4.test
mysql-test/suite/innodb/t/innodb-page_compression_lz4.test
+5
-0
mysql-test/suite/innodb/t/innodb-page_compression_lzma.test
mysql-test/suite/innodb/t/innodb-page_compression_lzma.test
+5
-0
mysql-test/suite/innodb/t/innodb-page_compression_lzo.test
mysql-test/suite/innodb/t/innodb-page_compression_lzo.test
+5
-0
mysql-test/suite/innodb/t/innodb-page_compression_tables.test
...l-test/suite/innodb/t/innodb-page_compression_tables.test
+4
-0
mysql-test/suite/innodb/t/innodb-page_compression_zip.test
mysql-test/suite/innodb/t/innodb-page_compression_zip.test
+5
-0
mysql-test/suite/innodb/t/undo_truncate.test
mysql-test/suite/innodb/t/undo_truncate.test
+3
-0
mysql-test/suite/perfschema/include/program_nested_setup.inc
mysql-test/suite/perfschema/include/program_nested_setup.inc
+1
-2
mysql-test/suite/perfschema/r/max_program_zero.result
mysql-test/suite/perfschema/r/max_program_zero.result
+1
-1
mysql-test/suite/perfschema/r/statement_program_lost_inst.result
...est/suite/perfschema/r/statement_program_lost_inst.result
+1
-1
mysql-test/suite/perfschema/r/statement_program_nested.result
...l-test/suite/perfschema/r/statement_program_nested.result
+3
-2
mysql-test/suite/perfschema/r/statement_program_nesting_event_check.result
...perfschema/r/statement_program_nesting_event_check.result
+4
-1
mysql-test/suite/perfschema/t/statement_program_nested.test
mysql-test/suite/perfschema/t/statement_program_nested.test
+2
-0
mysql-test/suite/perfschema/t/statement_program_nesting_event_check.test
...e/perfschema/t/statement_program_nesting_event_check.test
+3
-0
mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result
...suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result
+5
-0
mysql-test/suite/versioning/common.inc
mysql-test/suite/versioning/common.inc
+1
-1
sql/sys_vars.cc
sql/sys_vars.cc
+1
-1
storage/maria/CMakeLists.txt
storage/maria/CMakeLists.txt
+3
-3
storage/maria/s3_func.c
storage/maria/s3_func.c
+1
-1
No files found.
debian/autobake-deb.sh
View file @
ec62f46a
...
...
@@ -16,6 +16,7 @@ set -e
# Buildbot, running the test suite from installed .debs on a clean VM.
export
DEB_BUILD_OPTIONS
=
"nocheck
$DEB_BUILD_OPTIONS
"
source
./VERSION
# General CI optimizations to keep build output smaller
if
[[
$GITLAB_CI
]]
then
...
...
@@ -50,25 +51,46 @@ remove_rocksdb_tools()
fi
}
architecture
=
$(
dpkg-architecture
-q
DEB_BUILD_ARCH
)
CODENAME
=
"
$(
lsb_release
-sc
)
"
case
"
${
CODENAME
}
"
in
stretch
)
# MDEV-28022 libzstd-dev-1.1.3 minimum version
sed
-i
-e
'/libzstd-dev/d'
\
-e
's/libcurl4/libcurl3/g'
-i
debian/control
remove_rocksdb_tools
;;
bionic
)
remove_rocksdb_tools
;;
stretch
)
# MDEV-16525 libzstd-dev-1.1.3 minimum version
sed
-e
'/libzstd-dev/d'
\
-e
's/libcurl4/libcurl3/g'
-i
debian/control
remove_rocksdb_tools
;
&
buster
)
;
&
bullseye|bookworm
)
# mariadb-plugin-rocksdb in control is 4 arches covered by the distro rocksdb-tools
# so no removal is necessary.
;
&
sid
)
# should always be empty here.
# need to match here to avoid the default Error however
;;
# UBUNTU
bionic
)
remove_rocksdb_tools
;
&
focal
)
;
&
impish|jammy
)
# mariadb-plugin-rocksdb s390x not supported by us (yet)
# ubuntu doesn't support mips64el yet, so keep this just
# in case something changes.
if
[[
!
"
$architecture
"
=
~ amd64|arm64|ppc64el|s390x
]]
then
remove_rocksdb_tools
fi
;;
*
)
echo
"Error - unknown release codename
$CODENAME
"
>
&2
exit
1
esac
if
[[
!
"
$(
dpkg-architecture
-q
DEB_BUILD_ARCH
)
"
=
~ amd64|arm64|ppc64el|s390x
]]
then
remove_rocksdb_tools
fi
# From Debian Bullseye/Ubuntu Groovy, liburing replaces libaio
if
!
apt-cache madison liburing-dev |
grep
'liburing-dev'
>
/dev/null 2>&1
then
...
...
@@ -89,7 +111,6 @@ fi
echo
"Incrementing changelog and starting build scripts"
# Find major.minor version
source
./VERSION
UPSTREAM
=
"
${
MYSQL_VERSION_MAJOR
}
.
${
MYSQL_VERSION_MINOR
}
.
${
MYSQL_VERSION_PATCH
}${
MYSQL_VERSION_EXTRA
}
"
PATCHLEVEL
=
"+maria"
LOGSTRING
=
"MariaDB build"
...
...
debian/mariadb-plugin-columnstore.install
0 → 100644
View file @
ec62f46a
etc
/
columnstore
/
Columnstore
.
xml
etc
/
columnstore
/
ErrorMessage
.
txt
etc
/
columnstore
/
MessageFile
.
txt
etc
/
columnstore
/
storagemanager
.
cnf
etc
/
mysql
/
mariadb
.
conf
.
d
/
columnstore
.
cnf
usr
/
bin
/
mcsRebuildEM
usr
/
bin
/
DDLProc
usr
/
bin
/
DMLProc
usr
/
bin
/
ExeMgr
usr
/
bin
/
PrimProc
usr
/
bin
/
StorageManager
usr
/
bin
/
WriteEngineServer
usr
/
bin
/
clearShm
usr
/
bin
/
cleartablelock
usr
/
bin
/
columnstore
-
post
-
install
usr
/
bin
/
columnstore
-
pre
-
uninstall
usr
/
bin
/
columnstoreDBWrite
usr
/
bin
/
columnstoreSyslogSetup
.
sh
usr
/
bin
/
columnstore_run
.
sh
usr
/
bin
/
colxml
usr
/
bin
/
controllernode
usr
/
bin
/
cpimport
usr
/
bin
/
cpimport
.
bin
usr
/
bin
/
cplogger
usr
/
bin
/
cspasswd
usr
/
bin
/
cskeys
usr
/
bin
/
dbbuilder
usr
/
bin
/
dbrmctl
usr
/
bin
/
ddlcleanup
usr
/
bin
/
editem
usr
/
bin
/
idbmeminfo
usr
/
bin
/
load_brm
usr
/
bin
/
mariadb
-
columnstore
-
start
.
sh
usr
/
bin
/
mariadb
-
columnstore
-
stop
.
sh
usr
/
bin
/
mcs
-
savebrm
.
py
usr
/
bin
/
mcs
-
loadbrm
.
py
usr
/
bin
/
mcs
-
stop
-
controllernode
.
sh
usr
/
bin
/
mcsGetConfig
usr
/
bin
/
mcsSetConfig
usr
/
bin
/
mycnfUpgrade
usr
/
bin
/
post
-
mysql
-
install
usr
/
bin
/
post
-
mysqld
-
install
usr
/
bin
/
reset_locks
usr
/
bin
/
rollback
usr
/
bin
/
save_brm
usr
/
bin
/
smcat
usr
/
bin
/
smls
usr
/
bin
/
smput
usr
/
bin
/
smrm
usr
/
bin
/
testS3Connection
usr
/
bin
/
viewtablelock
usr
/
bin
/
workernode
usr
/
lib
/*/libbatchloader.so
usr/lib/*/
libbrm
.
so
usr
/
lib
/*/libcacheutils.so
usr/lib/*/
libcloudio
.
so
usr
/
lib
/*/libcommon.so
usr/lib/*/
libcompress
.
so
usr
/
lib
/*/libconfigcpp.so
usr/lib/*/
libdataconvert
.
so
usr
/
lib
/*/libddlcleanuputil.so
usr/lib/*/
libddlpackage
.
so
usr
/
lib
/*/libddlpackageproc.so
usr/lib/*/
libdmlpackage
.
so
usr
/
lib
/*/libdmlpackageproc.so
usr/lib/*/
libexecplan
.
so
usr
/
lib
/*/libfuncexp.so
usr/lib/*/
libidbdatafile
.
so
usr
/
lib
/*/libjoblist.so
usr/lib/*/
libjoiner
.
so
usr
/
lib
/*/liblibmysql_client.so
usr/lib/*/
libloggingcpp
.
so
usr
/
lib
/*/libmarias3.so
usr/lib/*/
libmessageqcpp
.
so
usr
/
lib
/*/liboamcpp.so
usr/lib/*/
libquerystats
.
so
usr
/
lib
/*/libquerytele.so
usr/lib/*/
libregr
.
so
usr
/
lib
/*/librowgroup.so
usr/lib/*/
librwlock
.
so
usr
/
lib
/*/libstoragemanager.so
usr/lib/*/
libthreadpool
.
so
usr
/
lib
/*/libthrift.so
usr/lib/*/
libudfsdk
.
so
usr
/
lib
/*/libwindowfunction.so
usr/lib/*/
libwriteengine
.
so
usr
/
lib
/*/libwriteengineclient.so
usr/lib/*/
libwriteengineredistribute
.
so
usr
/
lib
/*/
libdatatypes
.
so
usr
/
lib
/
mysql
/
plugin
/
ha_columnstore
.
so
usr
/
lib
/
mysql
/
plugin
/
libregr_mysql
.
so
usr
/
lib
/
mysql
/
plugin
/
libudf_mysql
.
so
usr
/
sbin
/
install_mcs_mysql
.
sh
usr
/
share
/
columnstore
/
calremoveuserpriority
.
sql
usr
/
share
/
columnstore
/
calsetuserpriority
.
sql
usr
/
share
/
columnstore
/
calshowprocesslist
.
sql
usr
/
share
/
columnstore
/
columnstoreAlias
usr
/
share
/
columnstore
/
columnstoreLogRotate
usr
/
share
/
columnstore
/
columnstoreSyslog
usr
/
share
/
columnstore
/
columnstoreSyslog
-
ng
usr
/
share
/
columnstore
/
columnstoreSyslog7
usr
/
share
/
columnstore
/
columnstore_info
.
sql
usr
/
share
/
columnstore
/
dumpcat_mysql
.
sql
usr
/
share
/
columnstore
/
gitversionEngine
usr
/
share
/
columnstore
/
mariadb
-
columnstore
.
service
usr
/
share
/
columnstore
/
mcs
-
controllernode
.
service
usr
/
share
/
columnstore
/
mcs
-
ddlproc
.
service
usr
/
share
/
columnstore
/
mcs
-
dmlproc
.
service
usr
/
share
/
columnstore
/
mcs
-
exemgr
.
service
usr
/
share
/
columnstore
/
mcs
-
loadbrm
.
service
usr
/
share
/
columnstore
/
mcs
-
primproc
.
service
usr
/
share
/
columnstore
/
mcs
-
storagemanager
.
service
usr
/
share
/
columnstore
/
mcs
-
workernode
.
service
usr
/
share
/
columnstore
/
mcs
-
writeengineserver
.
service
usr
/
share
/
columnstore
/
myCnf
-
exclude
-
args
.
text
usr
/
share
/
columnstore
/
myCnf
-
include
-
args
.
text
usr
/
share
/
columnstore
/
releasenum
usr
/
share
/
columnstore
/
syscatalog_mysql
.
sql
var
/
lib
/
columnstore
/
local
/
module
debian/mariadb-plugin-columnstore.postinst
0 → 100644
View file @
ec62f46a
#!/bin/bash
set
-e
# Install ColumnStore
columnstore-post-install
install
#DEBHELPER#
debian/mariadb-plugin-columnstore.postrm
0 → 100644
View file @
ec62f46a
#!/bin/bash
set
-e
if
[
"
$1
"
=
"purge"
]
;
then
rm
-rf
/var/lib/columnstore
rm
-rf
/etc/columnstore
rm
-f
/etc/mysql/mariadb.conf.d/columnstore.cnf.rpmsave
fi
# Automatically restart MariaDB after ColumnStore plugin has been removed
case
"
$1
"
in
purge|remove|disappear
)
if
[
-d
/run/systemd/system
]
;
then
# If systemd
deb-systemd-invoke restart mariadb.service
>
/dev/null
elif
[
-x
"/etc/init.d/mariadb"
]
;
then
# Fall-back to SysV init
invoke-rc.d mariadb restart
||
exit
$?
fi
;;
esac
#DEBHELPER#
debian/mariadb-plugin-columnstore.prerm
0 → 100644
View file @
ec62f46a
#!/bin/bash
set
-e
columnstore-pre-uninstall
#DEBHELPER#
debian/mariadb-plugin-columnstore.triggers
0 → 100644
View file @
ec62f46a
activate-noawait ldconfig
debian/salsa-ci.yml
View file @
ec62f46a
This diff is collapsed.
Click to expand it.
debian/source/lintian-overrides
View file @
ec62f46a
...
...
@@ -23,8 +23,10 @@ version-substvar-for-external-package libmariadbd-dev -> libmariadbclient-dev
# ColumnStore not used in Debian, safe to ignore. Reported upstream in https://jira.mariadb.org/browse/MDEV-24124
source-is-missing storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2
# Must be fixed upstream
source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js
line 58 is 273 characters long (>256)
source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js
*
# Intentional control relationships
version-substvar-for-external-package Replaces (line 216) ${source:Version} libmariadbd-dev -> libmariadbclient-dev
version-substvar-for-external-package Replaces (line 66) ${source:Version} libmariadb-dev -> libmysqlclient-dev
version-substvar-for-external-package Replaces (line 66) ${source:Version} libmariadb-dev -> libmysqld-dev
# We can't change build dependencies on a stable branch (10.5..10.8) so just override this
missing-build-dependency-for-dh-addon systemd *
mysql-test/include/have_innodb.inc
View file @
ec62f46a
...
...
@@ -2,3 +2,15 @@
# suite.pm will make sure that all tests including this file
# will be skipped unless innodb is enabled
#
--
disable_query_log
if
(
`select count(*) from information_schema.system_variables where variable_name='have_sanitizer' and global_value like "MSAN%"`
)
{
SET
STATEMENT
sql_log_bin
=
0
FOR
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
}
if
(
$VALGRIND_TEST
)
{
SET
STATEMENT
sql_log_bin
=
0
FOR
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
}
--
enable_query_log
mysql-test/main/flush_block_commit_notembedded.test
View file @
ec62f46a
...
...
@@ -12,6 +12,10 @@
--
echo
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
connect
(
con1
,
localhost
,
root
,,);
connect
(
con2
,
localhost
,
root
,,);
...
...
mysql-test/suite/encryption/t/innochecksum.test
View file @
ec62f46a
...
...
@@ -15,6 +15,11 @@ if (!$INNOCHECKSUM) {
--
die
Need
innochecksum
binary
}
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
let
$checksum_algorithm
=
`SELECT @@innodb_checksum_algorithm`
;
SET
GLOBAL
innodb_file_per_table
=
ON
;
# zlib
...
...
mysql-test/suite/innodb/include/innodb-page-compression.inc
View file @
ec62f46a
# This test is slow on buildbot.
--
source
include
/
big_test
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
create
table
innodb_normal
(
c1
int
not
null
auto_increment
primary
key
,
b
char
(
200
))
engine
=
innodb
;
create
table
innodb_page_compressed1
(
c1
int
not
null
auto_increment
primary
key
,
b
char
(
200
))
engine
=
innodb
page_compressed
=
1
page_compression_level
=
1
;
create
table
innodb_page_compressed2
(
c1
int
not
null
auto_increment
primary
key
,
b
char
(
200
))
engine
=
innodb
page_compressed
=
1
page_compression_level
=
2
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_bzip2.test
View file @
ec62f46a
...
...
@@ -2,6 +2,11 @@
--
source
include
/
have_innodb_bzip2
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# bzip2
set
global
innodb_compression_algorithm
=
5
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_lz4.test
View file @
ec62f46a
...
...
@@ -4,6 +4,11 @@
# The test can take very long time with valgrind
--
source
include
/
not_valgrind
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# lz4
set
global
innodb_compression_algorithm
=
2
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_lzma.test
View file @
ec62f46a
...
...
@@ -2,6 +2,11 @@
--
source
include
/
have_innodb_lzma
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# lzma
set
global
innodb_compression_algorithm
=
4
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_lzo.test
View file @
ec62f46a
...
...
@@ -2,6 +2,11 @@
--
source
include
/
have_innodb_lzo
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# lzo
set
global
innodb_compression_algorithm
=
3
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_tables.test
View file @
ec62f46a
...
...
@@ -2,6 +2,10 @@
--
source
include
/
not_embedded
.
inc
let
$innodb_compression_algorithm_orig
=
`SELECT @@innodb_compression_algorithm`
;
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# zlib
set
global
innodb_compression_algorithm
=
1
;
...
...
mysql-test/suite/innodb/t/innodb-page_compression_zip.test
View file @
ec62f46a
...
...
@@ -3,6 +3,11 @@
# This test is slow on buildbot.
--
source
include
/
big_test
.
inc
--
disable_query_log
# This may be triggered on a slow system or one that lacks native AIO.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
# zlib
set
global
innodb_compression_algorithm
=
1
;
...
...
mysql-test/suite/innodb/t/undo_truncate.test
View file @
ec62f46a
...
...
@@ -6,6 +6,9 @@
--
disable_query_log
call
mtr
.
add_suppression
(
"InnoDB: Difficult to find free blocks in the buffer pool"
);
--
disable_query_log
# This may be triggered on a slow system.
call
mtr
.
add_suppression
(
"InnoDB: Trying to delete tablespace.*pending operations"
);
--
enable_query_log
SET
GLOBAL
innodb_undo_log_truncate
=
0
;
...
...
mysql-test/suite/perfschema/include/program_nested_setup.inc
View file @
ec62f46a
...
...
@@ -3,7 +3,6 @@
#
--
source
include
/
no_protocol
.
inc
--
source
include
/
have_innodb
.
inc
--
echo
# SET-UP
CREATE
DATABASE
nested_sp
;
...
...
@@ -17,7 +16,7 @@ CREATE TABLE t1(
CREATE
TABLE
t2
(
n
INT
UNSIGNED
NOT
NULL
,
f
BIGINT
UNSIGNED
)
engine
=
innodb
;
);
--
echo
############################
--
echo
# Creating Stored Programs #
...
...
mysql-test/suite/perfschema/r/max_program_zero.result
View file @
ec62f46a
...
...
@@ -167,7 +167,7 @@ data INT NOT NULL
CREATE TABLE t2(
n INT UNSIGNED NOT NULL,
f BIGINT UNSIGNED
)
engine=innodb
;
);
############################
# Creating Stored Programs #
############################
...
...
mysql-test/suite/perfschema/r/statement_program_lost_inst.result
View file @
ec62f46a
...
...
@@ -167,7 +167,7 @@ data INT NOT NULL
CREATE TABLE t2(
n INT UNSIGNED NOT NULL,
f BIGINT UNSIGNED
)
engine=innodb
;
);
############################
# Creating Stored Programs #
############################
...
...
mysql-test/suite/perfschema/r/statement_program_nested.result
View file @
ec62f46a
...
...
@@ -13,7 +13,7 @@ data INT NOT NULL
CREATE TABLE t2(
n INT UNSIGNED NOT NULL,
f BIGINT UNSIGNED
)
engine=innodb
;
);
############################
# Creating Stored Programs #
############################
...
...
@@ -67,6 +67,7 @@ END WHILE;
END|
CREATE TRIGGER trg AFTER INSERT ON t1 FOR EACH ROW
CALL ifac(10)|
ALTER TABLE t2 ENGINE=InnoDB;
#####################
# Executing queries #
#####################
...
...
@@ -1199,7 +1200,7 @@ data INT NOT NULL
CREATE TABLE t2(
n INT UNSIGNED NOT NULL,
f BIGINT UNSIGNED
)
engine=innodb
;
);
############################
# Creating Stored Programs #
############################
...
...
mysql-test/suite/perfschema/r/statement_program_nesting_event_check.result
View file @
ec62f46a
...
...
@@ -101,6 +101,7 @@ CREATE TRIGGER trg4 BEFORE DELETE ON t1 FOR EACH ROW
SET @del:= @del + 1|
CREATE TRIGGER trg5 AFTER DELETE ON t1 FOR EACH ROW
SET @del:= @del + 8 + old.j|
ALTER TABLE t2 ENGINE=InnoDB;
#####################
# Executing queries #
#####################
...
...
@@ -159,6 +160,7 @@ WHERE CURRENT_SCHEMA='stored_programs' AND
ORDER BY OBJECT_NAME,NESTING_EVENT_LEVEL,SQL_TEXT;
EVENT_NAME SQL_TEXT OBJECT_NAME NESTING_EVENT_TYPE NESTING_EVENT_LEVEL
statement/scheduler/event NULL NULL NULL 0
statement/sql/alter_table ALTER TABLE t2 ENGINE=InnoDB NULL NULL 0
statement/sql/call_procedure CALL SampleProc1(30,40,50) NULL NULL 0
statement/sql/call_procedure CALL SampleProc2("Jwalamukhi",34) NULL NULL 0
statement/sql/call_procedure CALL SampleProc3() NULL NULL 0
...
...
@@ -375,7 +377,7 @@ data INT NOT NULL
CREATE TABLE t2(
n INT UNSIGNED NOT NULL,
f BIGINT UNSIGNED
)
engine=innodb
;
);
############################
# Creating Stored Programs #
############################
...
...
@@ -429,6 +431,7 @@ END WHILE;
END|
CREATE TRIGGER trg AFTER INSERT ON t1 FOR EACH ROW
CALL ifac(10)|
ALTER TABLE t2 ENGINE=InnoDB;
#####################
# Executing queries #
#####################
...
...
mysql-test/suite/perfschema/t/statement_program_nested.test
View file @
ec62f46a
...
...
@@ -4,6 +4,7 @@
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_perfschema
.
inc
--
source
include
/
have_innodb
.
inc
TRUNCATE
TABLE
performance_schema
.
events_statements_summary_by_program
;
TRUNCATE
TABLE
performance_schema
.
events_statements_history_long
;
...
...
@@ -13,6 +14,7 @@ TRUNCATE TABLE performance_schema.events_statements_history_long;
--
echo
#################################################
--
source
suite
/
perfschema
/
include
/
program_nested_setup
.
inc
ALTER
TABLE
t2
ENGINE
=
InnoDB
;
--
source
suite
/
perfschema
/
include
/
program_nested_execution
.
inc
SELECT
EVENT_NAME
,
SQL_TEXT
,
CURRENT_SCHEMA
,
OBJECT_TYPE
,
OBJECT_SCHEMA
,
...
...
mysql-test/suite/perfschema/t/statement_program_nesting_event_check.test
View file @
ec62f46a
...
...
@@ -7,6 +7,7 @@
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_perfschema
.
inc
--
source
include
/
have_innodb
.
inc
TRUNCATE
TABLE
performance_schema
.
events_statements_history_long
;
...
...
@@ -14,6 +15,7 @@ TRUNCATE TABLE performance_schema.events_statements_history_long;
--
echo
# Non-nested Stored programs.
--
echo
#----------------------------
--
source
suite
/
perfschema
/
include
/
program_setup
.
inc
ALTER
TABLE
t2
ENGINE
=
InnoDB
;
--
source
suite
/
perfschema
/
include
/
program_execution
.
inc
SELECT
EVENT_NAME
,
SQL_TEXT
,
OBJECT_NAME
,
NESTING_EVENT_TYPE
,
NESTING_EVENT_LEVEL
...
...
@@ -31,6 +33,7 @@ TRUNCATE TABLE performance_schema.events_statements_history_long;
--
echo
# Nested stored programs.
--
echo
#------------------------
--
source
suite
/
perfschema
/
include
/
program_nested_setup
.
inc
ALTER
TABLE
t2
ENGINE
=
InnoDB
;
--
source
suite
/
perfschema
/
include
/
program_nested_execution
.
inc
SELECT
EVENT_NAME
,
SQL_TEXT
,
OBJECT_NAME
,
NESTING_EVENT_TYPE
,
NESTING_EVENT_LEVEL
...
...
mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result
View file @
ec62f46a
...
...
@@ -4,6 +4,11 @@ SELECT @orig;
25
SET GLOBAL innodb_buffer_pool_dump_pct=3;
# Do the dump
SELECT @@global.innodb_buffer_pool_dump_now;
SELECT variable_value INTO @old_dump_status FROM information_schema.global_status
WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status';
SET GLOBAL innodb_buffer_pool_dump_now = ON;
SELECT @@global.innodb_buffer_pool_dump_now;
SET GLOBAL innodb_buffer_pool_dump_pct=20;
SELECT @@global.innodb_buffer_pool_dump_pct;
@@global.innodb_buffer_pool_dump_pct
...
...
mysql-test/suite/versioning/common.inc
View file @
ec62f46a
--
disable_query_log
if
(
!
$TEST_VERSIONING_SO
)
{
--
skip
needs
test_versioning
plugin
}
source
include
/
have_innodb
.
inc
;
--
disable_query_log
set
@@
session
.
time_zone
=
'+00:00'
;
select
ifnull
(
max
(
transaction_id
),
0
)
into
@
start_trx_id
from
mysql
.
transaction_registry
;
...
...
sql/sys_vars.cc
View file @
ec62f46a
...
...
@@ -5116,7 +5116,7 @@ static Sys_var_have Sys_have_symlink(
# ifdef __SANITIZE_ADDRESS__
# ifdef WITH_UBSAN
# define SANITIZER_MODE "ASAN
+
UBSAN"
# define SANITIZER_MODE "ASAN
,
UBSAN"
# else
# define SANITIZER_MODE "ASAN"
# endif
...
...
storage/maria/CMakeLists.txt
View file @
ec62f46a
...
...
@@ -117,14 +117,14 @@ SET(S3_SOURCES s3_func.c
libmarias3/src/sha256-internal.c libmarias3/src/xml.c
libmarias3/src/assume_role.c
)
IF
(
NOT PLUGIN_S3 STREQUAL NO
)
IF
(
NOT PLUGIN_S3 STREQUAL NO
AND NOT WIN32
)
FIND_PACKAGE
(
CURL
)
ENDIF
()
IF
(
CURL_FOUND
)
LINK_DIRECTORIES
(
${
PC_CURL_LIBDIR
}
)
INCLUDE_DIRECTORIES
(
${
CURL_INCLUDE_DIRS
}
)
MYSQL_ADD_PLUGIN
(
s3 ha_s3.cc
${
S3_SOURCES
}
COMPONENT s3-engine
LINK_LIBRARIES
curl
z STORAGE_ENGINE NOT_EMBEDDED CONFIG s3.cnf
)
LINK_LIBRARIES
${
CURL_LIBRARIES
}
z STORAGE_ENGINE NOT_EMBEDDED CONFIG s3.cnf
)
ENDIF
()
SET
(
CPACK_RPM_s3-engine_PACKAGE_SUMMARY
"Amazon S3 archival storage engine for MariaDB"
PARENT_SCOPE
)
...
...
storage/maria/s3_func.c
View file @
ec62f46a
...
...
@@ -1310,7 +1310,7 @@ my_bool set_database_and_table_from_path(S3_INFO *s3, const char *path)
if
(
path
[
length
-
1
]
==
FN_LIBCHAR
||
path
[
length
-
1
]
==
'/'
)
break
;
#ifdef FN_DEVCHAR
if
(
path
[
length
-
1
]
==
FN_DE
CV
HAR
)
if
(
path
[
length
-
1
]
==
FN_DE
VC
HAR
)
break
;
#endif
}
...
...
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