I have a lovely little django driven database site that is fine  
except for one thing...

ever so occassionaly there is a sql call that goes....

select * from product....

Now, I don't call that explicitly... but it does happen... and I have  
a million products and it kills mysqld... shaboom!

Now, i suspect that there is a bug in django, like the one where if  
you do an "id in [ ] " ... that it may return ALL a tables  
contents... but I have trapped that... looked at the number of times  
I query that table etc... and for the life of me cannot work out when  
or where it happens... I have looked at every single instance of  
Product.objects.* and not found it...

I splat all the sql queries to the screen and this is complicated by  
the fact that one my local copy it doesn't happen, and on the server  
it does... and yes I've been through many iterations of what are the  
differences between the server and my local copy, mysql version?  
django version? what?

I am completely lost... Django is issuing a sql cal I know I don't  
ever make... and I suspect it sql generation gone wrong....

Any pointers as to how I might track this tricky one down, gratefully  
received...

tom




--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to