|
|
@@ -43,8 +43,8 @@ create class if not exists /test/性能AaB_Cache (
|
|
|
)with core=cacheonly, autosearch=true , version=false , key=manu, alias='性能测试' , nickname='性能AaB_Cache'
|
|
|
;
|
|
|
|
|
|
-insert into /test/性能AaB_Cache (id,主机AaB,v_date,v_timestamp) values ('性能AaB_Cache:test',"服务器1","2026-04-02","2026-04-02 15:55:55");
|
|
|
-insert into /test/性能AaB_Cache (id,主机AaB,v_date,v_timestamp) values ('性能AaB_Cache:test2',"服务器2","1754-08-31","1901-08-31 15:55:55");
|
|
|
+insert into /test/性能AaB_Cache (id,主机AaB,v_date,v_timestamp) values ('性能AaB_Cache:test',"[服务器1]","2026-04-02","2026-04-02 15:55:55");
|
|
|
+insert into /test/性能AaB_Cache (id,主机AaB,v_date,v_timestamp) values ('性能AaB_Cache:test2',"*服务器2?","1754-08-31","1901-08-31 15:55:55");
|
|
|
|
|
|
select * from /test/性能AaB_Cache where v_date='1754-08-31' refresh
|
|
|
/**
|
|
|
@@ -80,7 +80,14 @@ matchcount("connect",{"_all":["性能AaB_Cache:test2"]},1)
|
|
|
**/
|
|
|
;
|
|
|
|
|
|
-select count(*) from /test/性能AaB_Cache where 主机AaB='服务器1'
|
|
|
+select count(*) from /test/性能AaB_Cache where 主机AaB='[服务器1]'
|
|
|
+/**
|
|
|
+output()
|
|
|
+count(1)
|
|
|
+**/
|
|
|
+;
|
|
|
+
|
|
|
+select count(*) from /test/性能AaB_Cache where 主机AaB='*服务器2?'
|
|
|
/**
|
|
|
output()
|
|
|
count(1)
|