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
d07a6e33
Commit
d07a6e33
authored
Nov 20, 2018
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check that default() do not see invisible field.
parent
02b70702
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/main/invisible_field_debug.result
mysql-test/main/invisible_field_debug.result
+2
-0
mysql-test/main/invisible_field_debug.test
mysql-test/main/invisible_field_debug.test
+2
-0
No files found.
mysql-test/main/invisible_field_debug.result
View file @
d07a6e33
...
...
@@ -17,6 +17,8 @@ a invisible
1 9
insert into t1(a, invisible) values(99,99);
ERROR 42S22: Unknown column 'invisible' in 'field list'
select default(invisible) from t1;
ERROR 42S22: Unknown column 'invisible' in 'field list'
insert into t1(invisible) values(99);
ERROR 42S22: Unknown column 'invisible' in 'field list'
insert into t_tmp select a, invisible from t1;
...
...
mysql-test/main/invisible_field_debug.test
View file @
d07a6e33
...
...
@@ -13,6 +13,8 @@ select a , invisible from t1;
--
error
ER_BAD_FIELD_ERROR
insert
into
t1
(
a
,
invisible
)
values
(
99
,
99
);
--
error
ER_BAD_FIELD_ERROR
select
default
(
invisible
)
from
t1
;
--
error
ER_BAD_FIELD_ERROR
insert
into
t1
(
invisible
)
values
(
99
);
insert
into
t_tmp
select
a
,
invisible
from
t1
;
--
error
ER_WRONG_VALUE_COUNT_ON_ROW
...
...
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