Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-05

Differences between TSQLTransaction and TMySQL55Transaction

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ludo Brands
to William Oliveira Ferreira
William Oliveira Ferreira wrote 7 lines
Hi list, I?ve noticed some minutes ago that exists a extra transaction class related for MySQL 5.5. What are the major differences between these classes? thanks...

TMySQL55Transaction was an attempt at abstracting the MySQL transaction handle. It is not used anymore. See mysqlconn.ini:

type
  TMySQL55Transaction = Class(TTransactionName);
  TTransactionName = Class(TSQLHandle)
  protected
  end;

...

function TConnectionName.AllocateTransactionHandle: TSQLHandle;
begin
//  Result:=TTransactionName.Create;
  Result := nil;
end;

Ludo

Reply by email

William Oliveira Ferreira
to Ludo Brands

Thanks for the explanation! Shouldn?t it be marked as deprecated?

2013/5/9 Ludo Brands

Show quoted text 37 lines
On 05/09/2013 12:44 AM, William Oliveira Ferreira wrote: > Hi list, > > I?ve noticed some minutes ago that exists a extra transaction class > related for MySQL 5.5. What are the major differences between these classes? > > thanks... > TMySQL55Transaction was an attempt at abstracting the MySQL transaction handle. It is not used anymore. See mysqlconn.ini: type TMySQL55Transaction = Class(TTransactionName); TTransactionName = Class(TSQLHandle) protected end; ... function TConnectionName.AllocateTransactionHandle: TSQLHandle; begin // Result:=TTransactionName.Create; Result := nil; end; Ludo -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130509/0ea8c0ad/attachment.html>

Reply by email