Bug 173330

Summary: amarok sql collection has issues with '
Product: [Applications] amarok Reporter: Jason A. Donenfeld <Jason>
Component: Collection BrowserAssignee: Amarok Developers <amarok-bugs-dist>
Severity: normal    
Priority: HI    
Version: 2.0-SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jason A. Donenfeld 2008-10-23 02:14:23 UTC
Version:           svn (using Devel)
Compiler:          gcc 4.3.2 gentoo
OS:                Linux
Installed from:    Compiled sources

If you type into the search box for the collection any string with a ' in it, it comes up with no items. Presumably this has to do with some sql/string handling issues.
Comment 1 Seb Ruiz 2008-10-23 02:25:49 UTC
Yes, I can reproduce.
Comment 2 Edward Hades 2008-10-23 11:00:32 UTC
SVN commit 875082 by hades:

Remove superfluous escape() call.

BUG: 173330

 M  +1 -0      ChangeLog  
 M  +2 -2      src/collection/sqlcollection/SqlQueryMaker.cpp  
 M  +5 -0      src/collection/sqlcollection/SqlQueryMaker.h  

WebSVN link: http://websvn.kde.org/?view=rev&revision=875082