Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96621 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32737 invoked from network); 26 Oct 2016 19:05:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2016 19:05:55 -0000 Authentication-Results: pb1.pair.com header.from=adam.baratz@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yb0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:36168] helo=mail-yb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/6D-24108-29EF0185 for ; Wed, 26 Oct 2016 15:05:54 -0400 Received: by mail-yb0-f170.google.com with SMTP id f133so5894023ybc.3 for ; Wed, 26 Oct 2016 12:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0oNhnJz5hW5TBzQ7ML5SQjpiVP82VqruGtyovHVaATA=; b=jyMrbeGmrNHVaGtGiYZAmzLzzy3O5IkeTUFuWT00zHMg3BKhVC0InFFzW7ubKN0cL3 L7Y5JMcU1Zi6641yNBgztP7DZ991UC281Y8VhXEW4xpcyWgbR3OUvKeEkWkIyaxFNINZ xvZq3HXkJXC0vo0McViK0GNt43XvFEo7/8dHQFsa1bOn0l6LvwSAC1P2QYSRLBuaQA1E B5MPTHfNxFKNZJSjUM+XWgjDWZJ9clIIjMKuETpc9XamFrpwV1ssauPMn+fN2Umw5hqp DWLsRZEOXWVi17JI1mTNFGsS1gRwAP8yRSrmKwAOtTEC0n5kE9Xc90Rf+Hk1m6hxW2Ve cfZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0oNhnJz5hW5TBzQ7ML5SQjpiVP82VqruGtyovHVaATA=; b=VBJrmMFO1sB4i8TAkfxYXXoI92bRFKjkLoVx0QGDOthddtS+Gh3nKgRaWdaedUTx1C 143xO0sIaE0effixFfadlAwdUKyyP3999nzaW3Qfa5TacVGSlDGAMyr1uh5yx6haveJZ +XDJ2CmSLACh0kDg0OHkitZsotTpDV8E/8jdC+rdQawDSDawuiSSogWaJmmByHOo757s zcRaFRIvePjXBaNug/T4oAWrB90u4/Czj/Se4sofoQ9CA3g3BcgQWydhZm3QLlGNt5s1 AWD7V/w0Z5NNOLrRM2kD2uYT9vRgMNPKyaO3/aFAZuGRdQk9VQsvpFz3AfqE5fkpVaT9 COoQ== X-Gm-Message-State: ABUngvfQvh0LIGFru5DmR/xoL+XydCKma+Xm2BdEHGt9drvOldeqfXndciGSmiolDcJ1MREtwNhhheg2299pvw== X-Received: by 10.36.56.136 with SMTP id b130mr3827263ita.117.1477508750767; Wed, 26 Oct 2016 12:05:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.158.164 with HTTP; Wed, 26 Oct 2016 12:05:50 -0700 (PDT) In-Reply-To: References: <12f56cf0-e3c1-9df3-c834-18246286524a@lsces.co.uk> Date: Wed, 26 Oct 2016 15:05:50 -0400 Message-ID: To: Lester Caine Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1147bcea3e02ce053fc950ff Subject: Re: [PHP-DEV] Re: [RFC] Debugging PDO Prepared Statement Emulation From: adam.baratz@gmail.com (Adam Baratz) --001a1147bcea3e02ce053fc950ff Content-Type: text/plain; charset=UTF-8 > > > My point is that you are adding 'testing tools' which are only any use > > to test themselves and not the actual interface? It's creating > > additional code that has nothing to do with testing that PDO is working > > cleanly properly across all databases, especially if it does not expect > > a working connection to carry out the testing. > > The SQL parser is shared between drivers, so in a sense it's part of > the interface. It's already possible to test the interface by > observing the effects of queries. This would allow testing of what > happens immediately prior. The parser alone is over 700 LoC. > I incorporated some feedback from this thread and reduced the RFC to a single proposal: https://wiki.php.net/rfc/debugging_pdo_prepared_statement_emulation --001a1147bcea3e02ce053fc950ff--