summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-11-06 17:01:12 +0400
committerunknown <bar@bar.mysql.r18.ru>2002-11-06 17:01:12 +0400
commite1991094a009f34c7fd221c14d45ebd19c2ce0f3 (patch)
tree51f69fc95a2c0f5cb568b1512cae6655412ab345 /sql/ha_heap.cc
parent1cf195810dfb534fb636ac77f803cfc7b2e9a1fc (diff)
downloadmariadb-git-e1991094a009f34c7fd221c14d45ebd19c2ce0f3.tar.gz
Some charset code clean-ups
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc2
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;