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
3a716957
Commit
3a716957
authored
Oct 31, 2011
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backported the test case for bug 59843 from the mysql-5.6 code line.
(Failed to reproduce the bug in mariadb-5.3).
parent
7dd42686
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
0 deletions
+68
-0
mysql-test/include/icp_tests.inc
mysql-test/include/icp_tests.inc
+17
-0
mysql-test/r/innodb_icp.result
mysql-test/r/innodb_icp.result
+17
-0
mysql-test/r/maria_icp.result
mysql-test/r/maria_icp.result
+17
-0
mysql-test/r/myisam_icp.result
mysql-test/r/myisam_icp.result
+17
-0
No files found.
mysql-test/include/icp_tests.inc
View file @
3a716957
...
...
@@ -597,6 +597,23 @@ INSERT INTO t1 (i2) VALUES (1);
DROP
TABLE
t1
;
--
echo
#
--
echo
# Bug #11766678 - 59843:
--
echo
# USING UNINITIALISED VALUE IN USES_INDEX_FIELDS_ONLY
--
echo
#
CREATE
TABLE
t1
(
col999
FLOAT
NOT
NULL
,
COL1000
VARBINARY
(
179
)
NOT
NULL
,
col1003
DATE
DEFAULT
NULL
,
KEY
idx4267
(
col1000
,
col1003
)
);
INSERT
INTO
t1
VALUES
(),();
SELECT
col999
FROM
t1
WHERE
col1000
=
"3"
AND
col1003
<=>
sysdate
();
DROP
TABLE
t1
;
--
echo
#
--
echo
# BUG#778434 Wrong result with in_to_exists=on in maria-5.3-mwl89
--
echo
#
...
...
mysql-test/r/innodb_icp.result
View file @
3a716957
...
...
@@ -558,6 +558,23 @@ pk i1 c1 i2
INSERT INTO t1 (i2) VALUES (1);
DROP TABLE t1;
#
# Bug #11766678 - 59843:
# USING UNINITIALISED VALUE IN USES_INDEX_FIELDS_ONLY
#
CREATE TABLE t1 (
col999 FLOAT NOT NULL,
COL1000 VARBINARY(179) NOT NULL,
col1003 DATE DEFAULT NULL,
KEY idx4267 (col1000, col1003)
);
INSERT INTO t1 VALUES (),();
Warnings:
Warning 1364 Field 'col999' doesn't have a default value
Warning 1364 Field 'COL1000' doesn't have a default value
SELECT col999 FROM t1 WHERE col1000 = "3" AND col1003 <=> sysdate();
col999
DROP TABLE t1;
#
# BUG#778434 Wrong result with in_to_exists=on in maria-5.3-mwl89
#
CREATE TABLE t1 ( f11 int) ;
...
...
mysql-test/r/maria_icp.result
View file @
3a716957
...
...
@@ -564,6 +564,23 @@ pk i1 c1 i2
INSERT INTO t1 (i2) VALUES (1);
DROP TABLE t1;
#
# Bug #11766678 - 59843:
# USING UNINITIALISED VALUE IN USES_INDEX_FIELDS_ONLY
#
CREATE TABLE t1 (
col999 FLOAT NOT NULL,
COL1000 VARBINARY(179) NOT NULL,
col1003 DATE DEFAULT NULL,
KEY idx4267 (col1000, col1003)
);
INSERT INTO t1 VALUES (),();
Warnings:
Warning 1364 Field 'col999' doesn't have a default value
Warning 1364 Field 'COL1000' doesn't have a default value
SELECT col999 FROM t1 WHERE col1000 = "3" AND col1003 <=> sysdate();
col999
DROP TABLE t1;
#
# BUG#778434 Wrong result with in_to_exists=on in maria-5.3-mwl89
#
CREATE TABLE t1 ( f11 int) ;
...
...
mysql-test/r/myisam_icp.result
View file @
3a716957
...
...
@@ -562,6 +562,23 @@ pk i1 c1 i2
INSERT INTO t1 (i2) VALUES (1);
DROP TABLE t1;
#
# Bug #11766678 - 59843:
# USING UNINITIALISED VALUE IN USES_INDEX_FIELDS_ONLY
#
CREATE TABLE t1 (
col999 FLOAT NOT NULL,
COL1000 VARBINARY(179) NOT NULL,
col1003 DATE DEFAULT NULL,
KEY idx4267 (col1000, col1003)
);
INSERT INTO t1 VALUES (),();
Warnings:
Warning 1364 Field 'col999' doesn't have a default value
Warning 1364 Field 'COL1000' doesn't have a default value
SELECT col999 FROM t1 WHERE col1000 = "3" AND col1003 <=> sysdate();
col999
DROP TABLE t1;
#
# BUG#778434 Wrong result with in_to_exists=on in maria-5.3-mwl89
#
CREATE TABLE t1 ( f11 int) ;
...
...
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