On Tue, 2010-05-25 at 15:15 -0700, BirdieBits wrote:
> I inherited a project that utilizes DbLinq to interface with a MySQL
> database.  I occassionally get an L33 exception, not always in
> response to the same query.  I have searched this and other related
> forums for a clue, but none have turned up for me.  I am suspecting
> that it may have something to do with database queries being made from
> multiple threads, but I'm not sure.

DbLinq.Data.Linq.DataContext is explicitly NOT thread-safe.  You MUST
NOT access and/or manipulate DataContext instances from multiple
threads.

Instead, each thread should create DataContext instances local to that
thread (preferably local to a method); see also:

http://groups.google.com/group/dblinq/browse_thread/thread/59a90072d2c1d2da/29c65f9588006c5d

 - Jon


-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to