[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [amarok] src/core-impl/collections/db/sql: DatabaseUpdater: no functional change, remove unnecessary
From:       Matěj_Laitl <matej () laitl ! cz>
Date:       2012-05-16 13:24:47
Message-ID: 20120516132447.49F03A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 6dc6a1018d7a3368d837660b9d23d27b92d6c023 by Matěj Laitl.
Committed on 16/05/2012 at 15:22.
Pushed by laitl into branch 'master'.

DatabaseUpdater: no functional change, remove unnecessary formatting

M  +3    -3    src/core-impl/collections/db/sql/DatabaseUpdater.cpp

http://commits.kde.org/amarok/6dc6a1018d7a3368d837660b9d23d27b92d6c023

diff --git a/src/core-impl/collections/db/sql/DatabaseUpdater.cpp \
b/src/core-impl/collections/db/sql/DatabaseUpdater.cpp index 163b089..e8cbd42 100644
--- a/src/core-impl/collections/db/sql/DatabaseUpdater.cpp
+++ b/src/core-impl/collections/db/sql/DatabaseUpdater.cpp
@@ -318,7 +318,7 @@ DatabaseUpdater::upgradeVersion4to5()
     for( i = columns.constBegin(), iEnd = columns.constEnd(); i != iEnd; ++i )
     {
         storage->query( "ALTER TABLE " + i.key() + " MODIFY " + i.value().first + " \
                VARBINARY(" + QString::number( i.value().second ) + ')' );
-        storage->query( "ALTER IGNORE TABLE " + i.key() + " MODIFY " + \
i.value().first + \ +        storage->query( "ALTER IGNORE TABLE " + i.key() + " \
                MODIFY " + i.value().first +
             " VARCHAR(" + QString::number( i.value().second ) + ") CHARACTER SET \
utf8 COLLATE utf8_unicode_ci NOT NULL" );  }
 
@@ -424,7 +424,7 @@ DatabaseUpdater::upgradeVersion6to7()
 
     for( i = columns.constBegin(), iEnd = columns.constEnd(); i != iEnd; ++i )
     {
-        storage->query( "ALTER IGNORE TABLE " + i.key() + " MODIFY " + \
i.value().first + \ +        storage->query( "ALTER IGNORE TABLE " + i.key() + " \
                MODIFY " + i.value().first +
             " VARCHAR(" + QString::number( i.value().second ) + ") COLLATE utf8_bin \
NOT NULL" );  }
 
@@ -559,7 +559,7 @@ DatabaseUpdater::upgradeVersion9to10()
     for( i = columns.constBegin(), iEnd = columns.constEnd(); i != iEnd; ++i )
     {
         storage->query( "ALTER TABLE " + i.key() + " MODIFY " + i.value().first + " \
                VARBINARY(" + QString::number( i.value().second ) + ')' );
-        storage->query( "ALTER IGNORE TABLE " + i.key() + " MODIFY " + \
i.value().first + \ +        storage->query( "ALTER IGNORE TABLE " + i.key() + " \
                MODIFY " + i.value().first +
             " VARCHAR(" + QString::number( i.value().second ) + ") CHARACTER SET \
utf8 COLLATE utf8_bin NOT NULL" );  }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic