-
Raghav Kapoor authored
"IDENTIFIER TOO LONG" IF TABLE NAME > 64 BACKGROUND: When table/database name is more then 64 character, "Incorrect table name" error is thrown. But expected error is "Identifier too long". FIX: This bug has been fixed by reporting ER_TOO_LONG_IDENT error when table/database/function/procedure name etc is greater than 64 characters. Also please note the behaviour changes in check_table_name() and check_and_convert_db_name() functions in table.cc file. Their return type has been changed accordingly to report the appropriate error and now they return enum instead of bool. Other files have also been appropriately modified at relevant places to report the appropriate error in each case. Also a testcase has been written in create.test and corresponding result files have been updated.
Raghav Kapoor authored"IDENTIFIER TOO LONG" IF TABLE NAME > 64 BACKGROUND: When table/database name is more then 64 character, "Incorrect table name" error is thrown. But expected error is "Identifier too long". FIX: This bug has been fixed by reporting ER_TOO_LONG_IDENT error when table/database/function/procedure name etc is greater than 64 characters. Also please note the behaviour changes in check_table_name() and check_and_convert_db_name() functions in table.cc file. Their return type has been changed accordingly to report the appropriate error and now they return enum instead of bool. Other files have also been appropriately modified at relevant places to report the appropriate error in each case. Also a testcase has been written in create.test and corresponding result files have been updated.
Loading