Skip to content

Commit

Permalink
Fix DB locking issue on MySQL 5.5
Browse files Browse the repository at this point in the history
affecting DB initialization.  This is the DB init equivalent of
0bc768e (and its backported version at 4ef6458 ).

Thanks to JYA for finding the issue.
(cherry picked from commit c419275)
  • Loading branch information
sphery committed Mar 13, 2012
1 parent cd8c9c2 commit ad0ba2a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -5553,12 +5553,7 @@ bool InitializeMythSchema(void)

VERBOSE(VB_IMPORTANT, "Inserting MythTV initial database information.");

QString qtmp = QString("ALTER DATABASE %1 DEFAULT CHARACTER SET utf8;")
.arg(gCoreContext->GetDatabaseParams().dbName);
QByteArray tmp = qtmp.toAscii();

const char *updates[] = {
tmp.constData(),
"CREATE TABLE callsignnetworkmap ("
" id int(11) NOT NULL AUTO_INCREMENT,"
" callsign varchar(20) NOT NULL default '',"
Expand Down

0 comments on commit ad0ba2a

Please sign in to comment.