# HG changeset patch # User HIROSE Yuuji # Date 1588152527 -32400 # Node ID ae37fefb7a2b58118acdc063bd5d12f585fd5e9d # Parent e09a5e6c79c6d276846e74ab59e01f02c49cd6ab Adjust indentations diff -r e09a5e6c79c6 -r ae37fefb7a2b s4-funcs.sh --- a/s4-funcs.sh Tue Apr 28 14:16:52 2020 +0900 +++ b/s4-funcs.sh Wed Apr 29 18:28:47 2020 +0900 @@ -3514,15 +3514,15 @@ ## XX: DIRTY Hack Ends here ## We should keep blog's owner as a single column which has ## foreign key constraint with primary key of grp/user. - else + else query "$sql" - fi - done - # Then, set up $pval for further insertion of tbl_s and tbl_m - for col in `gettblpkey $tbl`; do - val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'` - pval="$pval${pval:+, }\"$val\"" - done + fi + done + # Then, set up $pval for further insertion of tbl_s and tbl_m + for col in `gettblpkey $tbl`; do + val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'` + pval="$pval${pval:+, }\"$val\"" + done else # New entry # Generate values() for primary keys