Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复数据库驱动 Statement 类在未查询时也会更新最后插入ID的问题 #535

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

Yurunsoft
Copy link
Member

No description provided.

@Yurunsoft Yurunsoft added bug Something isn't working 2.1 labels Jun 8, 2023
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Patch coverage: 84.61% and project coverage change: -0.80 ⚠️

Comparison is base (382bea8) 65.31% compared to head (2e2e24b) 64.51%.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.1     #535      +/-   ##
============================================
- Coverage     65.31%   64.51%   -0.80%     
- Complexity    10995    11100     +105     
============================================
  Files           881      881              
  Lines         30049    30516     +467     
============================================
+ Hits          19627    19688      +61     
- Misses        10422    10828     +406     
Impacted Files Coverage Δ
...mponents/pgsql/src/Db/Drivers/Swoole/Statement.php 0.00% <0.00%> (ø)
...mponents/pgsql/src/Db/Drivers/SwooleNew/Driver.php 50.00% <100.00%> (ø)
...nents/pgsql/src/Db/Drivers/SwooleNew/Statement.php 38.05% <100.00%> (+1.11%) ⬆️
src/Db/Drivers/TPdoDriver.php 51.65% <100.00%> (ø)
src/Db/Drivers/TPdoStatement.php 56.25% <100.00%> (+0.46%) ⬆️

... and 21 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Yurunsoft Yurunsoft merged commit 6124f4b into 2.1 Jun 9, 2023
@Yurunsoft Yurunsoft deleted the fix-db-driver-updateLastInsertId branch June 9, 2023 05:32
Yurunsoft added a commit that referenced this pull request Jul 3, 2023
* 修复数据库驱动 Statement 类在未查询时也会更新最后插入ID的问题

* 修复
# Conflicts:
#	src/Components/pgsql/src/Db/Drivers/SwooleNew/Driver.php
#	src/Components/pgsql/src/Db/Drivers/SwooleNew/Statement.php
#	src/Db/Drivers/TPdoDriver.php
#	src/Db/Drivers/TPdoStatement.php
NHZEX pushed a commit to NHZEX/imi that referenced this pull request Oct 18, 2023
* 修复数据库驱动 Statement 类在未查询时也会更新最后插入ID的问题

* 修复
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.1 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant