webbuild-cgi: fix for lost messages in social log
This commit is contained in:
parent
51a0c3a449
commit
dab56b358f
@ -217,7 +217,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
|
|||||||
fi
|
fi
|
||||||
FROMID=`sqlite3 $WEBBUILD_STATEDIR/webbuild.db "$LASTID_QUERY"`
|
FROMID=`sqlite3 $WEBBUILD_STATEDIR/webbuild.db "$LASTID_QUERY"`
|
||||||
fi
|
fi
|
||||||
sqlite3 $WEBBUILD_STATEDIR/webbuild.db "SELECT *,strftime('%s',time) FROM social_log WHERE id>$FROMID LIMIT 100" | while read line; do
|
sqlite3 $WEBBUILD_STATEDIR/webbuild.db "SELECT *,strftime('%s',time) FROM social_log WHERE id>=$FROMID LIMIT 100" | while read line; do
|
||||||
SAVEIFS=$IFS
|
SAVEIFS=$IFS
|
||||||
IFS="|"
|
IFS="|"
|
||||||
set -- $line
|
set -- $line
|
||||||
|
Loading…
Reference in New Issue
Block a user