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
39537435
Commit
39537435
authored
Jul 22, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarify the comment
and use the same error message for CREATE and open table time
parent
6e5048e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/table.cc
sql/table.cc
+3
-3
No files found.
sql/table.cc
View file @
39537435
...
...
@@ -2589,10 +2589,10 @@ static bool fix_and_check_vcol_expr(THD *thd, TABLE *table, Field *field,
/* fix_fields could've changed the expression */
func_expr
=
vcol
->
expr_item
;
/*
Number of columns will be checked later
*/
/*
this was checked in check_expression(), but the frm could be mangled...
*/
if
(
unlikely
(
func_expr
->
result_type
()
==
ROW_RESULT
))
{
my_error
(
ER_ROW_EXPR_FOR_VCOL
,
MYF
(
0
)
);
my_error
(
ER_OPERAND_COLUMNS
,
MYF
(
0
),
1
);
DBUG_RETURN
(
1
);
}
...
...
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