Mercurial > hgrepos > hgweb.cgi > s4
changeset 753:de9e56845da3 feature-world
Temporary disable variable cache'ing for joingrp()
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 03 Jun 2020 21:33:25 +0900 |
parents | c22e71dc8d9b |
children | 5bab8644024a |
files | s4-funcs.sh |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Wed Jun 03 21:32:10 2020 +0900 +++ b/s4-funcs.sh Wed Jun 03 21:33:25 2020 +0900 @@ -689,10 +689,12 @@ getpar() { # err GETPAR=$1, _user=$_user val="" - case "$1" in # Dirty cache mechanism for high-load average - user) val=$_user ;; - skey) val=$_skey ;; - esac + if false; then # 2020/6/3 Temporary disabled for joingrp() + case "$1" in # Dirty cache mechanism for high-load average + user) val=$_user ;; + skey) val=$_skey ;; + esac + fi val=${val:-`query "select val from par where var='$1' and sessid='$session' $2;"`} ## err getpar/val1: "val=[$val]" if [ -z "$val" ]; then