Bug #62031 Connection down after INSERT
Submitted: 29 Jul 2011 18:23 Modified: 30 Dec 2011 16:48
Reporter: Maiko de Andrade Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:1.1.0 OS:Windows
Assigned to: CPU Architecture:Any

[29 Jul 2011 18:23] Maiko de Andrade
Description:
I have a problem with MySQL Connector in Visual Studio 2005. I recompile Connector with /MT, because my application is MT. 

Well, after this recompilation I have a some problems. 

The first:
The connection close after a INSERT or UPDATE or SQL erro and I need reconnect. My connection is other host, in the same subnet.

The second:
I use the method MySQL_Connection::prepareStatement(const sql::SQLString& sql) but when a run my app show me erro for using this method MySQL_Connection::prepareStatement(const sql::SQLString& sql, int autoGeneratedKeys);

How to repeat:

Recompile Connector with /MT.

Open a connection (other host)
Make a query with error.
Or create a INSERT query.

And test if connection is open.
[30 Nov 2011 16:48] Valeriy Kravchuk
Please, provide the entire code that demonstrates the problem.
[1 Jan 2012 7:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".