ID:               49122
 Updated by:       [email protected]
 Reported By:      gabrycucciolo84pv at fastwebnet dot it
-Status:           Assigned
+Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Centos 4
 PHP Version:      5.3, 6 (2009-08-04)
 Assigned To:      andrey
 New Comment:

The code is under
#if defined(HAVE_STMT_NEXT_RESULT) && defined(MYSQLI_USE_MYSQLND) 


which means tha mysqli_stmt_more_results and mysqli_stmt_next_result
are not available in libmysql builds. Strangely one of the functions
call mysqlnd_xxxx but the other mysql_ ->jani's change. mysqlnd defines
macros, so one doesn't need to use mysqlnd_xxx but mysql_xxx. This
should be some misconfiguration. Can you try with --with-mysqli=mysqlnd
instead of --with-mysqli ?

Andrey


Previous Comments:
------------------------------------------------------------------------

[2009-08-05 15:11:50] [email protected]

Jani, only libmysql6 has mysql_stmt_more_results . mysqlnd has it
always. I suppose the people compile with libmysql which is not 6 and
get this unresolved symbols.

Andrey

------------------------------------------------------------------------

[2009-08-04 14:51:48] gabrycucciolo84pv at fastwebnet dot it

forgot to mention the same problem happens with php6-dev actual build
and following ones.

------------------------------------------------------------------------

[2009-08-04 14:49:33] [email protected]

Automatic comment from SVN on behalf of jani
Revision: http://svn.php.net/viewvc/?view=revision&revision=286807
Log: - Revert bad fix for bug #49122 and only enable this when mysqlnd
is used

------------------------------------------------------------------------

[2009-08-04 14:47:06] [email protected]

Apparently this is some mysqlnd-only thing. Assigning to Andrey who
added it but didn't test it.

------------------------------------------------------------------------

[2009-08-04 12:53:44] gabrycucciolo84pv at fastwebnet dot it

I am now getting 

4.6/../../../libcurl.so, may conflict with libcrypto.so.0.9.8
ext/mysqli/.libs/mysqli_api.o(.text+0x304a): In function
`zif_mysqli_stmt_more_results':
/root/php5.3-200908040430/ext/mysqli/mysqli_api.c:1500: undefined
reference to `mysql_stmt_more_results'
ext/mysqli/.libs/mysqli_api.o(.text+0x30da): In function
`zif_mysqli_stmt_next_result':
/root/php5.3-200908040430/ext/mysqli/mysqli_api.c:1516: undefined
reference to `mysql_stmt_more_results'

making dev build 200908040430 with the same configure as above

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49122

-- 
Edit this bug report at http://bugs.php.net/?id=49122&edit=1

Reply via email to