s4

changeset 635:ae37fefb7a2b

Adjust indentations
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 29 Apr 2020 18:28:47 +0900
parents e09a5e6c79c6
children b73ef3fd0e19
files s4-funcs.sh
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Tue Apr 28 14:16:52 2020 +0900
     1.2 +++ b/s4-funcs.sh	Wed Apr 29 18:28:47 2020 +0900
     1.3 @@ -3514,15 +3514,15 @@
     1.4  	## XX: DIRTY Hack Ends here
     1.5  	## We should keep blog's owner as a single column which has
     1.6  	## foreign key constraint with primary key of grp/user.
     1.7 -       else
     1.8 +      else
     1.9  	 query "$sql"
    1.10 -       fi
    1.11 -     done
    1.12 -     # Then, set up $pval for further insertion of tbl_s and tbl_m
    1.13 -     for col in `gettblpkey $tbl`; do
    1.14 -       val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'`
    1.15 -       pval="$pval${pval:+, }\"$val\""
    1.16 -     done
    1.17 +      fi
    1.18 +    done
    1.19 +    # Then, set up $pval for further insertion of tbl_s and tbl_m
    1.20 +    for col in `gettblpkey $tbl`; do
    1.21 +      val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'`
    1.22 +      pval="$pval${pval:+, }\"$val\""
    1.23 +    done
    1.24    else
    1.25      # New entry
    1.26      # Generate values() for primary keys