Commit b249abde authored by Daniel Black's avatar Daniel Black

Merge branch '10.6' into 10.7

Closes #2082
parents b4f3969a 8d9c2561
This diff is collapsed.
...@@ -23,10 +23,10 @@ version-substvar-for-external-package libmariadbd-dev -> libmariadbclient-dev ...@@ -23,10 +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 # 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 source-is-missing storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2
# Must be fixed upstream # Must be fixed upstream
source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js * source-is-missing storage/mroonga/vendor/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js*
# Intentional control relationships # Intentional control relationships
version-substvar-for-external-package Replaces (line 216) ${source:Version} libmariadbd-dev -> libmariadbclient-dev version-substvar-for-external-package Replaces * ${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 * ${source:Version} libmariadb-dev -> libmysqlclient-dev
version-substvar-for-external-package Replaces (line 66) ${source:Version} libmariadb-dev -> libmysqld-dev version-substvar-for-external-package Replaces * ${source:Version} libmariadb-dev -> libmysqld-dev
# We can't change build dependencies on a stable branch (10.5..10.8) so just override this # 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 * missing-build-dependency-for-dh-addon systemd *
...@@ -3,6 +3,6 @@ INSERT INTO t VALUES(1); ...@@ -3,6 +3,6 @@ INSERT INTO t VALUES(1);
SHOW VARIABLES like 'log_bin'; SHOW VARIABLES like 'log_bin';
Variable_name Value Variable_name Value
log_bin ON log_bin ON
FOUND 1 /Last binlog file .*, position .*/ in current_test FOUND 1 /Last binlog file .+, position \d+/ in current_test
# expect FOUND # expect FOUND
DROP TABLE t; DROP TABLE t;
...@@ -15,7 +15,7 @@ exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir ...@@ -15,7 +15,7 @@ exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir
exec $XTRABACKUP --prepare --binlog-info=1 --target-dir=$basedir ; exec $XTRABACKUP --prepare --binlog-info=1 --target-dir=$basedir ;
let SEARCH_FILE=$MYSQLTEST_VARDIR/log/current_test; let SEARCH_FILE=$MYSQLTEST_VARDIR/log/current_test;
--let SEARCH_PATTERN= Last binlog file .*, position .* --let SEARCH_PATTERN= Last binlog file .+, position \d+
--source include/search_pattern_in_file.inc --source include/search_pattern_in_file.inc
--echo # expect FOUND --echo # expect FOUND
......
...@@ -387,7 +387,8 @@ ENDIF() ...@@ -387,7 +387,8 @@ ENDIF()
# s390x because of the way it defines the high level intrinsics # s390x because of the way it defines the high level intrinsics
# as not-inline in the header file can only be included by one # as not-inline in the header file can only be included by one
# source file that has -mhtm enabled. # source file that has -mhtm enabled.
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|powerpc64|s390x") IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|powerpc64|s390x"
OR CMAKE_SYSTEM_NAME MATCHES "AIX")
ADD_COMPILE_FLAGS( ADD_COMPILE_FLAGS(
sync/srw_lock.cc sync/srw_lock.cc
COMPILE_FLAGS "-mhtm" COMPILE_FLAGS "-mhtm"
......
...@@ -333,22 +333,19 @@ typedef ssize_t lint; ...@@ -333,22 +333,19 @@ typedef ssize_t lint;
#ifdef _WIN32 #ifdef _WIN32
/* Use the integer types and formatting strings defined in Visual Studio. */ /* Use the integer types and formatting strings defined in Visual Studio. */
# define UINT32PF "%u" # define UINT32PF "%u"
# define INT64PF "%lld"
# define UINT64scan "llu" # define UINT64scan "llu"
# define UINT64PFx "%016llx" # define UINT64PFx "%016llx"
#elif defined __APPLE__ #elif defined __APPLE__
/* Apple prefers to call the 64-bit types 'long long' /* Apple prefers to call the 64-bit types 'long long'
in both 32-bit and 64-bit environments. */ in both 32-bit and 64-bit environments. */
# define UINT32PF "%" PRIu32 # define UINT32PF "%" PRIu32
# define INT64PF "%lld"
# define UINT64scan "llu" # define UINT64scan "llu"
# define UINT64PFx "%016llx" # define UINT64PFx "%016llx"
#elif defined _AIX #elif defined _AIX
/* Workaround for macros expension trouble */ /* Workaround for macros expension trouble */
# define UINT32PF "%u" # define UINT32PF "%u"
# define INT64PF "%lld"
# define UINT64scan "lu" # define UINT64scan "lu"
# define UINT64PFx "%016llx" # define UINT64PFx "%016lx"
#else #else
/* Use the integer types and formatting strings defined in the C99 standard. */ /* Use the integer types and formatting strings defined in the C99 standard. */
# define UINT32PF "%" PRIu32 # define UINT32PF "%" PRIu32
......
...@@ -1461,10 +1461,9 @@ dberr_t srv_start(bool create_new_db) ...@@ -1461,10 +1461,9 @@ dberr_t srv_start(bool create_new_db)
if (err != DB_SUCCESS) { if (err != DB_SUCCESS) {
return srv_init_abort(err); return srv_init_abort(err);
} }
if (srv_operation == SRV_OPERATION_RESTORE) { if (srv_operation != SRV_OPERATION_RESTORE) {
break;
}
dict_sys.load_sys_tables(); dict_sys.load_sys_tables();
}
err = trx_lists_init_at_db_start(); err = trx_lists_init_at_db_start();
if (err != DB_SUCCESS) { if (err != DB_SUCCESS) {
return srv_init_abort(err); return srv_init_abort(err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment