fixed cache saimod

This commit is contained in:
Ulf Gebhardt 2016-02-09 00:08:08 +01:00
parent d0c0197a30
commit 90de2d6631
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
namespace SYSTEM\SQL;
class SYS_SAIMOD_CACHE extends \SYSTEM\DB\QQ {
public static function get_class(){return \get_class();}
public static function pTsql(){return
'SELECT *, encode(data,\'base64\') FROM system.cache ORDER BY "ID" ASC LIMIT 100;';
public static function pgsql(){return
'SELECT * FROM system.cache LIMIT 100;';
}
public static function mysql(){return
'SELECT * FROM system_cache LIMIT 100;';

View File

@ -2,5 +2,5 @@
<td>${cache}</td>
<td>${ident}</td>
<td>${type}</td>
<td><img src="data:image/png;base64,'.${encode}"></td>
<td><a href="./api.php?call=cache&id=${cache}&ident=${ident}" target="blank">Link</a></td>
</tr>