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 diff
     1.1 --- a/s4-blog.sh	Mon Nov 28 01:20:47 2016 +0859
     1.2 +++ b/s4-blog.sh	Mon Nov 28 07:46:35 2016 +0859
     1.3 @@ -155,7 +155,8 @@
     1.4    atime=`query "SELECT time FROM acclog
     1.5  		WHERE tbl='blog' AND tblrowid=$rowid AND user='$user';"`
     1.6    iconcleaner=$tmpd/iconcleaner.$$
     1.7 -  # Here calling query() causes pipe stack.  Revert to "sq $db" (from r365)
     1.8 +  # *** DO NOT USE query() and use "sq $db" here ***
     1.9 +  # because the next block in pipe line uses query() repeatedly.
    1.10    sq $db<<EOF |
    1.11  WITH a_s AS (
    1.12    SELECT id,