summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2005-01-06 17:53:32 +0200
committerunknown <serg@sergbook.mysql.com>2005-01-06 17:53:32 +0200
commit6b584127af84fe362539af068a505fc3f5e28925 (patch)
treed798289c2425b5d8a019f88d25f90acacb2fb289 /sql/mysql_priv.h
parentad77b4cbfd08fe3c2e6b76c5e8133bb3dc0cd6be (diff)
parente750ce2613c83b777dc02d3e885befe134e25a94 (diff)
downloadmariadb-git-6b584127af84fe362539af068a505fc3f5e28925.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 01e2510328d..6f569ea3ef4 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -1269,7 +1269,7 @@ inline void mark_as_null_row(TABLE *table)
{
table->null_row=1;
table->status|=STATUS_NULL_ROW;
- bfill(table->null_flags,table->null_bytes,255);
+ bfill(table->null_flags,table->s->null_bytes,255);
}
inline void table_case_convert(char * name, uint length)
@@ -1319,7 +1319,7 @@ inline void setup_table_map(TABLE *table, TABLE_LIST *table_list, uint tablenr)
table->const_table= 0;
table->null_row= 0;
table->status= STATUS_NO_RECORD;
- table->keys_in_use_for_query= table->keys_in_use;
+ table->keys_in_use_for_query= table->s->keys_in_use;
table->maybe_null= test(table->outer_join= table_list->outer_join);
table->tablenr= tablenr;
table->map= (table_map) 1 << tablenr;