Team,
I am using MySQLdb module of python on FC11 machine. Here, i have an issue. I have the following implementation for one of our requirement:
- connect to mysqldb and get DB handle,open a cursor, execute a delete statement,commit and then close the cursor.
- Again using the DB handle above, iam performing a "select" statement one some different table using the cursor way as described above.
I was able to delete few records using Step1, but step2 select is not working. It simply gives no records for step2 though there are some records available under DB.
But, when i comment step1 and execute step2, i could see that step2 works fine. Why this is so?
Though there are records, why the above sequence is failing to do so? Any ideas would be appreciated.
Thanks! Santhosh