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
9ec24797
Commit
9ec24797
authored
Dec 21, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge bb-10.2-ext into 10.3
parents
1ec8d45c
40f4525f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
mysql-test/suite/innodb/t/innodb-alter-tempfile.test
mysql-test/suite/innodb/t/innodb-alter-tempfile.test
+1
-13
No files found.
mysql-test/suite/innodb/t/innodb-alter-tempfile.test
View file @
9ec24797
...
...
@@ -32,24 +32,12 @@ SET debug_dbug='+d,innodb_alter_commit_crash_before_commit';
--
error
2013
ALTER
TABLE
t1
ADD
PRIMARY
KEY
(
f2
,
f1
);
let
TABLENAME_INC
=
$MYSQLTEST_VARDIR
/
tmp
/
tablename
.
inc
;
perl
;
die
unless
open
OUT
,
">
$ENV
{
TABLENAME_INC
}
"
;
chdir
"
$ENV
{
'datadir'
}
/test"
;
my
@
frm_file
=
map
{
substr
(
$_
,
0
,
-
4
)
}
glob
"#sql-*.frm"
;
print
OUT
'let $temp_table_name='
,
$frm_file
[
0
],
';'
;
close
OUT
or
die
;
EOF
source
$TABLENAME_INC
;
remove_file
$TABLENAME_INC
;
remove_files_wildcard
$datadir
/
test
#sql-*.frm;
--
source
include
/
start_mysqld
.
inc
show
create
table
t1
;
--
echo
# Consecutive Alter table does not create same temporary file name
ALTER
TABLE
t1
ADD
PRIMARY
KEY
(
f2
,
f1
);
--
disable_query_log
eval
DROP
TABLE
`#mysql50#$temp_table_name`
;
--
enable_query_log
show
create
table
t1
;
drop
table
t1
;
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