summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-08-31 18:04:44 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-08-31 18:04:44 +0300
commitbe45f083e6e7d8da6dbf2349d9c59673d7e61139 (patch)
tree88b401b65e2cf1e36e0d8c7411493d887bbb324c
parent38ca9be4de38a4a6688985f3f73d75a2a75665f4 (diff)
parent6be93c3b8a1d8c080d73750e3804752ad80f56d1 (diff)
downloadmariadb-git-be45f083e6e7d8da6dbf2349d9c59673d7e61139.tar.gz
Merge 10.0 into 10.1
-rw-r--r--mysys/my_winerr.c4
-rw-r--r--sql/sql_class.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/mysys/my_winerr.c b/mysys/my_winerr.c
index 92e1fa83d78..a3f6229b74e 100644
--- a/mysys/my_winerr.c
+++ b/mysys/my_winerr.c
@@ -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 */
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index ce1f69b76a9..c12f1ec4dc8 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -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)