5241 if (strcmp(mysql_data_home, "./") == 0) {
5242 if (!xtrabackup_print_param)
5243 usage();
5244 printf("\nxtrabackup: Error: Please set parameter 'datadir'\n");
5245 exit(-1);
5246 }
And on another note is it even possible to reach the above code? I
think that because there is a compiled-in default value for --datadir,
even if I don't specify it and I don't have a my.cnf file on my machine,
xtrabackup will still print a params file without an error.