mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0d122cd2d5
commit
4d037a4cd0
1 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue