[MDEV-13953] mariadb-10.2.9/storage/innobase/row/row0import.cc:3602: possible cut'n'paste error ? Created: 2017-09-29  Updated: 2017-10-04

Status: Open
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.2.9
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: David Binderman Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: cppcheck


 Description   

mariadb-10.2.9/storage/innobase/row/row0import.cc:3602] -> [mariadb-10.2.9/storage/innobase/row/row0import.cc:3606]: (warning) Identical condition 'err!=DB_SUCCESS', second condition is always false

Source code is

    if (err != DB_SUCCESS) {
        return(row_import_error(prebuilt, trx, err));
    }
 
    if (err != DB_SUCCESS) {
        return(row_import_error(prebuilt, trx, err));
    } else if (cfg.requires_purge(index->name)) {


Generated at Thu Feb 08 08:09:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.