What does beginTransaction returning null mean?
#7499
tyteen4a03
started this conversation in
General
Replies: 1 comment 1 reply
-
|
The base database adapter returns Are you passing any additional options to your database adapter? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I want to start a transaction, I expect
beginTransaction()to start the transaction, or fail. But it is possible for its return value to benull. Subsequent usages of e.g.rollbackTransaction()does not takenullas a value, and the example code usesif transactionIdchecks.What does a
nulltransaction ID mean? If I receivenullfor a transaction ID, should I early-abort?Beta Was this translation helpful? Give feedback.
All reactions