spiral-modules / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
53 stars 19 forks source link

Hotfix: check for active transaction in commit and rollback methods #66

Closed roxblnfk closed 3 years ago

roxblnfk commented 3 years ago

Alternative for #62

codecov[bot] commented 3 years ago

Codecov Report

Merging #66 (567cbe4) into master (4818807) will decrease coverage by 0.43%. The diff coverage is 23.07%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #66      +/-   ##
============================================
- Coverage     92.90%   92.46%   -0.44%     
- Complexity     1476     1481       +5     
============================================
  Files            67       67              
  Lines          3804     3823      +19     
============================================
+ Hits           3534     3535       +1     
- Misses          270      288      +18     
Impacted Files Coverage Δ Complexity Δ
src/Driver/Driver.php 76.44% <21.73%> (-6.17%) 91.00 <0.00> (+5.00) :arrow_down:
src/Driver/Postgres/PostgresDriver.php 81.25% <33.33%> (-1.29%) 25.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4818807...567cbe4. Read the comment docs.