Skip to content
Snippets Groups Projects
  • Vladimir Davydov's avatar
    2634306f
    txn: zap txn_savepoint->is_first flag · 2634306f
    Vladimir Davydov authored
    This flag isn't necessary as we can set txn_savepoint->stmt to NULL when
    a savepoint is created inside an empty transaction. Using a separate
    flag for this purpose obscures the code flow and complicates further
    progress so let's remove it.
    2634306f
    History
    txn: zap txn_savepoint->is_first flag
    Vladimir Davydov authored
    This flag isn't necessary as we can set txn_savepoint->stmt to NULL when
    a savepoint is created inside an empty transaction. Using a separate
    flag for this purpose obscures the code flow and complicates further
    progress so let's remove it.