diff options
author | Igor Babaev <igor@askmonty.org> | 2009-10-16 15:57:48 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2009-10-16 15:57:48 -0700 |
commit | f7a75b999b4b0e51c647fa19df35db517e0b6721 (patch) | |
tree | 0852514919a2ab6af19814df4842b52a7ecd3b57 /sql/ha_partition.cc | |
parent | 8ea19fa73e86a3c27917a92affd6a9e43763c7ce (diff) | |
download | mariadb-git-f7a75b999b4b0e51c647fa19df35db517e0b6721.tar.gz |
The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns.
The original patch has been ameliorated by Sanja and Igor.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 10e011ec06f..9b9fe645f15 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -2436,7 +2436,7 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked) DBUG_RETURN(1); m_start_key.length= 0; m_rec0= table->record[0]; - m_rec_length= table_share->reclength; + m_rec_length= table_share->stored_rec_length; alloc_len= m_tot_parts * (m_rec_length + PARTITION_BYTES_IN_POS); alloc_len+= table_share->max_key_length; if (!m_ordered_rec_buffer) |