mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Merge dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-4.1/mysql-4.1-bug-19651
into dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.0/mysql-5.0-bug-19651 ndb/test/ndbapi/flexScan.cpp: Auto merged ndb/tools/ndb_config.cpp: Auto merged ndb/tools/restore/consumer_restore.cpp: Auto merged ndb/tools/restore/consumer_restore.hpp: Auto merged ndb/tools/restore/restore_main.cpp: Auto merged ndb/include/util/ndb_opts.h: C
This commit is contained in:
@@ -430,6 +430,17 @@ main(int argc, char** argv)
|
||||
}
|
||||
}
|
||||
}
|
||||
for(Uint32 i= 0; i < g_consumers.size(); i++)
|
||||
{
|
||||
if (g_consumers[i]->has_temp_error())
|
||||
{
|
||||
clearConsumers();
|
||||
ndbout_c("\nRestore successful, but encountered temporary error, "
|
||||
"please look at configuration.");
|
||||
return NDBT_ProgramExit(NDBT_TEMPORARY);
|
||||
}
|
||||
}
|
||||
|
||||
clearConsumers();
|
||||
return NDBT_ProgramExit(NDBT_OK);
|
||||
} // main
|
||||
|
Reference in New Issue
Block a user