Changeset 19162


Ignore:
Timestamp:
08/14/18 12:22:20 (6 years ago)
Author:
tbretz
Message:
Updated returns.
Location:
trunk/FACT++/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fits2sql.cc

    r19157 r19162  
    577577            cerr << "\nSHOW STATUS LIKE COMPRESSION\n\n";
    578578            cerr << "SQL query failed:\n" << e.what() << endl;
    579             return 6;
     579            return 4;
    580580        }
    581581    }
     
    684684        cerr << "DELETE FROM `"+table+"` WHERE 1" << where << "\n\n";
    685685        cerr << "SQL query failed: " << e.what() << endl;
    686         return 7;
     686        return 8;
    687687    }
    688688
     
    801801            cerr << query << "\n\n";
    802802        cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl;
    803         return 7;
     803        return 9;
    804804    }
    805805
     
    829829            cerr << "\nSHOW WARNINGS\n\n";
    830830            cerr << "SQL query failed:\n" << e.what() << '\n' <<endl;
    831             return 8;
     831            return 10;
    832832        }
    833833    }
     
    847847            cerr << "\nSHOW STATUS LIKE 'Bytes_%'\n\n";
    848848            cerr << "SQL query failed:\n" << e.what() << endl;
    849             return 6;
     849            return 11;
    850850        }
    851851    }
  • trunk/FACT++/src/root2sql.cc

    r19157 r19162  
    614614            cerr << "\nSHOW STATUS LIKE COMPRESSION\n\n";
    615615            cerr << "SQL query failed:\n" << e.what() << endl;
    616             return 6;
     616            return 3;
    617617        }
    618618    }
     
    699699        cerr << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1\n\n";
    700700        cerr << "SQL query failed: " << e.what() << endl;
    701         return 7;
     701        return 6;
    702702    }
    703703
     
    837837            cerr << query << "\n\n";
    838838        cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl;
    839         return 6;
     839        return 8;
    840840    }
    841841
     
    865865            cerr << "\nSHOW WARNINGS\n\n";
    866866            cerr << "SQL query failed:\n" << e.what() << '\n' <<endl;
    867             return 7;
     867            return 9;
    868868        }
    869869    }
     
    883883            cerr << "\nSHOW STATUS LIKE 'Bytes_%'\n\n";
    884884            cerr << "SQL query failed:\n" << e.what() << endl;
    885             return 6;
     885            return 10;
    886886        }
    887887    }
  • trunk/FACT++/src/rootifysql.cc

    r19142 r19162  
    771771    {
    772772        cerr << "Empty set returned... nothing to write." << endl;
    773         finish(connection, verbose, profiling, print_connection);
    774         return 14;
     773        return finish(connection, verbose, profiling, print_connection)+20;
    775774    }
    776775
Note: See TracChangeset for help on using the changeset viewer.