Opened 10 years ago

Closed 10 years ago

#4819 closed enhancement (fixed)

Enable auto reconnect to MySQL

Reported by: marisn Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: MySQL


Depending on MySQL version, automatic reconnecting is either enabled or disabled. As on OGR side there's no logic implemented to handle loss of connection, attached patch enables attempt to reconnect on MySQL level in case of failure (network failures etc.).


Attachments (1)

mysql_reconnect.patch (681 bytes ) - added by marisn 10 years ago.
Enable automatic reconnection to MySQL

Download all attachments as: .zip

Change History (2)

by marisn, 10 years ago

Attachment: mysql_reconnect.patch added

Enable automatic reconnection to MySQL

comment:1 by Even Rouault, 10 years ago

Resolution: fixed
Status: newclosed

Applied in trunk (r24947). Thanks

Note: See TracTickets for help on using tickets.