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
This commit is contained in:
Christoph Michael Becker 2020-10-22 13:08:46 +00:00
parent 0d122cd2d5
commit 4d037a4cd0

View file

@ -54,16 +54,22 @@
<itemizedlist>
<listitem>
<para>
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.
</para>
</listitem>
<listitem>
<para>
To create a database in memory, append <literal>:memory:</literal>
To create a database in memory, <literal>:memory:</literal> has to be appended
to the DSN prefix.
</para>
</listitem>
<listitem>
<para>
If the DSN consists of the DSN prefix only, a temporary database is used,
which is deleted when the connection is closed.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
@ -120,6 +126,7 @@
<![CDATA[
sqlite:/opt/databases/mydb.sq3
sqlite::memory:
sqlite:
sqlite2:/opt/databases/mydb.sq2
sqlite2::memory:
]]>