summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-09-22 01:38:02 (GMT)
committerBill King <bill.king@nokia.com>2009-09-22 01:38:02 (GMT)
commit21a71222c30214635cb369bedad43bc1e72f05be (patch)
tree75272759cd389a9d6762a707e14a1d3b909dae0c /src/sql/kernel
parent69643cbd2a219d7e47ddeecc8d617a8c4c866552 (diff)
downloadQt-21a71222c30214635cb369bedad43bc1e72f05be.zip
Qt-21a71222c30214635cb369bedad43bc1e72f05be.tar.gz
Qt-21a71222c30214635cb369bedad43bc1e72f05be.tar.bz2
Add reconnection option to the mysql driver.
adds MYSQL_OPT_RECONNECT to the mysql driver options. Task-number: QTBUG-4510
Diffstat (limited to 'src/sql/kernel')
-rw-r--r--src/sql/kernel/qsqldatabase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqldatabase.cpp b/src/sql/kernel/qsqldatabase.cpp
index 18a04a3..821760f 100644
--- a/src/sql/kernel/qsqldatabase.cpp
+++ b/src/sql/kernel/qsqldatabase.cpp
@@ -1228,6 +1228,7 @@ QSqlRecord QSqlDatabase::record(const QString& tablename) const
\i CLIENT_NO_SCHEMA
\i CLIENT_INTERACTIVE
\i UNIX_SOCKET
+ \i MYSQL_OPT_RECONNECT
\endlist
\i