Hi Corwin, CJ> Probably what you want is RandomDBView from the library. CJ> This provides a random access iterator that you can position wherever CJ> you want...
... Oops. I will change that. ... These are really meant to be internal members used by the class so we did not document them. Instead, for the users we just...
Hi Corwin, ... CJ> These are really meant to be internal members used by the class CJ> so we did not document them. Instead, for the users we just provide CJ>...
... OK. I should add some more description on this. ... Hmm... I didn't think this needed explanation, but maybe it does / some internals description is...
There is also some more explanation about the different cursor types and how we designed the iterators in Designing an STL iterator abstraction for ODBC...
Hello Corwin, CJ> There is also some more explanation about the different cursor types CJ> and how we designed the iterators in CJ> Designing an STL iterator...
Hi We have a complex multithreaded server product that uses DTL to acess SQL Server databases. We have been getting access violation exceptions from various...
Sathya, I'm not sure what could be causing this. Can you send a small example program to reproduce this? Short of that, you will likely need at least to...
Hi Corwin, Now i now exactly where this function is hanging. It hangs at the folloing statemnt. print_it++; // force the statement to execute i think...
Nitin, Can you send me a small example project that replicates the problem? I know you sent a small piece of example code but it would help me to have a...
Hi, Corwin Here are some other facts. On empty tables in MS SQL and on all tables in MySql, SQLGetStmtAttr fails with following data in SQLGetDiagRec: ...
Hello again. The problem with MySql will arouse when total amount of records in table is lower than buffer_size in DB_select_iterator. If the table is big...
... Since ... might ... We did not had problems with multithreading issues until our customer have hoisted our product on a multiprocessor machine. When I have...
Michael, Thanks for the comments. One thing I just wanted to note: ... Someone else pointed this problem out as well a few weeks ago. What we have done in the...
... is created ... variable ... allocating the ... to ... in ... objects ... to this. I could hardly believe I share the DTL objects the dangerous way. All of...
[...] ... 4. I have just found the material for point four (VC 6.0-related): http://support.microsoft.com/default.aspx?scid=kb;en-us;813810 For a long time I...
... Michael, Thanks for the interesting link. I will definitely need to update the multi-threading docs. Also, are you willing to share the locking code that...
Hi Corwin, CJ> Here is an initial fix for your review. I will try to make a release of CJ> these changes later next week. Thank you, fix works for MS SQL. To...
... to ... No problem. I have not patched the DTL code but my own one looks like this: class MReference { long count_; // not implemented MReference(const...
At 06:26 AM 9/6/2004, you wrote:
>Hi Corwin,
>
>CJ> Here is an initial fix for your review. I will try to make a release of
>CJ> these changes later next...
... I take that (somewhat) back. Running tests MySQL 3.51 driver seems to be OK on the bulk fetched but does not do so well on the bulk inserts. In theory the...
Hello Corwin, CJ> I take that (somewhat) back. Running tests MySQL 3.51 driver seems to CJ> be OK on the bulk fetched but does not do so well on the bulk...
... I dunno. They may be following the letter of the law here, but that then makes it difficult if you want to grab a table that has < buffer_size records. ...
Hi! If you replace status = stmt.FetchScroll(SQL_FETCH_LAST, 0); with status = stmt.FetchScroll(SQL_FETCH_ABSOLUTE, -((pdata_end - pdata_begin) / row_size)); ...
Thanks Artem. I have made this change but restricted it to the case of MySQL since it turns out that Oracle (and possibly other drivers?) don't support the...
Good evening, Corwin Thanks. Where can I get this changes? BTW, in my dtl.hhp there is 1 missing file - ErrorHandler.htm, that was introduced not long ago. So...
Corwin, If I have to make these changes myself, is it enough if I just modify the following classes to include the Interlocked functions 1. CountedPtr & its...
... If you are just copying objects across threads then you will definitely need to add interlocks to CountedPtr and MemPtr since some objects hold a few...