1. 31 Mar, 2014 2 commits
  2. 29 Mar, 2014 6 commits
  3. 28 Mar, 2014 8 commits
  4. 27 Mar, 2014 14 commits
  5. 26 Mar, 2014 10 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
    • Sergey Petrunya's avatar
      MDEV-4362: {division by zero when lookup constant is outside the value table} · dee11f96
      Sergey Petrunya authored
      - Fix Histogram::point_selectivity() to work in the case where the 
        passed value_pos=0 (or 1) and the first (or the last) bucket in the 
        histogram has zero value-range (i.e one value).
      dee11f96
    • Sergey Petrunya's avatar
      MDEV-5926: EITS: Histogram estimates for column=least_possible_value are wrong · ad842b5f
      Sergey Petrunya authored
      [Attempt #2]
      - Use a new selectivity calculation formula in Histogram::point_selectivity. 
        The formula is different from the old one because it was developed from scratch.
        it doesn't have any possible division-by-zero problems.
      ad842b5f