Searching for MyConnection thread collision solution
Posted: Sun 14 Oct 2012 23:49
For fast MySQL transaction speeds, I keep a MyConnection open at all times once my application starts but now I'm having problems due to accessing the same MyConnection with different threads. What are some solutions for this? Should I open and close the MyConnection after each set of transactions or should I set "connected" to false? I would think that opening and closing the TMyConnection would cause significant execution delays so I'm curios how other people handle this.
Thank you.
Thank you.