Automatic transactions were removed in V8.3.1 Build 35, thus two new lines of code (transaction begin & transaction end) need to be added to the supporting macro, see below. (Click here for more info.)
GSK |
#If this cache log being published is "Found" write the find count number into the User Data field IF Seek($_PublishCode) $Found = sqlite("sql","select g_FoundLog(Ltype) from LogsAll where rowid = $_PublishId2","") IF $Found = "1" $Count=Left("00000",5-Len(PublishTags("%count"))) + PublishTags("%count") transaction action=begin $d_UserData=$Count transaction action=end ENDIF ENDIF |