Merge lp:~percona-dev/percona-patches/5.0.84-fix-bug-352840 into lp:~percona-dev/percona-patches/5.0.84

Proposed by Yasufumi Kinoshita
Status: Merged
Merge reported by: Yasufumi Kinoshita
Merged at revision: not available
Proposed branch: lp:~percona-dev/percona-patches/5.0.84-fix-bug-352840
Merge into: lp:~percona-dev/percona-patches/5.0.84
Diff against target: None lines
To merge this branch: bzr merge lp:~percona-dev/percona-patches/5.0.84-fix-bug-352840
Reviewer Review Type Date Requested Status
Vadim Tkachenko Approve
Review via email: mp+9560@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Vadim Tkachenko (vadim-tk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'innodb_io_pattern.patch'
--- innodb_io_pattern.patch 2009-07-30 02:52:30 +0000
+++ innodb_io_pattern.patch 2009-08-03 01:44:01 +0000
@@ -560,7 +560,7 @@
560 #ifndef NO_EMBEDDED_ACCESS_CHECKS560 #ifndef NO_EMBEDDED_ACCESS_CHECKS
561 static const char *grant_names[]={561 static const char *grant_names[]={
562 "select","insert","update","delete","create","drop","reload","shutdown",562 "select","insert","update","delete","create","drop","reload","shutdown",
563@@ -4108,6 +4119,67 @@563@@ -4108,6 +4119,72 @@
564 DBUG_RETURN(res);564 DBUG_RETURN(res);
565 }565 }
566 566
@@ -574,6 +574,11 @@
574+ DBUG_ENTER("innodb_io_pattern_fill_table");574+ DBUG_ENTER("innodb_io_pattern_fill_table");
575+ int returnable= 0;575+ int returnable= 0;
576+576+
577+ /* deny access to non-superusers */
578+ if (check_global_access(thd, PROCESS_ACL)) {
579+ DBUG_RETURN(0);
580+ }
581+
577+ /* We cannot use inline functions of InnoDB here */582+ /* We cannot use inline functions of InnoDB here */
578+583+
579+ /* !!!!!ATTENTION!!!!!: This function is not protected by mutex for performance. */584+ /* !!!!!ATTENTION!!!!!: This function is not protected by mutex for performance. */
580585
=== modified file 'innodb_show_bp.patch'
--- innodb_show_bp.patch 2008-11-15 19:45:32 +0000
+++ innodb_show_bp.patch 2009-08-03 01:44:01 +0000
@@ -386,7 +386,7 @@
386 #endif386 #endif
387 387
388 #ifndef NO_EMBEDDED_ACCESS_CHECKS388 #ifndef NO_EMBEDDED_ACCESS_CHECKS
389@@ -4042,6 +4046,13 @@389@@ -4042,6 +4046,19 @@
390 DBUG_RETURN(res);390 DBUG_RETURN(res);
391 }391 }
392 392
@@ -394,6 +394,12 @@
394+{394+{
395+ DBUG_ENTER("fill_innodb_bp_content");395+ DBUG_ENTER("fill_innodb_bp_content");
396+ int res= 0;396+ int res= 0;
397+
398+ /* deny access to non-superusers */
399+ if (check_global_access(thd, PROCESS_ACL)) {
400+ DBUG_RETURN(0);
401+ }
402+
397+ innodb_I_S_buffer_pool_content(thd, tables);403+ innodb_I_S_buffer_pool_content(thd, tables);
398+ DBUG_RETURN(res);404+ DBUG_RETURN(res);
399+}405+}

Subscribers

People subscribed via source and target branches

to all changes: