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
95b2bff4
Commit
95b2bff4
authored
Jan 05, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.6
parents
c6507684
12a85c6c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
8 deletions
+3
-8
mysql-test/suite/innodb/r/insert_into_empty.result
mysql-test/suite/innodb/r/insert_into_empty.result
+0
-2
mysql-test/suite/innodb/t/insert_into_empty.test
mysql-test/suite/innodb/t/insert_into_empty.test
+0
-3
mysql-test/suite/innodb_fts/r/misc_debug.result
mysql-test/suite/innodb_fts/r/misc_debug.result
+1
-1
mysql-test/suite/innodb_fts/t/misc_debug.test
mysql-test/suite/innodb_fts/t/misc_debug.test
+1
-1
storage/innobase/handler/handler0alter.cc
storage/innobase/handler/handler0alter.cc
+1
-1
No files found.
mysql-test/suite/innodb/r/insert_into_empty.result
View file @
95b2bff4
...
...
@@ -197,8 +197,6 @@ DROP TABLE t1;
#
# MDEV-27214 Import with disabled keys corrupts meta-data like rows, indexes, ...
#
SET UNIQUE_CHECKS=0;
SET FOREIGN_KEY_CHECKS=0;
CREATE TABLE `t1` (
`id` int(11) NOT NULL,
`a` int(11) DEFAULT NULL,
...
...
mysql-test/suite/innodb/t/insert_into_empty.test
View file @
95b2bff4
...
...
@@ -214,8 +214,6 @@ DROP TABLE t1;
--
echo
# MDEV-27214 Import with disabled keys corrupts meta-data like rows, indexes, ...
--
echo
#
SET
UNIQUE_CHECKS
=
0
;
SET
FOREIGN_KEY_CHECKS
=
0
;
CREATE
TABLE
`t1`
(
`id`
int
(
11
)
NOT
NULL
,
`a`
int
(
11
)
DEFAULT
NULL
,
...
...
@@ -231,5 +229,4 @@ SELECT TABLE_ROWS, AVG_ROW_LENGTH>0 FROM INFORMATION_SCHEMA.TABLES
WHERE
TABLE_NAME
=
't1'
AND
TABLE_SCHEMA
=
'test'
;
DROP
TABLE
t1
;
--
echo
# End of 10.6 tests
mysql-test/suite/innodb_fts/r/misc_debug.result
View file @
95b2bff4
...
...
@@ -68,7 +68,7 @@ DROP TABLE t1;
CREATE TABLE t1(f1 INT NOT NULL, f2 CHAR(100))ENGINE=InnoDB;
SET DEBUG_DBUG="+d,stats_lock_fail";
ALTER TABLE t1 ADD FULLTEXT(f2);
ERROR HY000:
Got error 15 "Block device required" from storage engine InnoDB
ERROR HY000:
Lock wait timeout exceeded; try restarting transaction
SET debug_dbug=@saved_debug_dbug;
ALTER TABLE t1 DISCARD TABLESPACE;
ALTER TABLE t1 ADD FULLTEXT(f2);
...
...
mysql-test/suite/innodb_fts/t/misc_debug.test
View file @
95b2bff4
...
...
@@ -108,7 +108,7 @@ DROP TABLE t1;
CREATE
TABLE
t1
(
f1
INT
NOT
NULL
,
f2
CHAR
(
100
))
ENGINE
=
InnoDB
;
SET
DEBUG_DBUG
=
"+d,stats_lock_fail"
;
--
error
ER_
GET_ERRNO
--
error
ER_
LOCK_WAIT_TIMEOUT
ALTER
TABLE
t1
ADD
FULLTEXT
(
f2
);
SET
debug_dbug
=@
saved_debug_dbug
;
ALTER
TABLE
t1
DISCARD
TABLESPACE
;
...
...
storage/innobase/handler/handler0alter.cc
View file @
95b2bff4
...
...
@@ -11273,7 +11273,7 @@ ha_innobase::commit_inplace_alter_table(
}
DBUG_EXECUTE_IF
(
"stats_lock_fail"
,
error
=
DB_LOCK_WAIT
;);
error
=
DB_LOCK_WAIT
_TIMEOUT
;);
if
(
error
==
DB_SUCCESS
)
{
error
=
lock_sys_tables
(
trx
);
...
...
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