|
1 | 1 | #ifndef TABLE_INCLUDED
|
2 | 2 | #define TABLE_INCLUDED
|
3 | 3 |
|
4 |
| -/* Copyright (c) 2000, 2023, Oracle and/or its affiliates. |
| 4 | +/* Copyright (c) 2000, 2025, Oracle and/or its affiliates. |
5 | 5 |
|
6 | 6 | This program is free software; you can redistribute it and/or modify
|
7 | 7 | it under the terms of the GNU General Public License, version 2.0,
|
@@ -58,6 +58,7 @@ struct LEX;
|
58 | 58 | typedef int8 plan_idx;
|
59 | 59 | class Opt_hints_qb;
|
60 | 60 | class Opt_hints_table;
|
| 61 | +class Name_string; |
61 | 62 |
|
62 | 63 | #define store_record(A,B) memcpy((A)->B,(A)->record[0],(size_t) (A)->s->reclength)
|
63 | 64 | #define restore_record(A,B) memcpy((A)->record[0],(A)->B,(size_t) (A)->s->reclength)
|
@@ -2982,7 +2983,7 @@ void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg);
|
2982 | 2983 | void update_create_info_from_table(HA_CREATE_INFO *info, TABLE *form);
|
2983 | 2984 | enum_ident_name_check check_and_convert_db_name(LEX_STRING *db,
|
2984 | 2985 | bool preserve_lettercase);
|
2985 |
| -bool check_column_name(const char *name); |
| 2986 | +bool check_column_name(const Name_string &name); |
2986 | 2987 | enum_ident_name_check check_table_name(const char *name, size_t length,
|
2987 | 2988 | bool check_for_path_chars);
|
2988 | 2989 | int rename_file_ext(const char * from,const char * to,const char * ext);
|
|
0 commit comments