[MDEV-2340] LP:665643 - Regressions in code coverage in sql_join_cache in maria-5.3-mwl128 Created: 2010-10-23  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Philip Stoev (Inactive) Assignee: Igor Babaev
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug665643.xml    

 Description   

The code coverage for sql_join_cache.cc has gone down significantly in maria-5.3-mwl128 as compared to 5.3-main. The report is available here:

http://fedora13.selfip.org/lcov/maria-5.3/sql/sql_join_cache.cc.gcov.html
http://fedora13.selfip.org/lcov/maria-5.3-mwl128/sql/sql_join_cache.cc.gcov.html

The following items are not covered:

  • the bottom of JOIN_CACHE::alloc_buffer()
  • Several JOIN_CACHE_HASHED and JOIN_CACHE_BNLH functions
  • several bkah* and JOIN_CACHE_BKAH functions


 Comments   
Comment by Philip Stoev (Inactive) [ 2010-10-23 ]

Re: Regressions in code coverage in sql_join_cache in maria-5.3-mwl128
The reason seems to be that the join_cache test failed in the gcov build:

main.join_cache w1 [ fail ]
Test ended at 2010-10-23 19:22:36

CURRENT_TEST: main.join_cache
— /home/buildbot/rqg-buildbot-slave/perpush-gcov/build/mysql-test/r/join_cache.result 2010-10-23 18:43:27.124943000 +0300
+++ /home/buildbot/rqg-buildbot-slave/perpush-gcov/build/mysql-test/r/join_cache.reject 2010-10-23 19:22:36.159247624 +0300
@@ -4041,8 +4041,8 @@
SГЈo Paulo Brazil
London United Kingdom
Santiago de Chile Chile
-Alexandria Egypt
Cairo Egypt
+Alexandria Egypt
Jakarta Indonesia
Delhi India
Calcutta [Kolkata] India

...

Build and compile information are available from http://buildbot.askmonty.org/buildbot/builders/gcov/builds/38 . No idea why.

Comment by Philip Stoev (Inactive) [ 2010-10-24 ]

Re: Regressions in code coverage in sql_join_cache in maria-5.3-mwl128
Igor pushed a --sort-result test case fix and the coverage percentages are back to normal.

Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ]

Launchpad bug id: 665643

Generated at Thu Feb 08 06:41:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.