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
7dfcc949
Commit
7dfcc949
authored
Dec 19, 2003
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fixes
parent
d4c32db1
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
129 additions
and
4 deletions
+129
-4
mysql-test/r/auto_increment.result
mysql-test/r/auto_increment.result
+2
-2
mysql-test/r/type_decimal.result
mysql-test/r/type_decimal.result
+123
-0
mysql-test/r/type_enum.result
mysql-test/r/type_enum.result
+1
-0
mysql-test/t/auto_increment.test
mysql-test/t/auto_increment.test
+1
-1
mysql-test/t/type_decimal.test
mysql-test/t/type_decimal.test
+2
-1
No files found.
mysql-test/r/auto_increment.result
View file @
7dfcc949
...
...
@@ -119,7 +119,7 @@ a
1
2
drop table t1;
create table t1 (a int not null auto_increment primary key) /*!40102
typ
e=heap */;
create table t1 (a int not null auto_increment primary key) /*!40102
engin
e=heap */;
insert into t1 values (NULL);
insert into t1 values (-1);
select last_insert_id();
...
...
@@ -128,8 +128,8 @@ last_insert_id()
insert into t1 values (NULL);
select * from t1;
a
-1
1
-1
2
drop table t1;
create table t1 (i tinyint unsigned not null auto_increment primary key);
...
...
mysql-test/r/type_decimal.result
View file @
7dfcc949
This diff is collapsed.
Click to expand it.
mysql-test/r/type_enum.result
View file @
7dfcc949
...
...
@@ -1650,6 +1650,7 @@ select * from t1;
a
drop table t1;
set names latin1;
create table t1 (a enum(0xE4, '1', '2') not null default 0xE4);
show columns from t1;
Field Type Null Key Default Extra
...
...
mysql-test/t/auto_increment.test
View file @
7dfcc949
...
...
@@ -85,7 +85,7 @@ insert into t1 values (NULL);
select
*
from
t1
;
drop
table
t1
;
create
table
t1
(
a
int
not
null
auto_increment
primary
key
)
/*!40102
typ
e=heap */
;
create
table
t1
(
a
int
not
null
auto_increment
primary
key
)
/*!40102
engin
e=heap */
;
insert
into
t1
values
(
NULL
);
insert
into
t1
values
(
-
1
);
select
last_insert_id
();
...
...
mysql-test/t/type_decimal.test
View file @
7dfcc949
...
...
@@ -248,7 +248,7 @@ CREATE TABLE t1 (a_dec DECIMAL(-1,1));
#
# Zero prepend overflow bug
#
--
disable
-
warnings
create
table
t1
(
a
decimal
(
7
,
3
));
insert
into
t1
values
(
'1'
),(
'+1'
),(
'-1'
),(
'0000000001'
),(
'+0000000001'
),(
'-0000000001'
),(
'10'
),(
'+10'
),(
'-10'
),(
'0000000010'
),(
'+0000000010'
),(
'-0000000010'
),(
'100'
),(
'+100'
),(
'-100'
),(
'0000000100'
),(
'+0000000100'
),(
'-0000000100'
),(
'1000'
),(
'+1000'
),(
'-1000'
),(
'0000001000'
),(
'+0000001000'
),(
'-0000001000'
),(
'10000'
),(
'+10000'
),(
'-10000'
),(
'0000010000'
),(
'+0000010000'
),(
'-0000010000'
),(
'100000'
),(
'+100000'
),(
'-100000'
),(
'0000100000'
),(
'+0000100000'
),(
'-0000100000'
),(
'1000000'
),(
'+1000000'
),(
'-1000000'
),(
'0001000000'
),(
'+0001000000'
),(
'-0001000000'
),(
'10000000'
),(
'+10000000'
),(
'-10000000'
),(
'0010000000'
),(
'+0010000000'
),(
'-0010000000'
),(
'100000000'
),(
'+100000000'
),(
'-100000000'
),(
'0100000000'
),(
'+0100000000'
),(
'-0100000000'
),(
'1000000000'
),(
'+1000000000'
),(
'-1000000000'
),(
'1000000000'
),(
'+1000000000'
),(
'-1000000000'
);
select
*
from
t1
;
...
...
@@ -259,5 +259,6 @@ select * from t1;
drop
table
t1
;
create
table
t1
(
a
decimal
(
7
,
3
)
zerofill
);
insert
into
t1
values
(
'1'
),(
'+1'
),(
'-1'
),(
'0000000001'
),(
'+0000000001'
),(
'-0000000001'
),(
'10'
),(
'+10'
),(
'-10'
),(
'0000000010'
),(
'+0000000010'
),(
'-0000000010'
),(
'100'
),(
'+100'
),(
'-100'
),(
'0000000100'
),(
'+0000000100'
),(
'-0000000100'
),(
'1000'
),(
'+1000'
),(
'-1000'
),(
'0000001000'
),(
'+0000001000'
),(
'-0000001000'
),(
'10000'
),(
'+10000'
),(
'-10000'
),(
'0000010000'
),(
'+0000010000'
),(
'-0000010000'
),(
'100000'
),(
'+100000'
),(
'-100000'
),(
'0000100000'
),(
'+0000100000'
),(
'-0000100000'
),(
'1000000'
),(
'+1000000'
),(
'-1000000'
),(
'0001000000'
),(
'+0001000000'
),(
'-0001000000'
),(
'10000000'
),(
'+10000000'
),(
'-10000000'
),(
'0010000000'
),(
'+0010000000'
),(
'-0010000000'
),(
'100000000'
),(
'+100000000'
),(
'-100000000'
),(
'0100000000'
),(
'+0100000000'
),(
'-0100000000'
),(
'1000000000'
),(
'+1000000000'
),(
'-1000000000'
),(
'1000000000'
),(
'+1000000000'
),(
'-1000000000'
);
--
enable
-
warnings
select
*
from
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