--- a/qtinternetradio/irdb/src/songhistorywrapper.cpp Fri Sep 17 08:27:59 2010 +0300
+++ b/qtinternetradio/irdb/src/songhistorywrapper.cpp Mon Oct 04 00:07:46 2010 +0300
@@ -163,7 +163,7 @@
QList<QVariant*>* songHistoryWrapper::getSongHistory(const columnMap* const condAND,
const columnMap* const condOR)
{
- QString sltSqlStr = "select * from songHistory ";
+ QString sltSqlStr = "select * from IRVIEW_SONGHISTORY ";
QList<QVariant*>* pDataSet = NULL;
if( (NULL != condAND)&&(NULL != condOR) )
@@ -188,7 +188,7 @@
}
combineGetStr(condAND, condOR, colNameView, sltSqlStr);
- sltSqlStr = sltSqlStr + " order by songPlaySeq desc ";
+
pDataSet = new QList<QVariant*>();
if( m_pIRDB->selectRow(this, sltSqlStr, pDataSet) )
{