Hi,
Just trying to make sure before opening a bug, have someone built mysqli in
5.6.0 alpha2?
Used this configure flag: --with-mysqli=shared,/usr/bin/mysql_config
mysql: 5.5.35
/«BUILDDIR»/php5-5.6.0~alpha2+dfsg/ext/mysqli/mysqli_api.c:683:12: error:
conflicting types for 'mysqli_commit_or_rollback_libmysql'
static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool
commit, const unsigned int mode, const char * const name)
I saw this function was added recently, so everything might still be fresh
for a quick answer.
Kaplan
p.s.
Debian already have built alpha1, and we didn't change build commands for
alpha2.
Hi,
Used this configure flag: --with-mysqli=shared,/usr/bin/mysql_config
mysql: 5.5.35
Why are you using libmysql not mysqlnd?
/«BUILDDIR»/php5-5.6.0~alpha2+dfsg/ext/mysqli/mysqli_api.c:683:12:
error:
conflicting types for 'mysqli_commit_or_rollback_libmysql'
static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool
commit, const unsigned int mode, const char * const name)
I don't see anything obvious from quick glance at the code, can you
share the complete error message? For a conflict there must be multiple
lines involved ;)
johannes
--
ORACLE Deutschland B.V. & Co. KG, Riesstr. 25, D-80992 München
Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
I don't see anything obvious from quick glance at the code, can you
share the complete error message? For a conflict there must be multiple
lines involved ;)
ah, just was about to close the window, I think I found the cause, will
test and fix later. Thanks for noticing it!
(I'm still interested in the mysqlnd vs libmysql question, though)
johannes
--
ORACLE Deutschland B.V. & Co. KG, Riesstr. 25, D-80992 München
Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
On Sat, Feb 15, 2014 at 7:19 PM, Johannes Schlüter <
johannes.schlueter@oracle.com> wrote:
ah, just was about to close the window, I think I found the cause, will
test and fix later. Thanks for noticing it!
I'll be happy to verify the fix when it's ready...
(I'm still interested in the mysqlnd vs libmysql question, though)
Debian provides packages for mysqlnd and libmysqlclient based extensions:
https://packages.debian.org/sid/php5-mysql
https://packages.debian.org/sid/php5-mysqlnd
Kaplan
On Sat, Feb 15, 2014 at 7:19 PM, Johannes Schlüter <
johannes.schlueter@oracle.com> wrote:ah, just was about to close the window, I think I found the cause, will
test and fix later. Thanks for noticing it!I'll be happy to verify the fix when it's ready...
Fixed in
http://git.php.net/?p=php-src.git;a=commitdiff;h=1fd53fd2aeccd4503751f124ef92ed273181832b
(I'm still interested in the mysqlnd vs libmysql question, though)
Debian provides packages for mysqlnd and libmysqlclient based extensions:
https://packages.debian.org/sid/php5-mysql
https://packages.debian.org/sid/php5-mysqlnd
php5-mysqlnd should be named php5-mysql and old php5-mysql should be
php5-mysql-legacy-libmysql or such :-)
johannes
--
ORACLE Deutschland B.V. & Co. KG, Riesstr. 25, D-80992 München
Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
On Sun, Feb 16, 2014 at 12:44 AM, Johannes Schlüter <
johannes.schlueter@oracle.com> wrote:
On Sat, Feb 15, 2014 at 7:19 PM, Johannes Schlüter <
johannes.schlueter@oracle.com> wrote:ah, just was about to close the window, I think I found the cause, will
test and fix later. Thanks for noticing it!I'll be happy to verify the fix when it's ready...
Fixed in
http://git.php.net/?p=php-src.git;a=commitdiff;h=1fd53fd2aeccd4503751f124ef92ed273181832b
Builds fine, thanks.
Kaplan