From 2e426cf80bef3dc10951c8e5b543da692d7a69ee Mon Sep 17 00:00:00 2001
From: unknown <jonas@perch.ndb.mysql.com>
Date: Fri, 31 Aug 2007 16:09:48 +0200
Subject: [PATCH] merge

---
 storage/ndb/test/ndbapi/testIndex.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/storage/ndb/test/ndbapi/testIndex.cpp b/storage/ndb/test/ndbapi/testIndex.cpp
index ec975d5e92f..626e43ab5e2 100644
--- a/storage/ndb/test/ndbapi/testIndex.cpp
+++ b/storage/ndb/test/ndbapi/testIndex.cpp
@@ -1303,7 +1303,8 @@ int tcSaveINDX_test(NDBT_Context* ctx, NDBT_Step* step, int inject_err)
   int result= NDBT_OK;
   Ndb* pNdb = GETNDB(step);
   NdbDictionary::Dictionary * dict = pNdb->getDictionary();
-  const NdbDictionary::Index * idx = dict->getIndex(pkIdxName, *ctx->getTab());
+  const NdbDictionary::Index * idx = dict->getIndex(pkIdxName, 
+                                                    ctx->getTab()->getName());
 
   HugoOperations ops(*ctx->getTab(), idx);
 
-- 
2.30.9