Skip to content

Commit

Permalink
Fixes #9983. Another location that needs a dedicated db connection. S…
Browse files Browse the repository at this point in the history
…ee [8e783b7].
  • Loading branch information
daniel-kristjansson committed Aug 11, 2011
1 parent c84c1a1 commit d986a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -491,7 +491,7 @@ bool UpgradeTVDatabaseSchema(const bool upgradeAllowed,
break;
}

MSqlQuery query(MSqlQuery::InitCon());
MSqlQuery query(MSqlQuery::InitCon(MSqlQuery::kDedicatedConnection));
if (!query.exec(QString("ALTER DATABASE %1 DEFAULT"
" CHARACTER SET utf8 COLLATE utf8_general_ci;")
.arg(gCoreContext->GetDatabaseParams().dbName)))
Expand Down

0 comments on commit d986a92

Please sign in to comment.