Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix NULL in non-NULL column in an MSQLQuery.
  • Loading branch information
daniel-kristjansson committed Nov 21, 2012
1 parent ed7839a commit 35ff26d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/programs/mythshutdown/main.cpp
Expand Up @@ -23,8 +23,10 @@ using namespace std;
#include "programinfo.h"
#include "signalhandling.h"

static void setGlobalSetting(const QString &key, const QString &value)
static void setGlobalSetting(const QString &key, const QString &v)
{
QString value = (v.isNull()) ? QString("") : v;

MSqlQuery query(MSqlQuery::InitCon());
if (query.isConnected())
{
Expand Down

0 comments on commit 35ff26d

Please sign in to comment.