From 4d037a4cd06d326fa18bf46d6f7488566e60e9c7 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Thu, 22 Oct 2020 13:08:46 +0000 Subject: [PATCH] Fix #68393: PDO Does Not Produce Exception For 'sqlite:' With Missing Filepath git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350970 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo_sqlite/reference.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/pdo_sqlite/reference.xml b/reference/pdo_sqlite/reference.xml index c072b7944f..304fe01435 100644 --- a/reference/pdo_sqlite/reference.xml +++ b/reference/pdo_sqlite/reference.xml @@ -54,16 +54,22 @@ - To access a database on disk, append the absolute path to the + To access a database on disk, the absolute path has to be appended to the DSN prefix. - To create a database in memory, append :memory: + To create a database in memory, :memory: has to be appended to the DSN prefix. + + + If the DSN consists of the DSN prefix only, a temporary database is used, + which is deleted when the connection is closed. + + @@ -120,6 +126,7 @@