1. 31 Jul, 2012 1 commit
  2. 30 Jul, 2012 2 commits
  3. 28 Jul, 2012 1 commit
  4. 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
  5. 25 Jul, 2012 1 commit
  6. 24 Jul, 2012 1 commit
  7. 23 Jul, 2012 1 commit
  8. 19 Jul, 2012 2 commits
  9. 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
  10. 16 Jul, 2012 4 commits
  11. 13 Jul, 2012 1 commit
    • unknown's avatar
      fixed MySQL bug#53775: · 9f6a1c58
      unknown authored
      Now partition engine adds underlying tables to the QC and ask underlying tables engine permittion to cache the query and return result of the query.
      
      Incorrect QC cleanup in case of table registration failure fixe.
      
      Unified interface for myisammrg & partitioned engnes for QC.
      9f6a1c58
  12. 12 Jul, 2012 1 commit
  13. 11 Jul, 2012 2 commits
  14. 10 Jul, 2012 2 commits
    • Igor Babaev's avatar
      Added procedures to delete records by keys from statistical tables. · 47fae7f0
      Igor Babaev authored
      Now when a table is dropped the statistics on the table is removed 
      from the statistical tables. If the table is altered in such a way
      that a column is dropped or the type of the column is changed then
      statistics on the column is removed from the table column_stat.
      It also triggers removal of the statistics on the indexes who use
      this column as its component.
      
      Added procedures that changes the names of the tables or columns
      in the statistical tables for. 
      These procedures are used when tables/columns are renamed.
      
      Also partly re-factored the code that introduced the persistent
      statistical tables.
      
      Added test cases into statistics.test to cover the new code.
      47fae7f0
    • Michael Widenius's avatar
      Fixed MDEV-385: mysqltest running with continue-on-error crashes on a non-SQL... · 703ee1ad
      Michael Widenius authored
      Fixed MDEV-385: mysqltest running with continue-on-error crashes on a non-SQL command producing an error 
      
      client/mysqltest.cc:
        Added missing DBUG_VOID_RETURN
      703ee1ad
  15. 05 Jul, 2012 2 commits
  16. 04 Jul, 2012 1 commit
  17. 27 Jun, 2012 1 commit
    • Michael Widenius's avatar
      Don't abort InnoDB/XtraDB if one can't allocate resources for AIO · 44d8fe96
      Michael Widenius authored
      - Better error messages
      
      This fixes that one again can run the test systems with many threads without having to increase fs.aio-max-nr.
      
      
      mysql-test/include/mtr_check.sql:
        Ignore the INNODB_USE_NATIVE_AIO variable (may change during execution)
      mysql-test/mysql-test-run.pl:
        Ignore warnings for failure to setup AIO
      storage/innobase/os/os0file.c:
        Continue without AIO even if we can't allocate resources for AIO
      storage/xtradb/os/os0file.c:
        Continue without AIO even if we can't allocate resources for AIO
      storage/xtradb/srv/srv0start.c:
        Give an error message (instead of core dump) if AIO can't be initialized
      44d8fe96
  18. 26 Jun, 2012 3 commits
  19. 25 Jun, 2012 1 commit
  20. 24 Jun, 2012 1 commit
  21. 23 Jun, 2012 3 commits
  22. 22 Jun, 2012 2 commits
  23. 21 Jun, 2012 2 commits