2009/7/10 Pramoda M. A <pramod...@kpitcummins.com>: > > Hi, > > We r using Fedora Linux 10. Our application is, when any device is inserted, > we will detect that create thread using pthread_create API. Which will find > all MP3 files in the device and extract the metadata present in the mp3 files > and fill a structre and send it to sqlite. > > > > Before that, I will create database like; > . . . > > This will run in thread. But here, "entered" and "entered 2"is printing. > But "entered 3" and "printing 4" both are not printing. > > After that, if I tried to query the database using command line tools, > "Select * from File", it is giving error as > > "encrypted file or is not a database" > > > > Please help me. > > Thanks & Regards > > Pramoda.M.A >
Hi Pramoda, Your code as posted fails to compile because of "error C2181: illegal else without matching if": look at 'printf("entered 3");' Does your code work perfectly if not run in a thread? Regards, Simon _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users