the concern here is to configure the default temp directory in library
compile time, on the OS porting layer.
in current version, the default value of sqlite3_temp_directory is hardcoded
as 0 in main.c for all platforms.
would it be better to make it configrable for different platforms and use
PRAGMA to overide the defult in runtime.

i am looking forward to your opiniions.

thanks again.

wang

On 6/6/07, Tom Briggs <[EMAIL PROTECTED]> wrote:


  Why not just use PRAGMA temp_store_directory, as the comments
directly above that line suggest?

> -----Original Message-----
> From: weiyang wang [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 06, 2007 7:09 AM
> To: sqlite-users
> Subject: [sqlite] sqlite3_temp_directory in main.c
>
> hi,
>
> i found the following line in main.c
>
> char *sqlite3_temp_directory = 0;
>
> which seems to remove the possibilities that the customer
> platform could
> specify sqlite3_temp_directory.
>
> i suggest that this line is removed.
>
> any comments?
>
> thanks in advance.
>
> wang
>


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]

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


Reply via email to