|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-22 19:20 UTC] mrobinso at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 07:00:02 2025 UTC |
After upgrading PHP from 4.0b2 to 4.02b3, the following MySQL query (which has not changed) no longer works: select x.name, x.place, y.color, y.shade from locations as x, prefs as y The error returned is: Warning: x not found in MySQL result index 7 in mysql.php3 on line 26 Warning: y not found in MySQL result index 7 in mysql.php3 on line 26 Line 26 of mysql.php3 is: $result = mysql_result($qhandle,$row,$field); This has not changed either -- it worked yesterday :-) The problem is reproducible, and is affecting all my php scripts which contain queries structured in the same fashion. Config/Build options have only changed in one respect from 4.0b2 to 4.0b3; I had to compile with --disable-inline to work around a virtual memory exhaustion problem. Here's the config line I used to build PHP: --with-mysql=/usr/local/mysql \ --with-apache=../apache_1.3.9 \ --enable-track-vars \ --disable-inline \ --with-config-file-path=/var/www/conf