Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of @@TRANCOUNT
Message
De
27/09/2006 11:25:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/09/2006 19:15:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MySQL
Divers
Thread ID:
01157324
Message ID:
01157521
Vues:
14
>>Tired of googling it out, can't find whether it exists or is called something else.
>>
>>How do I know whether I have a transaction started in MySQL? I need an equivalent to TSQL's @@TRANCOUNT or VFP's TxnLevel().
>
>Maybe I'm reading it wrong:
>
>"In MySQL you cannot nest transactions. If you issue a BEGINstatement for agiven user while that user has a pending transaction, MySQL will treat it as aCOMMITfollowed by a BEGIN. In other words, MySQL allows individual users to per-form only sequential transactions.
>NOTEMySQL does not support save points as do some other data-bases.You can only commit or roll back a complete transaction."
>
>Source: dev.mysql.com/tech-resources/articles/mysql-db-design-ch5.pdf

Thanks - but I still know whether this applies to the current version. There are savepoints now. So even if there's a max of one transaction level, the question remains how do I know what is it, zero or one?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform