Re: [sqlite] sqlite3_create_function and threads

2011-07-01 Thread Pavel Ivanov
>  > Yes. What's wrong with that? > > Nothing at all - I just needed to know whether that was the case so I > could design certain sections of my code accordingly. Three question marks of yours suggested me that you think it's awfully wrong. Note that although your function and application pointe

Re: [sqlite] sqlite3_create_function and threads

2011-07-01 Thread Richard Hipp
On Fri, Jul 1, 2011 at 11:02 AM, Pavel Ivanov wrote: > > To put it another way, if I call sqlite3_create_function to install a > > custom function, is that function now available to all threads using > > SQLite or is it available only to the thread that made the > > sqlite3_create_function call?

[sqlite] sqlite3_create_function and threads

2011-07-01 Thread Technology Lighthouse
> Yes. What's wrong with that? Nothing at all - I just needed to know whether that was the case so I could design certain sections of my code accordingly. Thanks for the help! -- Paul Roberts ___ sqlite-users mailing list sqlite-users@sqlite.org http

Re: [sqlite] sqlite3_create_function and threads

2011-07-01 Thread Pavel Ivanov
> To put it another way, if I call sqlite3_create_function to install a > custom function, is that function now available to all threads using > SQLite or is it available only to the thread that made the > sqlite3_create_function call? Yes, it's available to all threads using the same connection.

[sqlite] sqlite3_create_function and threads

2011-07-01 Thread Technology Lighthouse
From the docs it's unclear to me whether the use of sqlite3_create_function is thread-specific or not. To put it another way, if I call sqlite3_create_function to install a custom function, is that function now available to all threads using SQLite or is it available only to the thread that ma