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
d89b85c2
Commit
d89b85c2
authored
Jan 31, 2011
by
Sandeep Doddaballapur
Browse files
Options
Browse Files
Download
Plain Diff
upmerge for changes in mysql-5.1 - #33971
parents
3c5d22af
104df947
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/csv_not_null.result
mysql-test/r/csv_not_null.result
+3
-0
mysql-test/t/csv_not_null.test
mysql-test/t/csv_not_null.test
+2
-4
No files found.
mysql-test/r/csv_not_null.result
View file @
d89b85c2
...
@@ -19,13 +19,16 @@ INSERT INTO t1 VALUES();
...
@@ -19,13 +19,16 @@ INSERT INTO t1 VALUES();
SELECT * FROM t1;
SELECT * FROM t1;
a b c d e f
a b c d e f
0 foo 0000-00-00
0 foo 0000-00-00
INSERT INTO t1 VALUES(default,default,default,default,default,default);
SELECT * FROM t1;
SELECT * FROM t1;
a b c d e f
a b c d e f
0 foo 0000-00-00
0 foo 0000-00-00
0 foo 0000-00-00
INSERT INTO t1 VALUES(0,'abc','def','ghi','bar','1999-12-31');
INSERT INTO t1 VALUES(0,'abc','def','ghi','bar','1999-12-31');
SELECT * FROM t1;
SELECT * FROM t1;
a b c d e f
a b c d e f
0 foo 0000-00-00
0 foo 0000-00-00
0 foo 0000-00-00
0 abc def ghi bar 1999-12-31
0 abc def ghi bar 1999-12-31
# === insert failures ===
# === insert failures ===
INSERT INTO t1 VALUES(NULL,'ab','a','b','foo','2007-01-01');
INSERT INTO t1 VALUES(NULL,'ab','a','b','foo','2007-01-01');
...
...
mysql-test/t/csv_not_null.test
View file @
d89b85c2
...
@@ -55,10 +55,8 @@ INSERT INTO t1 VALUES();
...
@@ -55,10 +55,8 @@ INSERT INTO t1 VALUES();
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
--
disable_warnings
--
disable_warnings
# NOTE - Test disabled due to enum crash for this INSERT
# Bug#33717 - INSERT...(default) fails for enum.
# See Bug#33717 - INSERT...(default) fails for enum.
INSERT
INTO
t1
VALUES
(
default
,
default
,
default
,
default
,
default
,
default
);
# Crashes CSV tables, loads spaces for MyISAM
#INSERT INTO t1 VALUES(default,default,default,default,default,default);
--
enable_warnings
--
enable_warnings
SELECT
*
FROM
t1
;
SELECT
*
FROM
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