1. 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
  2. 20 Aug, 2012 1 commit
  3. 19 Aug, 2012 1 commit
  4. 18 Aug, 2012 1 commit
  5. 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
  6. 14 Aug, 2012 1 commit
  7. 09 Aug, 2012 2 commits
  8. 08 Aug, 2012 2 commits
  9. 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
  10. 01 Aug, 2012 1 commit
  11. 02 Aug, 2012 3 commits
  12. 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
  13. 31 Jul, 2012 6 commits
  14. 30 Jul, 2012 3 commits
  15. 28 Jul, 2012 1 commit
  16. 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
  17. 26 Jul, 2012 1 commit
  18. 25 Jul, 2012 1 commit
  19. 24 Jul, 2012 1 commit
  20. 23 Jul, 2012 1 commit
  21. 19 Jul, 2012 2 commits
  22. 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
  23. 16 Jul, 2012 3 commits