diff s4-funcs.sh @ 357:78c0a2b43ec1

More deactivation of debug log
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 27 Oct 2016 17:05:36 +0859
parents c087423c8234
children 8166096f4b36
line wrap: on
line diff
--- a/s4-funcs.sh	Thu Oct 27 16:54:08 2016 +0859
+++ b/s4-funcs.sh	Thu Oct 27 17:05:36 2016 +0859
@@ -510,7 +510,6 @@
   query "update par set val=\"$3\" where sessid='$session' and var='$1' and type='$2';"
 }
 getpar() {
-err getpar: "select val from par where var='$1' and sessid='$session' $2;"
   val=`query "select val from par where var='$1' and sessid='$session' $2;"`
 ## err getpar/val1: "val=[$val]"
   if [ -z "$val" ]; then
@@ -978,7 +977,6 @@
   # expireをセット
   # loginの先にどの画面に行くかの状態遷移表書式を決める
   expire=`expire ${2:-"+1min"}`
-err addsession "$1" exp=$expire
   query "replace into session values('$1', '$expire');"
   # Remove old session parameters
   now=`expire now`
@@ -2860,7 +2858,7 @@
 	max(case key when 'owner'
 	 then (SELECT gecos FROM gecoses WHERE name=val) END) as gecos
  from ${2}_s c group by $pk) b on a.$pk=b.$pk $4;"}
-  err dt:SQL="`echo \"$presql$sql\"|tr -d '\n'`"
+  ## err dt:SQL="`echo \"$presql$sql\"|tr -d '\n'`"
   cat<<EOF | sed "s,\(<TR><TD>\)\([1-9][0-9]*\)\(#[0-9a-fxs]*\)*</TD>,\1$elink$dvlink</TD>,"
 <div> <!-- for folding by check button (s4-funcs.sh:dumptable()) -->
 <div class="dumptable">

yatex.org