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 diff
1.1 --- a/s4-funcs.sh Wed Jun 03 21:32:10 2020 +0900 1.2 +++ b/s4-funcs.sh Wed Jun 03 21:33:25 2020 +0900 1.3 @@ -689,10 +689,12 @@ 1.4 getpar() { 1.5 # err GETPAR=$1, _user=$_user 1.6 val="" 1.7 - case "$1" in # Dirty cache mechanism for high-load average 1.8 - user) val=$_user ;; 1.9 - skey) val=$_skey ;; 1.10 - esac 1.11 + if false; then # 2020/6/3 Temporary disabled for joingrp() 1.12 + case "$1" in # Dirty cache mechanism for high-load average 1.13 + user) val=$_user ;; 1.14 + skey) val=$_skey ;; 1.15 + esac 1.16 + fi 1.17 val=${val:-`query "select val from par where var='$1' and sessid='$session' $2;"`} 1.18 ## err getpar/val1: "val=[$val]" 1.19 if [ -z "$val" ]; then