Mercurial > hgrepos > hgweb.cgi > s4
changeset 381:879d7f1cd676
More explanatory comment about previous commit.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 28 Nov 2016 07:46:35 +0859 |
parents | b0d1b4914789 |
children | 7b1c44bf12e8 |
files | s4-blog.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-blog.sh Mon Nov 28 01:20:47 2016 +0859 +++ b/s4-blog.sh Mon Nov 28 07:46:35 2016 +0859 @@ -155,7 +155,8 @@ atime=`query "SELECT time FROM acclog WHERE tbl='blog' AND tblrowid=$rowid AND user='$user';"` iconcleaner=$tmpd/iconcleaner.$$ - # Here calling query() causes pipe stack. Revert to "sq $db" (from r365) + # *** DO NOT USE query() and use "sq $db" here *** + # because the next block in pipe line uses query() repeatedly. sq $db<<EOF | WITH a_s AS ( SELECT id,