1. 27 Aug, 2012 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-487. · d0ad93fb
      Igor Babaev authored
      The function collect_statistics_for_table() when scanning a table
      did not take into account that the handler function ha_rnd_next
      could return the code HA_ERR_RECORD_DELETE that should not be
      considered as an indication of an error.
      Also fixed a potential memory leak in this function.
      d0ad93fb
  2. 23 Aug, 2012 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-473. · f4631d6f
      Igor Babaev authored
      With the new code of mysql-5.5 for metadata locking the function
      unlock_tables_n_open_system_tables_for_write should not explicitly
      unlock tables for which external locks have been set and should not
      explicitly reset thd->lock to 0.
       
      f4631d6f
  3. 20 Aug, 2012 1 commit
  4. 19 Aug, 2012 1 commit
  5. 18 Aug, 2012 1 commit
  6. 17 Aug, 2012 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-464. · 85db0298
      Igor Babaev authored
      The value of system variable use_stat_tables was always reset to 0 ('never') 
      by mistake at the launch of the server.
      85db0298
  7. 14 Aug, 2012 1 commit
  8. 09 Aug, 2012 2 commits
  9. 08 Aug, 2012 2 commits
  10. 06 Aug, 2012 1 commit
    • Michael Widenius's avatar
      Fixed compiler warnings · a7123f50
      Michael Widenius authored
      sql/log.h:
        Fixed compiler warnings reported for gcc 2.7.1
      storage/xtradb/handler/ha_innodb.cc:
        Remove not used variables
      a7123f50
  11. 01 Aug, 2012 1 commit
  12. 02 Aug, 2012 3 commits
  13. 01 Aug, 2012 1 commit
    • Elena Stepanova's avatar
      MDEV-369 (Mismatches in MySQL engines test suite) · 4f3674c8
      Elena Stepanova authored
      Following reasons caused mismatches:
        - different handling of invalid values;
        - different CAST results with fractional seconds;
        - microseconds support in MariaDB;
        - different algorithm of comparing temporal values;
        - differences in error and warning texts and codes;
        - different approach to truncating datetime values to time;
        - additional collations;
        - different record order for queries without ORDER BY;
        - MySQL bug#66034.
      More details in MDEV-369 comments.
      4f3674c8
  14. 31 Jul, 2012 6 commits
  15. 30 Jul, 2012 3 commits
  16. 28 Jul, 2012 1 commit
  17. 27 Jul, 2012 2 commits
    • Igor Babaev's avatar
      Added missing declaration of statistics_lock. · 26947f5a
      Igor Babaev authored
      Replaced bzero with memset.
      Added missing --source include/have_debug_sync.inc into stat_tables.test.
      26947f5a
    • Igor Babaev's avatar
      Performed re-factoring and re-structuring of the code for mwl#248: · 8c499274
      Igor Babaev authored
        - Moved the definitions of the classes to store data from persistent
          statistical tables into statistics.h, leaving in other internal 
          data structures only references to the corresponding objects.
        - Defined class Column_statistics_collected derived from the class
          Column_statistics. This is a helper class to collect statistics
          on columns.
        - Moved references to read statistics to TABLE SHARE, leaving the
          the reference to the collected statistics in TABLE.
       - Added a new clone method for the class Field allowing to clone
          fields attached to table shares. It was was used to create 
          fields for min/max values in the memory of the table share.
      A lso:
        - Added procedures to allocate memory for statistical data in
          the table share memory and in table memory.
      Also: 
        - Added a test case demonstrating how ANALYZE could work in parallel
          to collect statistics on different indexes of the same table.
        - Added a test two demonstrate how two connections working 
          simultaneously could allocate memory for statistical data in the 
          table share memory.  
         
      8c499274
  18. 26 Jul, 2012 1 commit
  19. 25 Jul, 2012 1 commit
  20. 24 Jul, 2012 1 commit
  21. 23 Jul, 2012 1 commit
  22. 19 Jul, 2012 2 commits
  23. 18 Jul, 2012 3 commits
    • Sergey Petrunya's avatar
      Merge 5.3->5.5 · 79c4b4e4
      Sergey Petrunya authored
      79c4b4e4
    • Sergey Petrunya's avatar
      Merge bug#1007622 from 5.3 to 5.5 · 33e961c1
      Sergey Petrunya authored
      33e961c1
    • Sergey Petrunya's avatar
      MDEV-398: Sergv related to spacial queries · 7e6bec87
      Sergey Petrunya authored
      - index_merge/intersection is unable to work on GIS indexes, because:
        1. index scans have no Rowid-Ordered-Retrieval property
        2. When one does an index-only read over a GIS index, they do not 
           get the index tuple, because index only contains bounding box of the geometry.
           This is why key_copy() call crashed.
      This patch fixes #1, which makes the problem go away. Theoretically, it would 
      be nice to check #2, too, but SE API semantics is not sufficiently precise to do it.
      7e6bec87
  24. 16 Jul, 2012 2 commits