1. 02 Apr, 2014 1 commit
  2. 01 Apr, 2014 1 commit
    • Sergey Petrunya's avatar
      MDEV-5992: EITS: Selectivity of non-indexed condition is counted twice in table's fanout · 26a3d567
      Sergey Petrunya authored
      MDEV-5984: EITS: Incorrect filtered% value for single-table select with range access
      - Fix calculate_cond_selectivity_for_table() to work correctly with range accesses 
        over multi-component keys:
        = First, take selectivity of all possible range scans into account. Remember which 
          fields were used bt the range scans.
        = Then, calculate selectivity produced by sargable predicates on fields. If a 
          field was used in a possible range access, assume its selectivity is already
          taken into account.
      - Fix table_cond_selectivity(): when quick select is used, selectivity of
        COND(table) is taken into account in matching_candidates_in_table(). In
        table_cond_selectivity() we should not apply it for the second time.
      26a3d567
  3. 31 Mar, 2014 2 commits
  4. 29 Mar, 2014 6 commits
  5. 28 Mar, 2014 8 commits
  6. 27 Mar, 2014 14 commits
  7. 26 Mar, 2014 8 commits
    • Sergei Golubchik's avatar
      MDEV-5433 select_result::send_error() is unused · e29a4dd5
      Sergei Golubchik authored
      remove dead code
      e29a4dd5
    • Sergei Golubchik's avatar
      MDEV-5943 'show table status' does not immediately show tokudb tables · 707dd6b9
      Sergei Golubchik authored
      MDEV-5839 TokuDB tables not properly cleaned on DROP DATABASE
      
      TokuDB does not support discover_table_names() and writes no files
      in the database directory, so automatic filename-based
      discover_table_names() doesn't work either. So, it must force .frm
      file to disk in ::create()
      707dd6b9
    • Sergei Golubchik's avatar
      Fix hostcache_ipv4_blocked and hostcache_ipv6_blocked to pass. · 97687f28
      Sergei Golubchik authored
      Don't abort plugin reads whem mpvio->make_it_fail is set - this can leak information.
      97687f28
    • Sergei Golubchik's avatar
      update tokudb tests for 10.0 · 06bdc441
      Sergei Golubchik authored
      06bdc441
    • Sergei Golubchik's avatar
      Revert revision sergii@pisem.net-20130123151853-xc6i3l11aqv0iykk · 06be773c
      Sergei Golubchik authored
      Rename back my_init_dynamic_array2() -> init_dynamic_array2()
      It happens to be a part of the de facto API :(
      06be773c
    • Sergei Golubchik's avatar
      5.5 merge · 10740939
      Sergei Golubchik authored
      10740939
    • Sergei Golubchik's avatar
      MDEV-5955 Server crashes in handler::ha_external_lock or assertion... · 44002a34
      Sergei Golubchik authored
      MDEV-5955 Server crashes in handler::ha_external_lock or assertion `m_lock_type == 2' fails in handler::ha_close on disconnect with a locked temporary table
      
      first unlock locked tables, then close and remove temporary
      44002a34
    • Michael Widenius's avatar
      MDEV-5905: Creating tmp. memory table kills the server · ded448d1
      Michael Widenius authored
      The reason was that a couple of variables that hold number of rows that was used to calculate buffers was uint and caused an overflow.
      
      Fixed by changing variables that could hold number of rows from uint to ulong and also added a cast for this test.
      
      include/heap.h:
        Reorder to get better alignment. Changed variables that could hold number of rows from uint to ulong
      mysql-test/suite/heap/heap.result:
        Added test case
      mysql-test/suite/heap/heap.test:
        Added test case
      mysql-test/suite/plugins/t/server_audit.test:
        Added sleep as we want to have disconnect logged before we try a new connect
      storage/heap/ha_heap.cc:
        Changed variables that could hold number of rows from uint to ulong
        Limit number of rows to 4G  (as most of the variables that holds rows are ulong anyway)
        reset records_changed when key_stat_version is changed to not cause increments for every row changed
      storage/heap/ha_heap.h:
        changed records_changed to ulong as this can get big
      storage/heap/hp_create.c:
        Changed variables that could hold number of rows from uint to ulong
        Added cast (fixed the original bug)
      storage/heap/hp_delete.c:
        Changed variables that could hold number of rows from uint to ulong
      storage/heap/hp_open.c:
        Removed not needed cast
      storage/heap/hp_write.c:
        Changed variables that could hold number of rows from uint to ulong
      support-files/compiler_warnings.supp:
        Removed extra : from supression
      ded448d1