You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VoteHelper::isVoted 54.47% [ap] db:local | SELECTcount(*) as cnt FROM`page_vote`WHERE article_id = X AND user_id = X LIMIT N
VoteHelper::getVoteCount 45.40% [ap] db:local | SELECTcount(*) as cnt FROM`page_vote`LEFT JOIN`ipblocks`ON ((user_id = ipb_user)) WHERE (ifnull(ipb_expiry, N) != X) AND (ifnull(ipb_expiry, N) < N) AND article_id = X ORDER BYtimedescLIMIT N
VoteHelper::addVote 0.09% [ap] db:local | INSERT INTO`page_vote` (article_id,ip,user_id,unique_id,time,vote) VALUES (X,X,X,X,X,X)
VoteHelper::getVotersList 0.02% [ap] db:local | SELECT user_id FROM`page_vote`LEFT JOIN`ipblocks`ON ((user_id = ipb_user)) WHERE (ifnull(ipb_expiry, N) != X) AND (ifnull(ipb_expiry, N) < N) AND article_id = X ORDER BYtimedescLIMIT N
CREATETABLE `page_vote` (
`article_id`int(8) unsigned NOT NULL,
`user_id`int(5) unsigned NOT NULL,
`vote`int(2) NOT NULL,
`ip`varchar(32) NOT NULL,
`time` datetime NOT NULL,
`unique_id`varchar(32) DEFAULT NULL,
KEY `user_id` (`user_id`,`article_id`),
KEY `article_id` (`article_id`),
KEY `unique_vote` (`unique_id`,`article_id`)
) ENGINE=InnoDB
macbre
changed the title
Report column used by insert queries but not referenced by selects
Report column used by insert queries, but not referenced by selects
Feb 19, 2018
macbre
changed the title
Report column used by insert queries, but not referenced by selects
Report columns used by INSERT queries, but not referenced by SELECTs
Feb 19, 2018
The text was updated successfully, but these errors were encountered: