]> andersk Git - moira.git/blobdiff - backup/db2bkup.awk
Bomb out with an error message if something goes wrong. Duh!
[moira.git] / backup / db2bkup.awk
index 6efbd9e5df13c5214543305da88141c52a7eb2a3..f435372db1708a023153d19b6f79e90eca465f18 100644 (file)
@@ -11,6 +11,7 @@ BEGIN {
        print "/* Do not edit */\n";
        print "#include <stdio.h>";
        print "EXEC SQL INCLUDE sqlca;";
+       print "EXEC SQL WHENEVER SQLERROR DO dbmserr();";
        print "#include \"dump_db.h\"";
        print "#define dump_bin dump_str\n";
 
This page took 0.023624 seconds and 4 git commands to generate.