mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Backport of:
---------------------------------------------------------- revno: 2630.22.8 committer: Konstantin Osipov <konstantin@mysql.com> branch nick: mysql-6.0-runtime timestamp: Sun 2008-08-10 18:49:52 +0400 message: Get rid of typedef struct for the most commonly used types: TABLE, TABLE_SHARE, LEX. This simplifies use of tags and forward declarations.
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
|
||||
/* The old structures from unireg */
|
||||
|
||||
struct st_table;
|
||||
struct TABLE;
|
||||
class Field;
|
||||
|
||||
typedef struct st_date_time_format {
|
||||
@ -97,7 +97,7 @@ typedef struct st_key {
|
||||
union {
|
||||
int bdb_return_if_eq;
|
||||
} handler;
|
||||
struct st_table *table;
|
||||
TABLE *table;
|
||||
} KEY;
|
||||
|
||||
|
||||
@ -121,9 +121,9 @@ class THD;
|
||||
class handler;
|
||||
|
||||
typedef struct st_read_record { /* Parameter to read_record */
|
||||
struct st_table *table; /* Head-form */
|
||||
TABLE *table; /* Head-form */
|
||||
handler *file;
|
||||
struct st_table **forms; /* head and ref forms */
|
||||
TABLE **forms; /* head and ref forms */
|
||||
int (*read_record)(struct st_read_record *);
|
||||
THD *thd;
|
||||
SQL_SELECT *select;
|
||||
|
Reference in New Issue
Block a user