diff options
author | bar@bar.mysql.r18.ru <> | 2002-11-06 17:01:12 +0400 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2002-11-06 17:01:12 +0400 |
commit | 86b633379cdee7707b5dd69a3658e7ba1afa0946 (patch) | |
tree | 51f69fc95a2c0f5cb568b1512cae6655412ab345 /sql/ha_heap.cc | |
parent | 5d45eae0c5d865bee9907d88d20781b93c1277bf (diff) | |
download | mariadb-git-86b633379cdee7707b5dd69a3658e7ba1afa0946.tar.gz |
Some charset code clean-ups
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r-- | sql/ha_heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index 6cfd3c881cc..c06421617dd 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -291,7 +291,7 @@ int ha_heap::create(const char *name, TABLE *table, seg->start= (uint) key_part->offset; seg->length= (uint) key_part->length; seg->flag = 0; - seg->charset= field->binary() ? NULL : ((Field_str*)field)->charset(); + seg->charset= field->charset(); if (field->null_ptr) { seg->null_bit= field->null_bit; |