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
8f9a268a
Commit
8f9a268a
authored
Jul 14, 2005
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0
into deer.(none):/home/hf/work/mysql-5.0.clean
parents
6fd6fa51
1969a162
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+9
-0
mysql-test/r/type_newdecimal.result
mysql-test/r/type_newdecimal.result
+0
-9
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+12
-0
mysql-test/t/type_newdecimal.test
mysql-test/t/type_newdecimal.test
+0
-12
No files found.
mysql-test/r/innodb.result
View file @
8f9a268a
...
@@ -2466,3 +2466,12 @@ select * from t1;
...
@@ -2466,3 +2466,12 @@ select * from t1;
a val
a val
2 1
2 1
drop table t1;
drop table t1;
CREATE TABLE t1 (GRADE DECIMAL(4) NOT NULL, PRIMARY KEY (GRADE)) ENGINE=INNODB;
INSERT INTO t1 (GRADE) VALUES (151),(252),(343);
SELECT GRADE FROM t1 WHERE GRADE > 160 AND GRADE < 300;
GRADE
252
SELECT GRADE FROM t1 WHERE GRADE= 151;
GRADE
151
DROP TABLE t1;
mysql-test/r/type_newdecimal.result
View file @
8f9a268a
...
@@ -876,15 +876,6 @@ SELECT * FROM t1;
...
@@ -876,15 +876,6 @@ SELECT * FROM t1;
f1 f2
f1 f2
9999999999999999999999999999999999.00000000000000000000 0.00
9999999999999999999999999999999999.00000000000000000000 0.00
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 (GRADE DECIMAL(4) NOT NULL, PRIMARY KEY (GRADE)) ENGINE=INNODB;
INSERT INTO t1 (GRADE) VALUES (151),(252),(343);
SELECT GRADE FROM t1 WHERE GRADE > 160 AND GRADE < 300;
GRADE
252
SELECT GRADE FROM t1 WHERE GRADE= 151;
GRADE
151
DROP TABLE t1;
select abs(10/0);
select abs(10/0);
abs(10/0)
abs(10/0)
NULL
NULL
...
...
mysql-test/t/innodb.test
View file @
8f9a268a
...
@@ -1381,3 +1381,15 @@ update t1 set a=2 where a=1;
...
@@ -1381,3 +1381,15 @@ update t1 set a=2 where a=1;
insert
into
t1
(
val
)
values
(
1
);
insert
into
t1
(
val
)
values
(
1
);
select
*
from
t1
;
select
*
from
t1
;
drop
table
t1
;
drop
table
t1
;
#
# Bug #10465
#
--
disable_warnings
CREATE
TABLE
t1
(
GRADE
DECIMAL
(
4
)
NOT
NULL
,
PRIMARY
KEY
(
GRADE
))
ENGINE
=
INNODB
;
--
enable_warnings
INSERT
INTO
t1
(
GRADE
)
VALUES
(
151
),(
252
),(
343
);
SELECT
GRADE
FROM
t1
WHERE
GRADE
>
160
AND
GRADE
<
300
;
SELECT
GRADE
FROM
t1
WHERE
GRADE
=
151
;
DROP
TABLE
t1
;
mysql-test/t/type_newdecimal.test
View file @
8f9a268a
...
@@ -907,18 +907,6 @@ INSERT INTO t1 VALUES (9999999999999999999999999999999999, 0);
...
@@ -907,18 +907,6 @@ INSERT INTO t1 VALUES (9999999999999999999999999999999999, 0);
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug #10465
#
--
disable_warnings
CREATE
TABLE
t1
(
GRADE
DECIMAL
(
4
)
NOT
NULL
,
PRIMARY
KEY
(
GRADE
))
ENGINE
=
INNODB
;
--
enable_warnings
INSERT
INTO
t1
(
GRADE
)
VALUES
(
151
),(
252
),(
343
);
SELECT
GRADE
FROM
t1
WHERE
GRADE
>
160
AND
GRADE
<
300
;
SELECT
GRADE
FROM
t1
WHERE
GRADE
=
151
;
DROP
TABLE
t1
;
#
#
# Bug #10599: problem with NULL
# Bug #10599: problem with NULL
#
#
...
...
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