mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
ndb - fix correct argv/argc handling in testBitfield
ndb/test/ndbapi/testBitfield.cpp: fix correct argv/argc handling in testBitfield
This commit is contained in:
@@ -36,9 +36,10 @@ main(int argc, char** argv){
|
|||||||
load_defaults("my",load_default_groups,&argc,&argv);
|
load_defaults("my",load_default_groups,&argc,&argv);
|
||||||
int ho_error;
|
int ho_error;
|
||||||
|
|
||||||
argc--;
|
if ((ho_error=handle_options(&argc, &argv, my_long_options,
|
||||||
argv++;
|
ndb_std_get_one_option)))
|
||||||
|
return NDBT_ProgramExit(NDBT_WRONGARGS);
|
||||||
|
|
||||||
Ndb_cluster_connection con(opt_connect_str);
|
Ndb_cluster_connection con(opt_connect_str);
|
||||||
if(con.connect(12, 5, 1))
|
if(con.connect(12, 5, 1))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user