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
2cfbfbac
Commit
2cfbfbac
authored
Jun 27, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge
parents
77f8874c
6b2438c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
mysql-test/suite/maria/r/maria.result
mysql-test/suite/maria/r/maria.result
+11
-0
mysql-test/suite/maria/t/maria.test
mysql-test/suite/maria/t/maria.test
+10
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-0
No files found.
mysql-test/suite/maria/r/maria.result
View file @
2cfbfbac
...
...
@@ -22,6 +22,17 @@ CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
create table t1 (a int primary key auto_increment) engine=aria;
insert into t1 values (1);
update t1 set a=0 where a=1;
check table t1;
Table Op Msg_type Msg_text
test.t1 check warning Found row where the auto_increment column has the value 0
test.t1 check status OK
select * from t1;
a
0
drop table t1;
create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));
check table t1;
Table Op Msg_type Msg_text
...
...
mysql-test/suite/maria/t/maria.test
View file @
2cfbfbac
...
...
@@ -41,6 +41,16 @@ INSERT INTO t1 VALUES ('WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
CHECK
TABLE
t1
;
drop
table
t1
;
#
# Test auto_increment warning
#
create
table
t1
(
a
int
primary
key
auto_increment
)
engine
=
aria
;
insert
into
t1
values
(
1
);
update
t1
set
a
=
0
where
a
=
1
;
check
table
t1
;
select
*
from
t1
;
drop
table
t1
;
#
# Test problem with rows that are 65517-65520 bytes long
#
...
...
sql/mysqld.cc
View file @
2cfbfbac
...
...
@@ -3274,6 +3274,7 @@ const char *load_default_groups[]= {
#endif
"mysqld"
,
"server"
,
MYSQL_BASE_VERSION
,
"mariadb"
,
MARIADB_BASE_VERSION
,
"client-server"
,
0
,
0
};
#if defined(__WIN__) && !defined(EMBEDDED_LIBRARY)
...
...
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