- 10 Jun, 2014 1 commit
-
-
Igor Babaev authored
The method JOIN_CACHE::init may fail (return 1) if some conditions on the used join buffer is not satisfied. For example it fails if join_buffer_size is greater than join_buffer_space_limit. The conditions should be checked when running the EXPLAIN command for the query. That's why the method JOIN_CACHE::init has to be called for EXPLAIN commands as well.
-
- 06 Jun, 2014 1 commit
-
-
Alexander Barkov authored
MDEV-6101 Hybrid functions do not add CURRENT_DATE when converting TIME to DATETIME
-
- 05 Jun, 2014 17 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergey Petrunya authored
- When range optimizer cannot the lookup value into [VAR]CHAR(n) column, it should produce: = "Impossible range" for equality = "no range" for non-equalities.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
replace another old "was there a filesort?" test with a correct "did filesort calculate found_rows?" test.
-
Sergei Golubchik authored
simplify test case for MDEV-5898
-
Sergei Golubchik authored
MDEV-5998 MySQL Bug#11756966 - 48958: STORED PROCEDURES CAN BE LEVERAGED TO BYPASS DATABASE SECURITY Merge from mysql-5.6: revno: 3257 committer: Jon Olav Hauglid <jon.hauglid@oracle.com> branch nick: mysql-trunk-bug11756966 timestamp: Thu 2011-07-14 09:32:01 +0200 message: Bug#11756966 - 48958: STORED PROCEDURES CAN BE LEVERAGED TO BYPASS DATABASE SECURITY The problem was that CREATE PROCEDURE/FUCTION could be used to check the existence of databases for which the user had no privileges and therefore should not be allowed to see. The reason was that existence of a given database was checked before privileges. So trying to create a stored routine in a non-existent database would give a different error than trying to create a stored routine in a restricted database. This patch fixes the problem by changing the order of the checks for CREATE PROCEDURE/FUNCTION so that privileges are checked first. This means that trying to create a stored routine in a non-existent database and in a restricted database both will give ER_DBACCESS_DENIED_ERROR error. Test case added to grant.test.
-
Sergei Golubchik authored
when the bundled pcre is used, install its pcre.h in mysql/private/
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
don't use the default storage engine for mysql.gtid_slave_pos, prefer innodb. but alter it to myisam in mtr, because many tests run without innodb.
-
Sergei Golubchik authored
don't use the interval timer when absolute time values are needed
-
Alexander Barkov authored
-
Alexander Barkov authored
"have_warnings" was set to an uninialized value when converting a negative number to datetime.
-
- 04 Jun, 2014 6 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
MDEV-6099 Bad results for DATE_ADD(.., INTERVAL 2000000000000000000.0 SECOND) MDEV-6097 Inconsistent results for CAST(int,decimal,double AS DATETIME) MDEV-6100 No warning on CAST(9000000 AS TIME)
-
Michael Widenius authored
mysys/psi_noop.c: Fixed wrong prototype sql/rpl_gtid.cc: Added #ifndef to hide not used variable storage/connect/connect.cc: Added volatile to avoid compiler warning in gcc 4.8.1 storage/connect/filamvct.cpp: Added volatile to avoid compiler warning in gcc 4.8.1 storage/maria/ma_checkpoint.c: Removed cast to avoid compiler warning storage/myisam/mi_delete_table.c: Added attribute to avoid compiler warning storage/tokudb/ha_tokudb.cc: Use LINT_INIT_STRUCT to avoid compiler warnings storage/tokudb/hatoku_hton.cc: Use LINT_INIT_STRUCT to avoid compiler warnings storage/tokudb/tokudb_card.h: Use LINT_INIT_STRUCT to avoid compiler warnings storage/tokudb/tokudb_status.h: Use LINT_INIT_STRUCT to avoid compiler warnings
-
unknown authored
MDEV-6046: MySQL Bug#11766684 59851: UNINITIALISED VALUE IN ITEM_FUNC_LIKE::SELECT_OPTIMIZE WITH SUBQUERY AND
-
Sergei Golubchik authored
-
unknown authored
We have to run the derived table prepare before the unique table check to mark the derived table (in this case the unique table check can turn that table to materialized one).
-
- 03 Jun, 2014 7 commits
-
-
Sergey Vojtovich authored
table recreation Relaxed InnoDB/XtraDB checks to allow online add/drop of non-materialized virtual columns.
-
Sergey Petrunya authored
- Make get_index_for_order() return correct #rows. changed EXPLAIN outputs are checked - only #rows is different.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
use -ggdb3 if supported
-
Sergei Golubchik authored
Bug #18167356: EXPLAIN W/ EXISTS(SELECT* UNION SELECT*) WHERE ONE OF SELECT* IS DISTINCT FAILS. the bugfix itself was not merged - MariaDB doesn't have this bug.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 02 Jun, 2014 7 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
unknown authored
mysql_derived_merge() made correctly working with views.
-
Sergei Golubchik authored
-
Alexander Barkov authored
-
- 01 Jun, 2014 1 commit
-
-
Sergei Golubchik authored
-