Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106156 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17678 invoked from network); 5 Jul 2019 14:42:14 -0000 Received: from unknown (HELO mail-lj1-f174.google.com) (209.85.208.174) by pb1.pair.com with SMTP; 5 Jul 2019 14:42:14 -0000 Received: by mail-lj1-f174.google.com with SMTP id x25so2281390ljh.2 for ; Fri, 05 Jul 2019 05:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EOi/k+MD/QD/rE2VAkV84TCANE0D5L5cBXjBha3GYGc=; b=MTt+Lxpx8YmLn8kniEYkOl6R3u+m8V17lmSBTb157SVGnvmJ9XDtPagumwGqcK3rqL NO/wM3M/2VNn9RXf8PsaQ7ZGYhOAlDSqyPecHaCU3+vmfGKMq5NlbIHVfrUL7iaF297r FxU/7o9/KJTFAKgeCtYia92+fy5szT57O3/21k4mFa9ZZoS/INpzpx4pyA0rAvpc72lr KikFLaot/y4pBKjA0Ot/LlbbjEV7iYb3VnenZGCQQxlqDIBWLG4/i6HknPbcW+7tnf02 qt6iSuR4dDasDJZdleedQn+IMbpvmVSkJY/RLdZe2/3D6jNU5TGBosVus4Gi9fp+BRKd WtcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EOi/k+MD/QD/rE2VAkV84TCANE0D5L5cBXjBha3GYGc=; b=TA8pzYHqAskfGGe3wwzOTasXIgoHAD3gLaEYS3xN1/mffRdI7a1K8lNcyT5uYpv716 /g51ga3H4IOMNAjj7JjjXbEmQVHNVolFLoTDkfhhC2fcIoILwQiL1rOhGWKaeewTXxXS 8POPiEkei5oW9IjSwafom9KZUsX36ahJphpJ47DvZKFHd5XRJfYzSC80w+gm1oPa6rsP CiwXPCLX/SYf3dtIpsrbD/zmgPAu20E5GFWJsD1YEzaAI/HtX+zrU4wXh8rLT72UNtQl Jc4UJ1BeHDJU8neWwlF4LlCbIy+zIFfUT3HmZpaUoyzGYO/3tan5a/tCujBkeuU60Y7T wPHg== X-Gm-Message-State: APjAAAVw08f+rpewWOEV4s983q+NGTAM5eyCRJt8l2yj1N7bjOOUhVjH CUmgeYwskfVaRYV2JnA3ss2w/7Laq7Vdt58B3yM= X-Google-Smtp-Source: APXvYqyE8CfdTI/qT7QaL9Ab7Df8QH8MZCOgQ8QLWL4oN+iehIABoA68F5NtIbLP0pTXXrqK1fxkQa/J8jTCiwXSxxc= X-Received: by 2002:a2e:8583:: with SMTP id b3mr1947248lji.171.1562328052118; Fri, 05 Jul 2019 05:00:52 -0700 (PDT) MIME-Version: 1.0 References: <48bc49fc-68b8-3f5e-d37a-1bc990048753@fedoraproject.org> <42b3389e8aca04aba85e7bc9951208d14f2846f5.camel@schlueters.de> In-Reply-To: <42b3389e8aca04aba85e7bc9951208d14f2846f5.camel@schlueters.de> Date: Fri, 5 Jul 2019 14:00:35 +0200 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Remi Collet , PHP internals , Andrey Hristov Content-Type: multipart/alternative; boundary="00000000000091b7ff058cedd82c" Subject: Re: [PHP-DEV] State of libmysql? From: nikita.ppv@gmail.com (Nikita Popov) --00000000000091b7ff058cedd82c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jun 28, 2019 at 5:00 PM Johannes Schl=C3=BCter wrote: > On Fri, 2019-06-28 at 15:04 +0200, Remi Collet wrote: > > Le 28/06/2019 =C3=A0 14:59, Nikita Popov a =C3=A9crit : > > > Hi internals, > > > > > > Building PHP 7.4 against libmysql rather than mysqlnd has been > > > broken for > > > quite a while and only recently noticed in > > > https://github.com/php/php-src/pull/4316. Clearly none of us are > > > using > > > libmysql and none of our CI jobs test it. Now that it compiles > > > again, there > > > are many build warnings, as well as about 10 failing PDO MySQL > > > tests and 20 > > > failing MySQLi tests. > > > > > > This is not good. I think that we either need an interested party > > > to > > > support these bindings, or else drop support for building against > > > libmysql. > > I think andrey did some experiments reccently. I haven't looked into it > in a while. There are sometimes benefits where some operations can be > used via libmysql, but not mysqlnd, while mysqlnd has benefits. > Dropping libmysql-support would make the code easier, but also limit > abilities. (especially in case where mariadb and mysql protocol > diverge) > I think that having libmysql support is in principle valuable, but it needs to be maintained. I'd prefer to have no libmysql support over having broken support. Is there anyone who is interested in fixing the current test failures? I think it will be manageable to maintain this code once we have a clean CI build set up, but someone with MySQL familiarity needs to bring the tests in shape first. Nikita > +1 to drop support for libmysqlclient. > > > > BTW license is NOT compatible with PHP. > > I am no lawyer, but imo that is incorrect. > > a) libmysql is licensed under GPL+universal FOSS exception, which > allows combination with OSI-approved licenses, to which PHP License > belongs https://oss.oracle.com/licenses/universal-foss-exception/ > b) there is a commercial version of libmysql, which doesn't have GPL's > virality > > johannes > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --00000000000091b7ff058cedd82c--