https://bugzilla.wikimedia.org/show_bug.cgi?id=28286
Max Semenik <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Max Semenik <[email protected]> 2011-03-28 15:09:03 UTC --- (In reply to comment #2) > The behaviour of how $wgHitcounterUpdateFreq updates is what I see on my > computer. However the code seems to indicate the more expected behaviour > should > happen (it does a group by on hc_id, which is pointless unless you somehow get > duplicate rows into that table). On my computer, inserting a duplicate row > into > the hitcounter table doesn't create two identical rows (As one expects in a > relational database...). C:\Projects\MediaWiki\maintenance>php sql.php > insert into hitcounter values(1); Query OK, 1 row(s) affected > insert into hitcounter values(1); Query OK, 1 row(s) affected > select count(*) from hitcounter; stdClass Object ( [count(*)] => 2 ) > select * from hitcounter; stdClass Object ( [hc_id] => 1 ) stdClass Object ( [hc_id] => 1 ) > -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
