Default of *level of rollback on errors* is default(statement) not transaction.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Wed, 6 Jul 2016 10:17:12 +0000 (19:17 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Wed, 6 Jul 2016 10:17:12 +0000 (19:17 +0900)
dlg_wingui.c

index 1cf241e54a481001bc30cce549c8ecee53a19cb1..d30874aed4199a4bca085e711b99bb5beb6e365f 100644 (file)
@@ -497,8 +497,8 @@ ds_options_update(HWND hdlg, ConnInfo *ci)
    else if (IsDlgButtonChecked(hdlg, DS_STATEMENT_ROLLBACK))
        ci->rollback_on_error = 2;
    else
-       /* legacy */
-       ci->rollback_on_error = 1;
+       /* no button is checked */
+       ci->rollback_on_error = -1;
 
    /* Int8 As */
    if (IsDlgButtonChecked(hdlg, DS_INT8_AS_DEFAULT))