Skip to content
Snippets Groups Projects
  1. Jun 18, 2014
    • Jared Hancock's avatar
      orm: Fix issues surrounding MySQL commands OoS · 8dc4f379
      Jared Hancock authored
      Several places in the code initialize a list of objects from the database
      and only fetch one item. In certain instances (which seem almost like a race
      condition), MySQL will feel like there are more records available in the
      database and will complain with "Commands out of sync, you can't run the
      command now".
      
      This patch addresses the issue by utilizing the ::one() method of the
      QuerySet where only one record is expected. The ::one() method is further
      designed to fetch all one results (which satisfies the MySQL client library)
      and return the first item.
      8dc4f379
  2. Jun 09, 2014
  3. Jun 06, 2014
  4. Jun 05, 2014
  5. Jun 04, 2014
  6. Jun 03, 2014
  7. Jun 02, 2014
  8. May 30, 2014
Loading