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
87af10ed
Commit
87af10ed
authored
Nov 21, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test made independend of server builtin features
parent
8ded2093
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
mysql-test/r/rpl_auto_increment.result
mysql-test/r/rpl_auto_increment.result
+1
-2
mysql-test/t/rpl_auto_increment.test
mysql-test/t/rpl_auto_increment.test
+1
-1
No files found.
mysql-test/r/rpl_auto_increment.result
View file @
87af10ed
...
@@ -37,11 +37,10 @@ a b
...
@@ -37,11 +37,10 @@ a b
32 6
32 6
drop table t1;
drop table t1;
set @@session.auto_increment_increment=100, @@session.auto_increment_offset=10;
set @@session.auto_increment_increment=100, @@session.auto_increment_offset=10;
show variables like "%auto%";
show variables like "%auto
_inc
%";
Variable_name Value
Variable_name Value
auto_increment_increment 100
auto_increment_increment 100
auto_increment_offset 10
auto_increment_offset 10
innodb_autoextend_increment 8
create table t1 (a int not null auto_increment, primary key (a)) engine=myisam;
create table t1 (a int not null auto_increment, primary key (a)) engine=myisam;
insert into t1 values (NULL),(5),(NULL);
insert into t1 values (NULL),(5),(NULL);
insert into t1 values (250),(NULL);
insert into t1 values (250),(NULL);
...
...
mysql-test/t/rpl_auto_increment.test
View file @
87af10ed
...
@@ -26,7 +26,7 @@ connection master;
...
@@ -26,7 +26,7 @@ connection master;
drop
table
t1
;
drop
table
t1
;
set
@@
session
.
auto_increment_increment
=
100
,
@@
session
.
auto_increment_offset
=
10
;
set
@@
session
.
auto_increment_increment
=
100
,
@@
session
.
auto_increment_offset
=
10
;
show
variables
like
"%auto%"
;
show
variables
like
"%auto
_inc
%"
;
create
table
t1
(
a
int
not
null
auto_increment
,
primary
key
(
a
))
engine
=
myisam
;
create
table
t1
(
a
int
not
null
auto_increment
,
primary
key
(
a
))
engine
=
myisam
;
# Insert with 2 insert statements to get better testing of logging
# Insert with 2 insert statements to get better testing of logging
...
...
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