# | Line 879 | Line 879 | end; | |
---|---|---|
879 | ||
880 | procedure TIBSQL.SetDatabase(Value: TIBDatabase); | |
881 | begin | |
882 | + | if Value = FBase.Database then Exit; |
883 | FBase.Database := Value; | |
884 | + | FreeHandle; |
885 | end; | |
886 | ||
887 | procedure TIBSQL.Prepare; | |
# | Line 936 | Line 938 | end; | |
938 | ||
939 | procedure TIBSQL.SetTransaction(Value: TIBTransaction); | |
940 | begin | |
941 | + | if FBase.Transaction = Value then Exit; |
942 | + | FreeHandle; |
943 | FBase.Transaction := Value; | |
944 | end; | |
945 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |