[MCOL-2126] groonga/lib/ts/ts_expr_parser.c:675:34: warning: duplicated ‘if’ condition Created: 2019-01-30  Updated: 2023-03-06  Resolved: 2023-03-06

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: David Binderman Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None


 Description   

Source code is

if ((str.size >= 2) && (str.ptr[1] == '&'))

{ token_str.size = 2; op_type = GRN_TS_OP_LOGICAL_AND; }

else if ((str.size >= 2) && (str.ptr[1] == '&')) {
token_str.size = 2;
op_type = GRN_TS_OP_LOGICAL_SUB;



 Comments   
Comment by Todd Stoffel (Inactive) [ 2023-03-06 ]

This ticket was created prior to convergence with the server and may be obsolete. If you find this issue still exists in a modern version, please open a new ticket.

Generated at Thu Feb 08 02:33:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.