When i login to site i catch error
Feb 8 11:36:59 db postgres[2962]: [2-1] web@t1 192.168.100.106(45813) {23505} ERROR: duplicate key value violates unique constraint "flag_content_fid_content_id_uid_sid_key"
Feb 8 11:36:59 db postgres[2962]: [2-2] web@t1 192.168.100.106(45813) {23505} DETAIL: Key (fid, content_id, uid, sid)=(2, 2527, 1, 0) already exists.
Feb 8 11:36:59 db postgres[2962]: [2-3] web@t1 192.168.100.106(45813) {23505} STATEMENT: UPDATE flag_content SET uid='1', sid='0'
Feb 8 11:36:59 db postgres[2962]: [2-4] WHERE (uid = '0') AND (sid = '119')
I try to fix this pls review my patch
Comments
Comment #1
zviryatko commentedI write another patch.
Comment #2
zviryatko commentedComment #3
joachim commentedThis seems weird to me. If a query is started, $query can't be empty.
I'd like some comments on the new bits of code to explain what's being done.
Also, this needs a run through Coder review for coding standards.
Comment #4
ivnishDrupal 7 is EOL. Issue will be closed, but patches are still here