summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authordlenev@mysql.com <>2004-10-01 18:55:17 +0400
committerdlenev@mysql.com <>2004-10-01 18:55:17 +0400
commit53209cc4fc32684f101b7b6cdabb46e2876ee00a (patch)
tree12cd5073864c613ab90e10cbb1d221b60226d09e /sql/sql_base.cc
parentf095b82a047fc6a6b41c263d8ac99a005c7584c0 (diff)
parent2511990c978137fe0bc81657e160a6d537bc957f (diff)
downloadmariadb-git-53209cc4fc32684f101b7b6cdabb46e2876ee00a.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/dlenev/src/mysql-4.1-ryan
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 7464523aad4..65ac38cdd6e 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -945,7 +945,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
table->keys_in_use_for_query= table->keys_in_use;
table->used_keys= table->keys_for_keyread;
if (table->timestamp_field)
- table->timestamp_field->set_timestamp_offsets();
+ table->timestamp_field_type= table->timestamp_field->get_auto_set_type();
DBUG_ASSERT(table->key_read == 0);
DBUG_RETURN(table);
}