BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MySQL Transaction with DbExpress.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Yalle
Guest





PostPosted: Tue Feb 15, 2005 11:45 pm    Post subject: MySQL Transaction with DbExpress. Reply with quote




Hello,

I read in Delphi Docs that MySQL dosent support Transaction. And i read in MySQL Docs that MySQL support Transaction.

If i try do do a Transaction in SQLConnection through SQLConnection1.StartTransaction(); it will not work, and if I try to see if MySQL support Transaction by the command SQLConnection1.TransactionsSupported; I will get a False result.

But if i set a sql command. "Start Transaction", "Commit", "Rollback" it will work. Than MySQL support transaction, but Delphi dosent support MySQL transaction. Is it possible i use it through SQLconnection ?

MySQL 4.0.18
Delphi 7.1

Thanks!

Regards

Yalle Cunha.
Back to top
Wendell
Guest





PostPosted: Wed Feb 16, 2005 5:27 pm    Post subject: Re: MySQL Transaction with DbExpress. Reply with quote



Yalle,

See the type of tables in MySQL,
I think is InnoDB type support transaction,

Wendell Souza.



Yalle wrote:

Quote:
Hello,

I read in Delphi Docs that MySQL dosent support Transaction. And i read in MySQL Docs that MySQL support Transaction.

If i try do do a Transaction in SQLConnection through SQLConnection1.StartTransaction(); it will not work, and if I try to see if MySQL support Transaction by the command SQLConnection1.TransactionsSupported; I will get a False result.

But if i set a sql command. "Start Transaction", "Commit", "Rollback" it will work. Than MySQL support transaction, but Delphi dosent support MySQL transaction. Is it possible i use it through SQLconnection ?

MySQL 4.0.18
Delphi 7.1

Thanks!

Regards

Yalle Cunha.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.