فهرست منبع

Return to CommitRetaining in auto-commit
modified: TurboBird.lpr
modified: querywindow.pas

motaz 11 سال پیش
والد
کامیت
be2ad6309b
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      TurboBird.lpr
  2. 2 2
      querywindow.pas

+ 1 - 1
TurboBird.lpr

@@ -28,7 +28,7 @@ trunksqlscript, turbocommon;
 const
   Major = 1;
   Minor = 1;
-  Release = 9;
+  Release = 91;
 
   VersionDate = '2010 - June 2014';
 {$IFDEF Unix}

+ 2 - 2
querywindow.pas

@@ -381,7 +381,7 @@ begin
 
     // Auto commit
     if cxAutoCommit.Checked then
-      FSQLTrans.CommitRetaining
+      FSQLTrans.Commit
     else
       EnableCommitButton;
 
@@ -1631,7 +1631,7 @@ begin
   // Check if the transaction is active; then commit it
   if FSQLTrans.Active then
   begin
-    FSQLTrans.CommitRetaining;
+    FSQLTrans.Commit;
     if OnCommit <> nil then
       OnCommit(self);
     OnCommit:= nil;