| Bug #1342 | log-error logs all output (embedded) | ||
|---|---|---|---|
| Submitted: | 18 Sep 2003 14:08 | Modified: | 29 Sep 2003 4:34 |
| Reporter: | Georg Richter | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Embedded Library ( libmysqld ) | Severity: | S3 (Non-critical) |
| Version: | 4.1.1 | OS: | |
| Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[18 Sep 2003 22:07]
Georg Richter
The printf output should go to stdout, not to error-log. error-log should contain startup messages, e.g. from InnoDB, not output to stdout from program which uses the embedded mysql library.
[29 Sep 2003 4:34]
Alexey Botchkov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
changeset 1.1601

Description: If I specify log-error in ~/.my.cnf all output from program will be written to .err How to repeat: File: ~/.my.cnf datadir=. skip-innodb log-error test.c: .... mysql_server_init(0,NULL,NULL); printf("Here we go\n"); ... mysql_server_end(); vivaldi.err contains now: Here we go