Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1425)

Delta Between Two Patch Sets: DB/print_cache.php

Issue 335100043: DB with histogram
Left Patch Set: Created 6 years, 4 months ago
Right Patch Set: DB Created 6 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « DB/mem_connect.php ('k') | DB/request.php » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 <?php 1 <?php
2 //ini_set('display_errors', 1); 2 //we print every data stored into the cache
3 include_once('mem_connect.php'); 3 include_once('mem_connect.php'); //connect to the memcached module
4 4
5 ?> 5 ?>
6 <h1>Welcome to the marvelous SDN cache</h1> 6 <h1>Welcome to the marvelous SDN cache</h1>
7 </br> 7 </br>
8 <?php 8 <?php
9 //this loop print every value linked to every key stored into the cache
9 $keys = $memcache->getAllKeys(); 10 $keys = $memcache->getAllKeys();
10 foreach ($keys as $item) { 11 foreach ($keys as $item) {
11 $j_data = $memcache->get($item); 12 $j_data = $memcache->get($item);
12 print_r($j_data); 13 print_r($j_data);
13 } 14 }
14 ?> 15 ?>
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b