Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2007-08-03 18:34:17 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2007-08-03 18:34:17 +0400
commitffb4b96104c6137b804c6afbc181cbcb0d7141e9 (patch)
tree4669721a3cf83eecda8399c4e8eff5d4789b043d /src/murmur/ServerDB.h
parentb80bece46e2407c42c0ff5df7e5ff86268331cd4 (diff)
MySQL schema embedded in murmur. Reconnect to SQL server on connection lost.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@679 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/murmur/ServerDB.h')
-rw-r--r--src/murmur/ServerDB.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/murmur/ServerDB.h b/src/murmur/ServerDB.h
index f87dfb038..7d77c1a76 100644
--- a/src/murmur/ServerDB.h
+++ b/src/murmur/ServerDB.h
@@ -49,7 +49,8 @@ class ServerDB {
static bool serverExists(int num);
static QVariant getConf(int server_id, const QString &key, QVariant def = QVariant());
static void setConf(int server_id, const QString &key, const QVariant &value);
- static void exec(QSqlQuery &);
+ static bool prepare(QSqlQuery &, const QString &, bool fatal = true);
+ static bool exec(QSqlQuery &, const QString &str = QString(), bool fatal= true);
};
#endif