Commit 7ee5cfd0 authored by unknown's avatar unknown

bug#24568, NdbScanFilter NAND/NOR operations sometimes do not work as expected

when merge from 5.0 to 5.1, update a function call in testScanFilter.cpp 
beacuase the function's definition is changed from 5.0 to 5.1


storage/ndb/test/ndbapi/testScanFilter.cpp:
  bug#24568
  it need change f() call because NDBT_CreateTableHook definition is changed from 5.0 to 5.1
parent 38f9206a
...@@ -97,7 +97,7 @@ int createTable(Ndb* pNdb, const NdbDictionary::Table* tab, bool _temp, ...@@ -97,7 +97,7 @@ int createTable(Ndb* pNdb, const NdbDictionary::Table* tab, bool _temp,
do{ do{
NdbDictionary::Table tmpTab(* tab); NdbDictionary::Table tmpTab(* tab);
tmpTab.setStoredTable(_temp ? 0 : 1); tmpTab.setStoredTable(_temp ? 0 : 1);
if(f != 0 && f(pNdb, tmpTab, 0)) if(f != 0 && f(pNdb, tmpTab, 0, NULL))
{ {
ndbout << "Failed to create table" << endl; ndbout << "Failed to create table" << endl;
return NDBT_FAILED; return NDBT_FAILED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment