Bug #14086: If you use the result set of a insert query, you get a warning message.

From: Date: Fri, 16 Nov 2001 16:25:43 +0000
Subject: Bug #14086: If you use the result set of a insert query, you get a warning message.
Groups: php.dev 
Request: Send a blank email to php-dev+get-70669@lists.php.net to get a copy of this message
From: oliver@samera.com.py Operating system: Linux 2.4 PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: If you use the result set of a insert query, you get a warning message. If you use the result set of a insert query, you get a warning message. // connect // do an insert $result = mysql_query("insert into table1(col1) values(1)"); // free a result mysql_free_result($result); // a warning is generated Warning: Supplied argument is not a valid MySQL result resource in your_source.php on line line_number php-mysql-4.0.4pl1-9 mysql-3.23.36-1 RedHat 7.1 './configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-shared' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' '--without-mysql' '--without-oracle' '--without-oci8' '--with-xml' -- Edit bug report at: http://bugs.php.net/?id=14086&edit=1

« previous php.dev (#70669) next »