You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fliespl opened this issue
Apr 2, 2024
· 2 comments
· Fixed by #19101
Assignees
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Thank you for the debug ! @kamil-tekiela could you please help me with this one ?
williamdes
added
Bug
A problem or regression with an existing feature
affects/5.2
This issue or pull-request affects 5.2.x releases (and maybe further versions)
affects/6.0
This issue or pull-request affects 6.0.x releases (and maybe further versions)
confirmed/5.2
This issue is confirmed to be reproduced on 5.2 at the time this label was set
confirmed/6.0
This issue is confirmed to be reproduced on 6.0 at the time this label was set
labels
Apr 6, 2024
I had a quick look at it and I reproduced the bug on master branch. What happens is that the code is designed to execute every query sequentially until the end. If any of the queries fails, we only execute one more after that and then stop. So if the commit is the one after the broken SQL then it will execute. If there's anything else in between them then the commit will never happen.
It seems like a bug to me, but I will investigate more to see why the code is designed in such way.
williamdes
added
has-pr
An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
and removed
affects/5.2
This issue or pull-request affects 5.2.x releases (and maybe further versions)
affects/6.0
This issue or pull-request affects 6.0.x releases (and maybe further versions)
confirmed/5.2
This issue is confirmed to be reproduced on 5.2 at the time this label was set
confirmed/6.0
This issue is confirmed to be reproduced on 6.0 at the time this label was set
labels
Apr 30, 2024
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Describe the bug
As in the title, if we provide the box with a multiy query as below:
All items within first 50 queries will be added to database even though transaction would eventually rollback (due to 1 bad query at the end).
I have pinpointed it to this part of code:
https://ss.codeone.pl/ss-2024-04-02-13-31-47-1712057507-2QWM4C6S.png
phpmyadmin/libraries/classes/Import.php
Line 223 in 60be3d9
To Reproduce
Expected behavior
Proper transaction handling or information about too many queries.
Screenshots
If applicable, add screenshots to help explain the bug.
Server configuration
Client configuration
Additional context
None
The text was updated successfully, but these errors were encountered: