summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-02-13 21:00:07 +0200
committerunknown <heikki@hundin.mysql.fi>2005-02-13 21:00:07 +0200
commit4c21a10f27c6a15690b5640352d23f1c111ac729 (patch)
treefbd2295f97fffdcc51e6c42c0398f1577e3dc8d7 /innobase
parentb7fadca1520d502e316ed81e20616fef5a8f0462 (diff)
downloadmariadb-git-4c21a10f27c6a15690b5640352d23f1c111ac729.tar.gz
row0mysql.c:
Backport the column prefix memory corruption fix from 5.0 innobase/row/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);