Tuesday, October 23, 2007

Fixed a bug

It turned out that there was an intermittent bug in the checkout code where some people were not being able to complete their sale. I've been checking and checking and the problem wasn't in my code per se, it was a glitch in how SQL is processed in PHP. The insertion and the updating of records is not guaranteed in a single SQL statement. Separate out the insertion and the updating of records for more consistent results. Fun stuff!

0 comments:

Post a Comment