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

List:       kde-bugs-dist
Subject:    [Bug 132114] mysql 5.0.24: Commands out of sync
From:       Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date:       2006-08-18 12:42:25
Message-ID: 20060818124225.21298.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=132114         
kde-dev emailgoeshere com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kde-dev emailgoeshere com  2006-08-18 14:42 -------
SVN commit 574217 by mitchell:

MySQL apparently changed their semantics for 5.0.23+ and require mysql_free_result to \
be called even if a mysql_use_result is not performed. This fixes the problem in the \
bug, and still works fine for me with MySQL 4.

BUG:132114



 M  +1 -0      ChangeLog  
 M  +1 -1      src/collectiondb.cpp  


--- trunk/extragear/multimedia/amarok/ChangeLog #574216:574217
 @ -83,6 +83,7  @
       since the last time it was enabled.
 
   BUGFIXES:
+    * Handle changed semantics of MySQL 5.0.23+ (BR 132114)
     * Do not try to detach() KURLs, as this would not work for non-ascii urls.
       (BR 132355)
     * Adding songs while at end of playlist could crash in dynamic mode.
--- trunk/extragear/multimedia/amarok/src/collectiondb.cpp #574216:574217
 @ -6006,7 +6006,6  @
                   values << QString::fromUtf8( (const char*)row[i] );
                 }
             }
-            mysql_free_result( result );
         }
         else
         {
 @ -6016,6 +6015,7  @
                 values = QStringList();
             }
         }
+        mysql_free_result( result );
     }
     else
     {


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

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