- 05 Jun, 2014 4 commits
-
-
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
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
-
- 04 Jun, 2014 3 commits
-
-
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
-
- 03 Jun, 2014 2 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.
-
- 02 Jun, 2014 2 commits
-
-
Sergei Golubchik authored
-
Alexander Barkov authored
-
- 30 May, 2014 2 commits
-
-
Alexander Barkov authored
Backporting functions from MySQL-5.6: - INET6_ATON() - INET6_NTOA() - IS_IPV4() - IS_IPV4_COMPAT() - IS_IPV4_MAPPED() - IS_IPV6()
-
Alexander Barkov authored
separate files item_inetfunc.h and item_inetfunc.cc.
-
- 26 May, 2014 2 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
-
- 13 May, 2014 1 commit
-
-
Sergei Golubchik authored
-
- 10 May, 2014 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 09 May, 2014 5 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Jan Lindström authored
on select from I_S.INNODB_CHANGED_PAGES Analysis: limit_lsn_range_from_condition() incorrectly parses start_lsn and/or end_lsn conditions. Fix from SergeyP. Added some test cases.
-
Jan Lindström authored
on select from I_S.INNODB_CHANGED_PAGES Analysis: limit_lsn_range_from_condition() incorrectly parses start_lsn and/or end_lsn conditions. Fix from SergeyP. Added some test cases.
-
- 08 May, 2014 7 commits
-
-
unknown authored
All underlying tables should share the same lock type.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
make this innodb-only patch work for other engines as well
-
Sergei Golubchik authored
revno: 4777 committer: Marko Mäkelä <marko.makela@oracle.com> branch nick: mysql-5.6 timestamp: Fri 2013-02-15 10:32:25 +0200 message: Bug#16216513 INPLACE ALTER DISABLED FOR PARTITIONED TABLES
-
- 07 May, 2014 10 commits
-
-
Sergei Golubchik authored
revno: 5826 committer: Shaohua Wang <shaohua.wang@oracle.com> branch nick: mysql-5.6-bugfix2 timestamp: Wed 2014-02-19 16:41:14 +0800 message: BUG#18233051 - FTS: FAILING ASSERTION: NUM_TOKEN < MAX_PROXIMITY_ITEM
-
Sergei Golubchik authored
revno: 5820 committer: Nisha Gopalakrishnan <nisha.gopalakrishnan@oracle.com> branch nick: mysql-5.6-13975225 timestamp: Mon 2014-02-17 15:12:16 +0530 message: BUG# 13975227: ONLINE OPTIMIZE TABLE FOR INNODB TABLES
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
successful connection, not when a client reply packet is received (that still might be invalid). (test case was merged with perfschema 5.6.17)
-
Sergei Golubchik authored
committer: Christopher Powers <chris.powers@oracle.com> branch nick: mysql-5.6-bug16750433 timestamp: Fri 2013-06-28 07:48:12 -0500 message: Bug#16750433 - THE STATEMENT DIGEST DOES NOT SHOW THE SLAVE SQL THREAD STATEMENTS revno: 5414.1.1 committer: Marc Alff <marc.alff@oracle.com> branch nick: mysql-5.6-bug17271055 timestamp: Thu 2013-08-29 12:29:25 +0200 message: Bug#17271055 "STATEMENT/COM" EVENT MEANING IS UNCLEAR (test case was merged with perfschema 5.6.17)
-
Sergei Golubchik authored
committer: Marc Alff <marc.alff@oracle.com> branch nick: mysql-5.6-bug17156507 timestamp: Tue 2013-07-23 15:08:32 +0200 message: Bug#17156507 SUCCESSFUL CONNECTION ATTEMPT DOESN'T RESET THE SUM_CONNECT_ERRORS COUNTER (test case was merged with perfschema 5.6.17)
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-