~knielsen/ourdelta/bug_484127_484120_2

« back to all changes in this revision

Viewing changes to mysql/5.0/percona_maintained/innodb_show_bp.patch

  • Committer: Arjen Lentz
  • Date: 2009-10-01 11:15:22 UTC
  • mfrom: (54.1.31 ourdelta-5.0.86)
  • Revision ID: arjen@openquery.com-20091001111522-3qbkgich9qfmzhyo
Tags: mysql-5.0.86-d9
Merge from ourdelta-5.0.86 work tree, preparing 5.0.86-d9 ourdelta build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
 #endif
387
387
 
388
388
 #ifndef NO_EMBEDDED_ACCESS_CHECKS
389
 
@@ -4042,6 +4046,13 @@
 
389
@@ -4042,6 +4046,19 @@
390
390
   DBUG_RETURN(res);
391
391
 }
392
392
 
394
394
+{
395
395
+  DBUG_ENTER("fill_innodb_bp_content");
396
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
403
+  innodb_I_S_buffer_pool_content(thd, tables);
398
404
+  DBUG_RETURN(res);
399
405
+}