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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d62d3f34
Commit
d62d3f34
authored
Aug 13, 2008
by
Timothy Smith
Browse files
Options
Browse Files
Download
Plain Diff
Up-merge from 5.0; adds test for innodb bug 34286 (but no code changes).
parents
793a9281
492a83a5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
mysql-test/r/innodb-autoinc-optimize.result
mysql-test/r/innodb-autoinc-optimize.result
+6
-0
mysql-test/t/innodb-autoinc-optimize.test
mysql-test/t/innodb-autoinc-optimize.test
+16
-0
No files found.
mysql-test/r/innodb-autoinc-optimize.result
0 → 100644
View file @
d62d3f34
drop table if exists t1;
create table t1(a int not null auto_increment primary key) engine=innodb;
insert into t1 set a = -1;
optimize table t1;
Table Op Msg_type Msg_text
test.t1 optimize status OK
mysql-test/t/innodb-autoinc-optimize.test
0 → 100644
View file @
d62d3f34
--
source
include
/
have_innodb
.
inc
# embedded server ignores 'delayed', so skip this
--
source
include
/
not_embedded
.
inc
--
disable_warnings
drop
table
if
exists
t1
;
--
enable_warnings
#
# Bug 34286
#
create
table
t1
(
a
int
not
null
auto_increment
primary
key
)
engine
=
innodb
;
insert
into
t1
set
a
=
-
1
;
# NOTE: The database needs to be shutdown and restarted (here) for
# the test to work. It's included for reference only.
optimize
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