Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96620 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30808 invoked from network); 26 Oct 2016 18:52:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2016 18:52:27 -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.161.177 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.161.177 mail-yw0-f177.google.com Received: from [209.85.161.177] ([209.85.161.177:35709] helo=mail-yw0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/0D-24108-A6BF0185 for ; Wed, 26 Oct 2016 14:52:26 -0400 Received: by mail-yw0-f177.google.com with SMTP id h14so15820017ywa.2 for ; Wed, 26 Oct 2016 11:52:26 -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=xewnpMGj7RNbQ1Mme2oiM5yG7I/2k05wzsPqpw4DRzY=; b=CCF3/dPthWGELOhvCaBkmmPQofbXCtZXnxZU9Fd6VN3IU+rxb73SavsL5qIw+4SfBD 1Veo4F4rM8uolrkQ86SBpKpCOAWevFveFxygi2hxxxraVCAyLC/mNGuXBnD7dz7BNkVL nFXMKztOu3LclXIyZAK6vw879RUJyIJME0u7ltpjsYQIuTncs2CnxthV+NTQadVx/lZ/ EAmYLbIGvlpCTxx62U4Yd8QA61BeTKcmgGEiisw7Mj1P28g4/Q2+OqFRAZDV9L6JSoKY jlObJBvrFS7LeegV+HMyGWKN7vMQM8byTMQJvDrWV+N0wkHF15YWLYo8pw7y6g9NP5Pa r8uQ== 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=xewnpMGj7RNbQ1Mme2oiM5yG7I/2k05wzsPqpw4DRzY=; b=HhSDmhF2nehJRWOeMMrEMauKF4Atax3Uh2ShmXAgvhtTfHBqLmnisPh9nwuBgxAeld HryroDibtMeTszk1iPsPH52tXm+LtFVSC90StXG2Tg1zcb0pdMn4wpG2sgJ6I1EhjVTJ o5XkXZKlq+oLbXk3yA1+7B/IP9VIkSDwc5C+HvHs7xRH8ycpz9ld35MKE3TNupi/IUSm nPsu47kQHEEGqpA1NBRgokuBMykINyYeMPpQMu9ODP2Wnysmaz2ocnfkGh0ykhiHieY+ 8KCh2fkuQxvYAezOfIqmBAneDcLrFiwXiUbbLmC5jOy4ashK3Nzm5S5/z4eJhiLfZE87 HeRw== X-Gm-Message-State: ABUngvek8v8H8WUAiAD71ERN7JDRfBrt7R5LNSs+lJszHASHVWsSxnBGBGtQzwqwFdJgSXBDJlGNb6VLda/JJw== X-Received: by 10.36.50.66 with SMTP id j63mr3803032ita.34.1477507943698; Wed, 26 Oct 2016 11:52:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.158.164 with HTTP; Wed, 26 Oct 2016 11:52:22 -0700 (PDT) In-Reply-To: <12f56cf0-e3c1-9df3-c834-18246286524a@lsces.co.uk> References: <12f56cf0-e3c1-9df3-c834-18246286524a@lsces.co.uk> Date: Wed, 26 Oct 2016 14:52:22 -0400 Message-ID: To: Lester Caine Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC] Debugging PDO Prepared Statement Emulation From: adam.baratz@gmail.com (Adam Baratz) > 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.