 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Yalle Guest
|
Posted: Tue Feb 15, 2005 11:45 pm Post subject: MySQL Transaction with DbExpress. |
|
|
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
|
Posted: Wed Feb 16, 2005 5:27 pm Post subject: Re: MySQL Transaction with DbExpress. |
|
|
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 |
|
 |
|
|
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
|
|