随笔分类 - Redis
摘要:今天重启游戏服务器在连接redis数据库时突然报错:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify
阅读全文
摘要:集合(Set)¶ 附录,常用集合运算: A = {'a', 'b', 'c'} B = {'a', 'e', 'i', 'o', 'u'} inter(x, y): 交集,在集合x和集合y中都存在的元素。 inter(A, B) = {'a'} union(x, y): 并集,在集合x中或集合y中的
阅读全文
摘要:问题代码: 将获取结果放在条件里面做判断报错 解决办法用 try{ }catch(){ }
阅读全文