File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -7744,7 +7744,8 @@ create_table_def(
77447744
77457745/* MySQL does the name length check. But we do additional check
77467746on the name length here */
7747- if (strlen (table_name) > MAX_FULL_NAME_LEN) {
7747+ const size_t table_name_len = strlen (table_name);
7748+ if (table_name_len > MAX_FULL_NAME_LEN) {
77487749push_warning_printf (
77497750(THD*) trx->mysql_thd , MYSQL_ERROR::WARN_LEVEL_WARN,
77507751ER_TABLE_NAME,
@@ -7753,6 +7754,15 @@ create_table_def(
77537754DBUG_RETURN (ER_TABLE_NAME);
77547755}
77557756
7757+ if (table_name[table_name_len - 1 ] == ' /' ) {
7758+ push_warning_printf (
7759+ (THD*) trx->mysql_thd , MYSQL_ERROR::WARN_LEVEL_WARN,
7760+ ER_TABLE_NAME,
7761+ " InnoDB: Table name is empty" );
7762+
7763+ DBUG_RETURN (ER_WRONG_TABLE_NAME);
7764+ }
7765+
77567766n_cols = form->s ->fields ;
77577767
77587768/* We pass 0 as the space id, and determine at a lower level the space
Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ component, i.e. we show M.N.P as M.N */
6464(INNODB_VERSION_MAJOR << 8 | INNODB_VERSION_MINOR)
6565
6666#ifndef PERCONA_INNODB_VERSION
67- #define PERCONA_INNODB_VERSION 37.6
67+ #define PERCONA_INNODB_VERSION 37.7
6868#endif
6969
70- #define INNODB_VERSION_STR " 5.5.46 -MariaDB-" IB_TO_STR(PERCONA_INNODB_VERSION)
70+ #define INNODB_VERSION_STR " 5.5.47 -MariaDB-" IB_TO_STR(PERCONA_INNODB_VERSION)
7171
7272#define REFMAN " http://dev.mysql.com/doc/refman/" \
7373IB_TO_STR (MYSQL_MAJOR_VERSION) "." \
Original file line number Diff line number Diff line change 11/*****************************************************************************
22
3- Copyright (c) 1997, 2010, Innobase Oy . All Rights Reserved.
3+ Copyright (c) 1997, 2015, Oracle and/or its affiliates . All Rights Reserved.
44
55This program is free software; you can redistribute it and/or modify it under
66the terms of the GNU General Public License as published by the Free Software
@@ -766,6 +766,10 @@ recv_find_max_checkpoint(
766766
767767fprintf (stderr ,
768768"InnoDB: No valid checkpoint found.\n"
769+ "InnoDB: If you are attempting downgrade"
770+ " from MySQL 5.7.9 or later,\n"
771+ "InnoDB: please refer to " REFMAN
772+ "upgrading-downgrading.html\n"
769773"InnoDB: If this error appears when you are"
770774" creating an InnoDB database,\n"
771775"InnoDB: the problem may be that during"
You can’t perform that action at this time.
0 commit comments