1. 08 Nov, 2005 2 commits
    • pappa@c-5608e253.1238-1-64736c10.cust.bredbandsbolaget.se's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2a0f8e64
      into  c-5608e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1
      2a0f8e64
    • pappa@c-5608e253.1238-1-64736c10.cust.bredbandsbolaget.se's avatar
      Bug #12796: Record lost in HEAP table · 4282ad92
      Two handler objects were present, one was used for an insert and the other for a select
      The state of the statistics was local to the handler object and thus the other handler
      object didn't notice the insert.
      Fix included:
      1) Add a new variable key_stat_version added to whenever statistics was considered in need
      of update (previously key_stats_ok= FALSE in those places)
      2) Add a new handler variable key_stat_version assigned whenever key_stats_ok= TRUE was set
      previously
      3) Fix records_in_range to return records if records <= 1
      4) Fix records_in_range to add 2 to rec_per_key to ensure we don't specify 0 or 1 when it isn't
      and thus invoking incorrect optimisations.
      5) Fix unique key handling for HEAP table in records_in_range
      4282ad92
  2. 07 Nov, 2005 1 commit
  3. 05 Nov, 2005 3 commits
  4. 04 Nov, 2005 1 commit
  5. 03 Nov, 2005 5 commits
  6. 01 Nov, 2005 6 commits
  7. 31 Oct, 2005 5 commits
  8. 29 Oct, 2005 4 commits
  9. 28 Oct, 2005 8 commits
  10. 27 Oct, 2005 5 commits