|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28087 mysql.trace_mode in php.ini is not usable
Submitted: 2004-04-21 10:50 UTC Modified: 2004-04-23 19:04 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: xuefer at 21cn dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.3.6 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
14 + 22 = ?
Subscribe to this entry?

 [2004-04-21 10:50 UTC] xuefer at 21cn dot com
php_mysql.c in php4cvs
line 428
-	MySG(trace_mode) = 0;
+	mysql_globals->trace_mode = 0;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-23 13:57 UTC] phpdev at martinsojka dot de
... doesn't even compile (at least, without ZTS).

What's your point?
 [2004-04-23 14:25 UTC] xuefer at 21cn dot com
oops, sorry. simply ignore my "fix".
MySG(trace_mode) just shouldn't be set to 0
should be the value in ini

btw: ini_set works on mysql.trace_mode
 [2004-04-23 19:04 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 15:05:53 2022 UTC