summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-20 14:05:18 +0300
committermonty@mashka.mysql.fi <>2002-09-20 14:05:18 +0300
commitcb8580a2cd0098c9e0ee5f2a6b30ee3e68978f9e (patch)
treed4c1c24287ff9b73015dccba9705de179966318b /sql/table.h
parent76d7ab0ad2b57e843ea05e1e10ebd6ddb41339d1 (diff)
downloadmariadb-git-cb8580a2cd0098c9e0ee5f2a6b30ee3e68978f9e.tar.gz
Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
This should fix some issues where --lower-case-table-names doesn't work properly under windows.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sql/table.h b/sql/table.h
index 2c9a1b2c16a..ca86269b625 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -138,20 +138,20 @@ struct st_table {
typedef struct st_table_list
{
struct st_table_list *next;
- char *db,*name,*real_name;
- uint32 db_length, real_name_length;
- Item *on_expr; /* Used with outer join */
- struct st_table_list *natural_join; /* natural join on this table*/
+ char *db, *alias, *real_name;
+ Item *on_expr; /* Used with outer join */
+ struct st_table_list *natural_join; /* natural join on this table*/
/* ... join ... USE INDEX ... IGNORE INDEX */
List<String> *use_index,*ignore_index;
TABLE *table;
GRANT_INFO grant;
thr_lock_type lock_type;
- uint outer_join; /* Which join type */
- bool straight; /* optimize with prev table */
- bool updating; /* for replicate-do/ignore table */
- bool shared; /* Used twice in union */
- bool do_redirect; /* To get the struct in UNION's */
+ uint outer_join; /* Which join type */
+ uint32 db_length, real_name_length;
+ bool straight; /* optimize with prev table */
+ bool updating; /* for replicate-do/ignore table */
+ bool shared; /* Used twice in union */
+ bool do_redirect; /* To get the struct in UNION's */
} TABLE_LIST;