Skip to content

Commit 6e0f3b6

Browse files
author
Dmitry Lenev
committed
Merge branch 'mysql-8.0' into mysql-trunk
2 parents 5275ffe + 7bd11d9 commit 6e0f3b6

File tree

11 files changed

+132
-873
lines changed

11 files changed

+132
-873
lines changed

share/errmsg-utf8.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16399,7 +16399,7 @@ ER_IB_MSG_570
1639916399
ER_IB_MSG_571
1640016400
eng "%s"
1640116401

16402-
ER_IB_MSG_572
16402+
OBSOLETE_ER_IB_MSG_572
1640316403
eng "%s"
1640416404

1640516405
ER_IB_MSG_573

sql/handler.h

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ struct System_status_var;
8888
namespace dd {
8989
class Properties;
9090
} // namespace dd
91-
struct FOREIGN_KEY_INFO;
9291
struct KEY_CACHE;
9392
struct LEX;
9493
struct MY_BITMAP;
@@ -3920,16 +3919,6 @@ class Ft_hints {
39203919
Methods:
39213920
init_table_handle_for_HANDLER()
39223921
3923-
-------------------------------------------------------------------------
3924-
MODULE foreign key support
3925-
-------------------------------------------------------------------------
3926-
The following methods are used to implement foreign keys as supported by
3927-
InnoDB and NDB.
3928-
3929-
Methods:
3930-
get_parent_foreign_key_list()
3931-
get_foreign_key_list()
3932-
39333922
-------------------------------------------------------------------------
39343923
MODULE fulltext index
39353924
-------------------------------------------------------------------------
@@ -5256,57 +5245,6 @@ class handler {
52565245

52575246
virtual int indexes_are_disabled(void) { return 0; }
52585247
virtual void append_create_info(String *packet MY_ATTRIBUTE((unused))) {}
5259-
/**
5260-
Get the list of foreign keys in this table.
5261-
5262-
@remark Returns the set of foreign keys where this table is the
5263-
dependent or child table.
5264-
5265-
@param thd The thread handle.
5266-
@param [out] f_key_list The list of foreign keys.
5267-
5268-
@return The handler error code or zero for success.
5269-
*/
5270-
virtual int get_foreign_key_list(THD *thd MY_ATTRIBUTE((unused)),
5271-
List<FOREIGN_KEY_INFO> *f_key_list
5272-
MY_ATTRIBUTE((unused))) {
5273-
return 0;
5274-
}
5275-
/**
5276-
Get the list of foreign keys referencing this table.
5277-
5278-
@remark Returns the set of foreign keys where this table is the
5279-
referenced or parent table.
5280-
5281-
@param thd The thread handle.
5282-
@param [out] f_key_list The list of foreign keys.
5283-
5284-
@return The handler error code or zero for success.
5285-
*/
5286-
virtual int get_parent_foreign_key_list(THD *thd MY_ATTRIBUTE((unused)),
5287-
List<FOREIGN_KEY_INFO> *f_key_list
5288-
MY_ATTRIBUTE((unused))) {
5289-
return 0;
5290-
}
5291-
/**
5292-
Get the list of tables which are direct or indirect parents in foreign
5293-
key with cascading actions for this table.
5294-
5295-
@remarks Returns the set of parent tables connected by FK clause that
5296-
can modify the given table.
5297-
5298-
@param thd The thread handle.
5299-
@param[out] fk_table_list List of parent tables (including indirect
5300-
parents). Elements of the list as well as buffers for database and schema
5301-
names are allocated from the current memory root.
5302-
5303-
@return The handler error code or zero for success
5304-
*/
5305-
virtual int get_cascade_foreign_key_table_list(
5306-
THD *thd MY_ATTRIBUTE((unused)),
5307-
List<st_handler_tablename> *fk_table_list MY_ATTRIBUTE((unused))) {
5308-
return 0;
5309-
}
53105248
virtual void init_table_handle_for_HANDLER() {
53115249
return;
53125250
} /* prepare InnoDB for HANDLER */

0 commit comments

Comments
 (0)