Re: [sqlite] Proper way to change temp directory

2011-11-21 Thread Don V Nielsen
In Ruby (just for giggles), its Dir.chdir('dir text') {|dir| # do your sort stuff here } # previous directory restored when logic block is completed On Sun, Nov 20, 2011 at 3:50 AM, Yang Zhang yanghates...@gmail.com wrote: Cool beans, perhaps this should be added to the docs! On Sun,

[sqlite] Proper way to change temp directory

2011-11-20 Thread Yang Zhang
Out of curiosity, what's the proper way to change the temp directory (say, to avoid Error: database or disk full errors on vacuum, which I ran into)? temp_store_directory has been working for me but it's deprecated and may be elided from builds. Is the only option to recompile sqlite? Thanks.

Re: [sqlite] Proper way to change temp directory

2011-11-20 Thread Dan Kennedy
On 11/20/2011 04:00 PM, Yang Zhang wrote: Out of curiosity, what's the proper way to change the temp directory (say, to avoid Error: database or disk full errors on vacuum, which I ran into)? temp_store_directory has been working for me but it's deprecated and may be elided from builds. Is the

Re: [sqlite] Proper way to change temp directory

2011-11-20 Thread Yang Zhang
Cool beans, perhaps this should be added to the docs! On Sun, Nov 20, 2011 at 1:36 AM, Dan Kennedy danielk1...@gmail.com wrote: On 11/20/2011 04:00 PM, Yang Zhang wrote: Out of curiosity, what's the proper way to change the temp directory (say, to avoid Error: database or disk full errors on