Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73408 invoked from network); 21 Aug 2017 02:16:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2017 02:16:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@bohwaz.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@bohwaz.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bohwaz.net designates 5.135.163.151 as permitted sender) X-PHP-List-Original-Sender: php@bohwaz.net X-Host-Fingerprint: 5.135.163.151 sanguine.kd2.org Received: from [5.135.163.151] ([5.135.163.151:42041] helo=mail.kd2.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/3F-34801-0624A995 for ; Sun, 20 Aug 2017 22:16:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bohwaz.net; s=mail; h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To; bh=dR5uVUahQqB6lmZI3LZtqFX2JyRxjPhT9BVZwKZtNZg=; b=EnD1FMtiIcpYbsGoezH3Xdt1RcTs68OZEJEMxDGnlCqoxUO51ly9fyWLGaSIQ4KdGU7TvhsF6GgBl0mMFJeTnPUb280CtrRTyPXiOveoiHOAkEJOD0UVm+ZIMoTQkSZJHdKFgAmxvrA2TU2YAIPF4QYAOjz6bsKJcVrM4daxJLE=; Received: from narragoon by mail.kd2.org with local (Exim 4.84_2) (envelope-from ) id 1djcFy-0006Q4-1J for internals@lists.php.net; Mon, 21 Aug 2017 04:15:58 +0200 To: internals@lists.php.net X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 21 Aug 2017 14:15:57 +1200 Message-ID: <1e398f12adbdbed6b7caf3b0af07f284@bohwaz.net> X-Sender: php@bohwaz.net User-Agent: Roundcube Webmail/1.1.5 Subject: Matching PDO_SQLite features with SQLite3 extension From: php@bohwaz.net (BohwaZ/PHP) Hi people of the PHP world, I just have proposed a patch to have SQLite3 open_blob feature implemented in PDO_SQLite: https://github.com/php/php-src/pull/2698 This follows my patch to implement this feature in the SQLite3 extension a few months ago. Now my aim is to implement missing features in pdo_sqlite that are already present in the SQLite3 extension (target is PHP 7.3 I guess). I'm also keen to implement any SQLite3 feature offered by the C library that are not already present in either extensions (if any). This way we will be able to use either PDO or SQLite3 extension, and have access to the same features. Here are the features that are currently present in the SQLite3 extension but missing in PDO: - bool Statement::readOnly() -> returns true if the statement doesn't write to the database - Opening a database as read-only (using SQLite flags OPEN_READWRITE, OPEN_READONLY and OPEN_CREATE) Please tell me if you see anything else that I missed and I'll add it to my todo-list. Thanks.