File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
mysql-test/suite/mariabackup Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4048,7 +4048,7 @@ xb_register_filter_entry(
4048
4048
strncpy (dbname, name, p - name);
4049
4049
dbname[p - name] = 0 ;
4050
4050
4051
- if (databases_hash) {
4051
+ if (databases_hash && databases_hash-> array ) {
4052
4052
HASH_SEARCH (name_hash, databases_hash,
4053
4053
ut_fold_string (dbname),
4054
4054
xb_filter_entry_t *,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ mkdir $targetdir;
8
8
let $streamfile=$MYSQLTEST_VARDIR/tmp/backup.xb;
9
9
10
10
echo # xtrabackup backup to stream;
11
- exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --stream=xbstream > $streamfile 2>$targetdir/backup_stream.log;
11
+ exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --databases-exclude=foobar --stream=xbstream > $streamfile 2>$targetdir/backup_stream.log;
12
12
echo # xbstream extract;
13
13
--disable_result_log
14
14
exec $XBSTREAM -x -C $targetdir < $streamfile;
You can’t perform that action at this time.
0 commit comments