Bug #7137 MySQL compiled without debug support, mysqlimport shows vise versa
Submitted: 9 Dec 2004 16:46 Modified: 10 Dec 2004 23:48
Reporter: Gleb Paharenko Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.7 OS:FreeBSD (FreeBSD)
Assigned to: CPU Architecture:Any

[9 Dec 2004 16:46] Gleb Paharenko
Description:
One of the many(i think) bugs in this chain (http://bugs.mysql.com/bug.php?id=6309)
MySQL compiled without debug support, but mysqlimport --help
shows --debug flag. Also many others client programs show such behavior.

How to repeat:
> /usr/local/mysqli386/mysql-3.23.58-unknown-freebsd4.7-i386/bin/mysqld --verbose --help |grep debug
/usr/local/mysqli386/mysql-3.23.58-unknown-freebsd4.7-i386/bin/mysqld: unrecognized option `--verbose'
  -T, --exit-info       Used for debugging;  Use at your own risk!

There is no --debug flag! But:

> /usr/local/mysqli386/mysql-3.23.58-unknown-freebsd4.7-i386/bin/mysqlimport --help |grep debug
  -#, --debug[=...]     Output debug log. Often this is 'd:t:o,filename`
>

 

Suggested fix:
See:
  http://bugs.mysql.com/bug.php?id=6309
[10 Dec 2004 23:48] Hartmut Holzgraefe
see bug #6309