summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2005-02-13 21:00:07 +0200
committerheikki@hundin.mysql.fi <>2005-02-13 21:00:07 +0200
commit548f7dbada385ca42b78cc6c32639174464a0800 (patch)
treefbd2295f97fffdcc51e6c42c0398f1577e3dc8d7 /innobase
parent539cbc580a4055848592eb739407e5ecf8a94625 (diff)
downloadmariadb-git-548f7dbada385ca42b78cc6c32639174464a0800.tar.gz
row0mysql.c:
Backport the column prefix memory corruption fix from 5.0
Diffstat (limited to 'innobase')
-rw-r--r--innobase/row/row0mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index 1ab7bb1deb0..a915200161f 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -399,7 +399,7 @@ row_create_prebuilt(
prebuilt->sel_graph = NULL;
prebuilt->search_tuple = dtuple_create(heap,
- dict_table_get_n_cols(table));
+ 2 * dict_table_get_n_cols(table));
clust_index = dict_table_get_first_index(table);