diff options
author | heikki@hundin.mysql.fi <> | 2005-02-13 21:00:07 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2005-02-13 21:00:07 +0200 |
commit | 548f7dbada385ca42b78cc6c32639174464a0800 (patch) | |
tree | fbd2295f97fffdcc51e6c42c0398f1577e3dc8d7 /innobase | |
parent | 539cbc580a4055848592eb739407e5ecf8a94625 (diff) | |
download | mariadb-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.c | 2 |
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); |