VC call ADO to pay attention to problems

xiaoxiao2021-03-06  61

It is finally solved for a few months, and I have written a program before, and the 20 threads call the database at the same time, but only one database connection is established. The result is old unstable, and running without reacting, and The call stack is also not open when debugging. And it is getting faster and faster to get the deadline of the procedure. Today, the program is changed to each thread to establish a connection, and the result is stable. It seems that it is also necessary to establish a connection for each thread through the ADO to invoke the database.

转载请注明原文地址:https://www.9cbs.com/read-83137.html

New Post(0)