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
be45f083
Commit
be45f083
authored
Aug 31, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.0 into 10.1
parents
38ca9be4
6be93c3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysys/my_winerr.c
mysys/my_winerr.c
+3
-1
sql/sql_class.cc
sql/sql_class.cc
+1
-1
No files found.
mysys/my_winerr.c
View file @
be45f083
...
...
@@ -75,7 +75,9 @@ static struct errentry errtable[]= {
{
ERROR_ALREADY_EXISTS
,
EEXIST
},
/* 183 */
{
ERROR_FILENAME_EXCED_RANGE
,
ENOENT
},
/* 206 */
{
ERROR_NESTING_NOT_ALLOWED
,
EAGAIN
},
/* 215 */
{
ERROR_NOT_ENOUGH_QUOTA
,
ENOMEM
}
/* 1816 */
{
ERROR_FILE_SYSTEM_LIMITATION
,
EFBIG
},
/* 665 */
{
ERROR_NO_SYSTEM_RESOURCES
,
ENOMEM
},
/* 1450 */
{
ERROR_NOT_ENOUGH_QUOTA
,
ENOMEM
}
/* 1816 */
};
/* size of the table */
...
...
sql/sql_class.cc
View file @
be45f083
...
...
@@ -236,7 +236,7 @@ bool Foreign_key::validate(List<Create_field> &table_fields)
sql_field
->
field_name
))
{}
if
(
!
sql_field
)
{
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
column
->
field_name
);
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
column
->
field_name
.
str
);
DBUG_RETURN
(
TRUE
);
}
if
(
type
==
Key
::
FOREIGN_KEY
&&
sql_field
->
vcol_info
)
...
...
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