diff options
author | Bill King <bill.king@nokia.com> | 2009-09-22 01:38:02 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-09-22 01:38:02 (GMT) |
commit | 21a71222c30214635cb369bedad43bc1e72f05be (patch) | |
tree | 75272759cd389a9d6762a707e14a1d3b909dae0c /src/sql/kernel | |
parent | 69643cbd2a219d7e47ddeecc8d617a8c4c866552 (diff) | |
download | Qt-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.cpp | 1 |
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 |