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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Wed Jul 03 10:01:29 2024 UTC