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
38b80c9d
Commit
38b80c9d
authored
Oct 08, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
parents
28d7a6a0
1262be26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
mysql-test/t/strict.test
mysql-test/t/strict.test
+6
-3
No files found.
mysql-test/t/strict.test
View file @
38b80c9d
...
@@ -405,10 +405,13 @@ INSERT INTO t1 (col1) VALUES('9223372036854775808');
...
@@ -405,10 +405,13 @@ INSERT INTO t1 (col1) VALUES('9223372036854775808');
INSERT
INTO
t1
(
col2
)
VALUES
(
'-1'
);
INSERT
INTO
t1
(
col2
)
VALUES
(
'-1'
);
--
error
1264
--
error
1264
INSERT
INTO
t1
(
col2
)
VALUES
(
'18446744073709551616'
);
INSERT
INTO
t1
(
col2
)
VALUES
(
'18446744073709551616'
);
# Note that the following two double numbers are slighty bigger than max/min
# bigint becasue of rounding errors when converting it to bigint
--
error
1264
--
error
1264
INSERT
INTO
t1
(
col1
)
VALUES
(
-
92233720368547
7
5809.0
);
INSERT
INTO
t1
(
col1
)
VALUES
(
-
92233720368547
8
5809.0
);
--
error
1264
--
error
1264
INSERT
INTO
t1
(
col1
)
VALUES
(
92233720368547
7
5808.0
);
INSERT
INTO
t1
(
col1
)
VALUES
(
92233720368547
8
5808.0
);
--
error
1264
--
error
1264
INSERT
INTO
t1
(
col2
)
VALUES
(
-
1.0
);
INSERT
INTO
t1
(
col2
)
VALUES
(
-
1.0
);
--
error
1264
--
error
1264
...
@@ -432,7 +435,7 @@ INSERT IGNORE INTO t1 (col1) VALUES ('2a');
...
@@ -432,7 +435,7 @@ INSERT IGNORE INTO t1 (col1) VALUES ('2a');
INSERT
IGNORE
INTO
t1
values
(
1
/
0
,
1
/
0
);
INSERT
IGNORE
INTO
t1
values
(
1
/
0
,
1
/
0
);
INSERT
IGNORE
INTO
t1
VALUES
(
-
9223372036854775809
,
-
1
),(
9223372036854775808
,
18446744073709551616
);
INSERT
IGNORE
INTO
t1
VALUES
(
-
9223372036854775809
,
-
1
),(
9223372036854775808
,
18446744073709551616
);
INSERT
IGNORE
INTO
t1
VALUES
(
'-9223372036854775809'
,
'-1'
),(
'9223372036854775808'
,
'18446744073709551616'
);
INSERT
IGNORE
INTO
t1
VALUES
(
'-9223372036854775809'
,
'-1'
),(
'9223372036854775808'
,
'18446744073709551616'
);
INSERT
IGNORE
INTO
t1
VALUES
(
-
92233720368547
75809.0
,
-
1.0
),(
922337203685477
5808.0
,
18446744073709551616.0
);
INSERT
IGNORE
INTO
t1
VALUES
(
-
92233720368547
85809.0
,
-
1.0
),(
922337203685478
5808.0
,
18446744073709551616.0
);
UPDATE
IGNORE
t1
SET
col2
=
1
/
NULL
where
col1
=
0
;
UPDATE
IGNORE
t1
SET
col2
=
1
/
NULL
where
col1
=
0
;
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
DROP
TABLE
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