diff options
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/table.cc b/sql/table.cc index e335abe4e8d..1124ef788f1 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1856,16 +1856,14 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write, } /* - if ((uchar)field_type == (uchar)MYSQL_TYPE_VIRTUAL) if ((uchar)field_type == (uchar)MYSQL_TYPE_VIRTUAL) Special handling to be able to read MySQL JSON types when - converting a MySQL table to MariaDB table. + converting a MySQL table (MyISAM) to MariaDB table. */ if (share->mysql_version >= 50700 && share->mysql_version < 100000 && strpos[13] == (uchar) MYSQL_TYPE_VIRTUAL) { field_type= (enum_field_types) MYSQL_TYPE_MYSQL_JSON; - // strpos[13]= (uchar) MYSQL_TYPE_MYSQL_JSON; // read only } else if ((uchar)field_type == (uchar)MYSQL_TYPE_VIRTUAL) { |