#32467 [Opn->WFx]: provide a configuration directive for SQLite temp directory

From: Date: Wed, 30 Mar 2005 00:23:23 +0000
Subject: #32467 [Opn->WFx]: provide a configuration directive for SQLite temp directory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76009@lists.php.net to get a copy of this message
 ID:               32467
 Updated by:       wez@php.net
 Reported By:      psychosos at gmx dot at
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      5.0.3
 New Comment:

It is considered library abuse to change global variables for something
like this, so we won't be adding this feature.

The only way it can be safe is if all of the following conditions are
met:

- No one (that includes any/all modules linked into the process in
which PHP is running) has used the sqlite library yet
- The setting is set only during the MINIT phase
- No one else is going to alter the setting, ever.

If you mess with this value while database handles are open, you'll
confuse sqlite.

It's better to leave it well alone, which is what we do.


Previous Comments:
------------------------------------------------------------------------

[2005-03-27 18:55:48] psychosos at gmx dot at

Description:
------------
It would be cool if there was a runtime configuration directive (even
better if it worked from inside a script) to change the directory path
the SQLite extension uses to store temporary tables, as discussed in
the usenet thread/posting Message-ID:
<chh3bg$1kuq$1@FreeBSD.csie.NCTU.edu.tw>.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32467&edit=1


Thread (2 messages)

« previous php.bugs (#76009) next »