[MDEV-3533] LP:629684 - Unreachable code in multi_range_read.cc in maria-5.3-dsmrr-cpk Created: 2010-09-03  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: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug629684.xml    

 Description   

The code coverage report highlighted the following line from multi_range_read.cc

720 2322 : if (!*key2) // key1(NULL) < key2(notNULL)
721 2322 : return -1;
722 0 : goto equals;
723 : }

the "goto equals" part is unreachable , but the equals: label does contain some code.



 Comments   
Comment by Sergei Petrunia [ 2010-09-13 ]

Re: Unreachable code in multi_range_read.cc in maria-5.3-dsmrr-cpk
Fixed in 5.3-dsmrr-cpk tree.

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

Launchpad bug id: 629684

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