Changes between Initial Version and Version 1 of Ticket #26751


Ignore:
Timestamp:
Jun 13, 2016, 10:23:16 AM (9 years ago)
Author:
Tim Graham
Comment:

Is a similar fix applicable for the other database backends? Not sure if tests are feasible.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26751

    • Property Has patch set
    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary dbshell error handlingMake dbshell exit with the shell's error code
    • Property Type UncategorizedCleanup/optimization
  • Ticket #26751 – Description

    initial v1  
    1 Hi,
    2 
    3 The Django project made great improvements in batch mode for dbshell with password managment. That's a nice contribution !
    4 
    5 For scripting, commands should return a non zero exit-code on error. But `runshell` seems to miss to manage exit code. Here is how to reproduce:
     1For scripting, commands should return a non zero exit-code on error. But `dbshell` seems to ignore the exit code. Here is how to reproduce:
    62
    73{{{
Back to Top