mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbcommon/src/mpxdbmanager.cpp
branchRCL_3
changeset 56 2cbbefa9af78
parent 53 3de6c4cf6b67
child 66 1f1dad4af8f8
--- a/mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbcommon/src/mpxdbmanager.cpp	Wed Sep 01 12:32:02 2010 +0100
+++ b/mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbcommon/src/mpxdbmanager.cpp	Tue Sep 14 21:14:08 2010 +0300
@@ -2856,6 +2856,18 @@
 #endif //__RAMDISK_PERF_ENABLE    
     }
 
+// ---------------------------------------------------------------------------
+// CMPXDbManager::ExecuteSelectQueryL
+// ---------------------------------------------------------------------------
+//
+EXPORT_C RSqlStatement CMPXDbManager::ExecuteSelectQueryL( const TDesC& aQuery ) 
+    {
+    MPX_FUNC("CMPXDatabase::ExecuteSelectQueryL( const TDesC& aQuery )");
+    HBufC* tmp( aQuery.AllocLC() );
+    RSqlStatement statement( ExecuteSelectQueryOnAllDrivesL( tmp->Des() ) );
+    CleanupStack::PopAndDestroy(tmp);
+    return statement;
+    }
 
 // ---------------------------------------------------------------------------
 // CMPXDbManager::EnsureDiskSpaceL