1. 17 Jun, 2013 2 commits
  2. 16 Jun, 2013 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-4576 : Aria storage engine's temporary files might not be deleted (Errcode : 13) · c61c1d7c
      Vladislav Vaintroub authored
      See also MySQL Bug #39750  and similar ones.
      
      Fix my_delete() on Windows, to safely remvoe files on Windows, including files  that are opened by another threads in the same process, antiviruses and  backup applications. If file to be deleted is  also  opened by another thread, the file is renamed to unique name prior to deletion - this makes it possible to create file with the same name right after deletion.
      With this patch my_delete_allow_opened() becomes obsolete and is replaced with my_delete().
      
      This patch is rework of the patch  http://lists.mysql.com/commits/59327  for MySQL bug#39750.
      c61c1d7c
  3. 15 Jun, 2013 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-4601 : Allow MariaDB to be build without non-blocking client. · 4b058643
      Vladislav Vaintroub authored
      Non-blocking client currently can be build on Windows, GCC on i386 and x64, or any OS wth ucontext.h header. Prior to this patch, build failed if neither of these conditions is true.
      Fix to avoid compiler errors in these case - non-blocking API would not be useful on , but otherwise everything will work as before.
      4b058643
  4. 17 Jun, 2013 2 commits
  5. 15 Jun, 2013 1 commit
  6. 14 Jun, 2013 1 commit
  7. 13 Jun, 2013 7 commits
  8. 12 Jun, 2013 4 commits
  9. 11 Jun, 2013 2 commits
  10. 10 Jun, 2013 1 commit
  11. 12 Jun, 2013 1 commit
  12. 11 Jun, 2013 1 commit
  13. 07 Jun, 2013 3 commits
  14. 09 Jun, 2013 1 commit
    • Michael Widenius's avatar
      - Added -Wno-uninitialized to avoid warnings in release builds · 3bc814be
      Michael Widenius authored
        (uninitalized variables are detected by DBUG builds)
      - Fixed wrong declaration which cased compile failure on 32 bit
      
      cmake/build_configurations/mysql_release.cmake:
        Added -Wno-uninitialized to avoid warnings in release builds
        (uninitalized variables are detected by DBUG builds)
      include/maria.h:
        Fixed wrong declaration which cased compile failure on 32 bit
      include/myisam.h:
        Fixed wrong declaration which cased compile failure on 32 bit
      3bc814be
  15. 06 Jun, 2013 2 commits
    • unknown's avatar
      MDEV-4593: p_s: crash in simplify_joins with delete using subselect from view · ad947563
      unknown authored
      mysql_derived_merge_for_insert() should not be called for views or derived tables which are not put (directly or via other views) in main SELECT_LEX "join list".
      ad947563
    • Michael Widenius's avatar
      Fixed some cache variables that could be set to higher value than what the code supported (size_t) · 57307860
      Michael Widenius authored
      Fixed some cases that didn't work with > 4G buffers.
      Fixed compiler warnings
      
      
      include/mysql_com.h:
        Avoid compiler warning with strncmp()
      sql-common/client.c:
        Fixed long comment; Added ()
      sql/filesort.cc:
        Fix code to get filesort to work with big buffers
      sql/sys_vars.cc:
        Fixed some cache variables that could be set to higher value than the size_t
        Limit query cache to ULONG_MAX as the query cache buffer variables are ulong
      storage/federatedx/ha_federatedx.cc:
        Remove not used variable
      storage/maria/ha_maria.cc:
        Fix that bulk_insert() works with big buffers
      storage/maria/ma_write.c:
        Fix that bulk_insert() works with big buffers
      storage/myisam/ha_myisam.cc:
        Fix that bulk_insert() works with big buffers
      storage/myisam/mi_write.c:
        Fix that bulk_insert() works with big buffers
      storage/sphinx/snippets_udf.cc:
        Fixed compiler warnings
      57307860
  16. 05 Jun, 2013 1 commit
    • Michael Widenius's avatar
      -Run test suite with smaller aria keybuffer size (to make it possible to run... · bef95a4b
      Michael Widenius authored
      -Run test suite with smaller aria keybuffer size (to make it possible to run more tests in parallel)
      -Added test and extra code to ensure we don't leave keyread on for a handler table.
      -Create on disk temporary files always with long data pointers if SQL_SMALL_RESULT is not used. This ensures that we can handle temporary files bigger than 4G.
      
      mysql-test/include/default_mysqld.cnf:
        Run test suite with smaller aria keybuffer size
      mysql-test/suite/maria/maria3.result:
        Run test suite with smaller aria keybuffer size
      mysql-test/suite/sys_vars/r/aria_pagecache_buffer_size_basic.result:
        Run test suite with smaller aria keybuffer size
      sql/handler.cc:
        Disable key read (extra safety if something went wrong)
      sql/multi_range_read.cc:
        Ensure we have don't leave keyread on for secondary_file
      sql/opt_range.cc:
        Simplify code with mark_columns_used_by_index_no_reset()
        Ensure that read_keys_and_merge() disableds keyread if it enables it
      sql/opt_subselect.cc:
        Remove not anymore used argument for create_internal_tmp_table()
      sql/sql_derived.cc:
        Remove not anymore used argument for create_internal_tmp_table()
      sql/sql_select.cc:
        Use 'enable_keyread()' instead of calling HA_EXTRA_RESET. (Makes debugging easier)
        Create on disk temporary files always with long data pointers if SQL_SMALL_RESULT is not used. This ensures that we can handle temporary files bigger than 4G.
        Remove not anymore used argument for create_internal_tmp_table()
        More DBUG
      sql/sql_select.h:
        Remove not anymore used argument for create_internal_tmp_table()
      bef95a4b
  17. 01 Jun, 2013 2 commits
  18. 30 May, 2013 1 commit
  19. 28 May, 2013 1 commit
  20. 23 May, 2013 1 commit
  21. 22 May, 2013 1 commit
  22. 27 May, 2013 1 commit
  23. 24 May, 2013 1 commit
  24. 21 May, 2013 1 commit