summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-03-11 17:24:43 +0200
committerunknown <marko@hundin.mysql.fi>2005-03-11 17:24:43 +0200
commita44711db14c617ef50c885992074a2506e62ab45 (patch)
tree416a2b7ab7d5a3fb226c1657699b34c60d742c4a /innobase/row
parentb89931ec33f8862f7566cfec88bb83a85a2e1699 (diff)
downloadmariadb-git-a44711db14c617ef50c885992074a2506e62ab45.tar.gz
row0sel.c:
row_sel_store_mysql_rec(): Remove unused variable "index". innobase/row/row0sel.c: row_sel_store_mysql_rec(): Remove unused variable "index".
Diffstat (limited to 'innobase/row')
-rw-r--r--innobase/row/row0sel.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c
index 8915d795451..54dfbe997ce 100644
--- a/innobase/row/row0sel.c
+++ b/innobase/row/row0sel.c
@@ -2352,16 +2352,10 @@ row_sel_store_mysql_rec(
byte* blob_buf;
int pad_char;
ulint i;
- dict_index_t* index;
ut_ad(prebuilt->mysql_template);
ut_ad(rec_offs_validate(rec, NULL, offsets));
- index = prebuilt->index;
- if (prebuilt->need_to_access_clustered) {
- index = dict_table_get_first_index(index->table);
- }
-
if (prebuilt->blob_heap != NULL) {
mem_heap_free(prebuilt->blob_heap);
prebuilt->blob_heap = NULL;