- 28 Jun, 2013 4 commits
-
-
Alexander Barkov authored
pending merges: Alexander Barkov 2013-06-28 A clean-up for MDEV-4634
-
Alexander Barkov authored
modified: sql/time.cc
-
Alexander Barkov authored
modified: mysql-test/r/type_date.result mysql-test/r/type_datetime.result mysql-test/r/type_time.result mysql-test/t/type_date.test mysql-test/t/type_datetime.test mysql-test/t/type_time.test sql/item_func.cc sql/item_timefunc.cc sql/sql_time.cc sql/sql_time.h pending merges: Alexander Barkov 2013-06-28 MDEV-4634 Crash in CONVERT_TZ
-
Alexander Barkov authored
Item_func_min_max::get_date() did not check the returned value against the fuzzy_date flags, so it could return a bad value to the caller that expects a good date (e.h. CONVERT_TZ). modified: mysql-test/r/type_date.result mysql-test/r/type_datetime.result mysql-test/r/type_time.result mysql-test/t/type_date.test mysql-test/t/type_datetime.test mysql-test/t/type_time.test sql/item_func.cc sql/item_timefunc.cc sql/mysql_priv.h sql/time.cc
-
- 27 Jun, 2013 1 commit
-
-
Vladislav Vaintroub authored
Do not use x64 assembler implementation in x32.
-
- 22 Jun, 2013 1 commit
-
-
Sergei Golubchik authored
fix the code to compile w/o perfomance schema
-
- 18 Jun, 2013 1 commit
-
-
Alexander Barkov authored
Also, fixing a bug in STR_TO_DATE(). It erroneously returned error in strict mode for dates like '0000-01-01' (zero year, but non-zero month and day). According to the manual: - NO_ZERO_DATE disallows 0000-00-00 (all date parts are zeros) - NO_ZERO_IN_DATE disallows zero month (YYYY-00-DD) or day (YYYY-MM-00). 0000-01-01 is a valid date, even in strict mode. modified: mysql-test/r/func_time.result mysql-test/r/strict.result mysql-test/t/func_time.test mysql-test/t/strict.test sql/item_timefunc.cc sql/sql_time.h pending merges: Alexander Barkov 2013-06-17 MDEV-4635 Crash in UNIX_TIMESTAMP(STR_TO_DAT...
-
- 17 Jun, 2013 4 commits
-
-
Vladislav Vaintroub authored
Remove special handling for ~ in the middle of the path in cleanup_dir_name() - according to Monty, this was ancient code that tried to emulate Emacs behavior
-
Vladislav Vaintroub authored
-
Alexander Barkov authored
modified: mysql-test/r/func_time.result mysql-test/t/func_time.test sql/item_timefunc.cc sql/mysql_priv.h
-
Alexander Barkov authored
modified: mysql-test/r/ps_2myisam.result mysql-test/r/ps_3innodb.result mysql-test/r/ps_4heap.result mysql-test/r/ps_5merge.result mysql-test/r/type_datetime_hires.result mysql-test/suite/maria/r/ps_maria.result mysql-test/t/type_datetime_hires.test sql/item_timefunc.h
-
- 16 Jun, 2013 1 commit
-
-
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.
-
- 15 Jun, 2013 1 commit
-
-
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.
-
- 17 Jun, 2013 1 commit
-
-
unknown authored
-
- 15 Jun, 2013 1 commit
-
-
Sergei Golubchik authored
Partitioning didn't store the name of default storage engine for partitions in the frm file - it only store the typecode. Typecodes aren't stable, and might vary depending on the order in which storage engines are loaded (can be changed even from my.cnf without recompilation). As a temporary workaround for 5.5, we hard-code Aria's typecode, to make sure it never changes.
-
- 14 Jun, 2013 1 commit
-
-
Sergei Golubchik authored
Add mysql_plugin.1 from mysql-5.5.30.tar.gz
-
- 13 Jun, 2013 7 commits
-
-
Sergei Golubchik authored
SHOW PROCESSLIST might see a thread that started executing a query *after* processlist has started. Don't show a negative or huge wrapped-around query execution time.
-
Sergei Golubchik authored
fix incorrect assert
-
Sergei Golubchik authored
fix I_S table definitions in sql_show.cc
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-4444 Server crashes with "safe_mutex: Trying to destroy a mutex share->mutex that was locked" on attempt to recover an archive table
-
Sergei Golubchik authored
-
Sergei Golubchik authored
change WARN_PLUGIN_DELETE_BUILTIN to ER_PLUGIN_DELETE_BUILTIN
-
- 12 Jun, 2013 4 commits
-
-
Sergei Golubchik authored
Patches provided by Jan Stanek and Honza Horak
-
Sergei Golubchik authored
reset SERVER_MORE_RESULTS_EXISTS *after* sending the OUT packet to the client. the next packet will be the last one. patch by Georg Richter.
-
Sergei Golubchik authored
fix the init script for .deb packages (rpm's were fine already)
-
Sergei Golubchik authored
protect THD::db with THD::LOCK_thd_data
-
- 11 Jun, 2013 2 commits
-
-
Sergei Golubchik authored
add a new command-line option --pam-use-cleartext-plugin
-
Sergei Golubchik authored
recognize the constant, to be compatible with MySQL clients.
-
- 10 Jun, 2013 1 commit
-
-
Sergei Golubchik authored
backport mysql --binary-mode (bug#11747577, bug#33048)
-
- 12 Jun, 2013 1 commit
-
-
Elena Stepanova authored
Additional fix for remaining issues with sys_vars.* tests
-
- 11 Jun, 2013 1 commit
-
-
Michael Widenius authored
-
- 07 Jun, 2013 3 commits
-
-
Sergei Golubchik authored
MDEV-4468 Assertion `error != 0' fails or timeout occurs on select from a FEDERATED table which points at a non-existent table Federated uses SHOW TABLE STATUS LIKE for ::info(). For nonexisting remote table it doesn't fail, but returns an empty result set. We need to fake the error in the handler.
-
Sergei Golubchik authored
MDEV-4480 Assertion `inited == NONE' fails on closing a connection with open handler on temporary table
-
Sergei Golubchik authored
-
- 09 Jun, 2013 1 commit
-
-
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
-
- 06 Jun, 2013 2 commits
-
-
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".
-
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
-
- 05 Jun, 2013 1 commit
-
-
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()
-
- 01 Jun, 2013 1 commit
-
-
Vladislav Vaintroub authored
-