Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55231 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27280 invoked from network); 5 Sep 2011 16:49:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2011 16:49:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.210.43 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.210.43 mail-pz0-f43.google.com Received: from [209.85.210.43] ([209.85.210.43:36276] helo=mail-pz0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/30-25098-68DF46E4 for ; Mon, 05 Sep 2011 12:49:12 -0400 Received: by pzk1 with SMTP id 1so9253224pzk.2 for ; Mon, 05 Sep 2011 09:49:07 -0700 (PDT) Received: by 10.68.28.234 with SMTP id e10mr7463797pbh.213.1315241346660; Mon, 05 Sep 2011 09:49:06 -0700 (PDT) Received: from [192.168.200.5] (c-50-131-46-20.hsd1.ca.comcast.net. [50.131.46.20]) by mx.google.com with ESMTPS id u2sm23197728pbq.9.2011.09.05.09.49.05 (version=SSLv3 cipher=OTHER); Mon, 05 Sep 2011 09:49:05 -0700 (PDT) Message-ID: <4E64FD80.6050800@lerdorf.com> Date: Mon, 05 Sep 2011 09:49:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: Andrey Hristov CC: internals@lists.php.net References: <4E611027.6000103@sugarcrm.com> <4E64E25E.3080102@oracle.com> <4E64E5AC.4040805@hristov.com> In-Reply-To: <4E64E5AC.4040805@hristov.com> X-Enigmail-Version: 1.2.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] mysqli tests breaking From: rasmus@lerdorf.com (Rasmus Lerdorf) On 09/05/2011 08:07 AM, Andrey Hristov wrote: > and here we see a bug. The value in libmysql is not reset, as the > Documentation states. Clear bug. For cases where a test exposes a libmysql bug, especially if it is something that acts differently across different versions of libmysql, the test should remain a FAIL, but it should point to the mysql.com bug # so end users realize that they have a version of libmysql with that specific bug. In cases where there is no agreement whether something is a bug or just undefined behaviour it would be really nice if the library authors could work this out and agree on a common behaviour and failing that PHP should try to mask the internal Oracle/MySQL squabbles and present consistent behaviour to the user. -Rasmus