php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32467 provide a configuration directive for SQLite temp directory
Submitted: 2005-03-27 18:55 UTC Modified: 2005-03-30 02:23 UTC
From: psychosos at gmx dot at Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: psychosos at gmx dot at
New email:
PHP Version: OS:

 

 [2005-03-27 18:55 UTC] 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>.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-30 02:23 UTC] wez@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 01 11:01:32 2024 UTC