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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 + 50 = ?
Subscribe to this entry?

 
 [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 11:01:29 2024 UTC