mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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);
|
||||
int ho_error;
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
|
||||
if ((ho_error=handle_options(&argc, &argv, my_long_options,
|
||||
ndb_std_get_one_option)))
|
||||
return NDBT_ProgramExit(NDBT_WRONGARGS);
|
||||
|
||||
Ndb_cluster_connection con(opt_connect_str);
|
||||
if(con.connect(12, 5, 1))
|
||||
{
|
||||
|
Reference in New Issue
Block a user