-
Notifications
You must be signed in to change notification settings - Fork 2.1k
lastInsertId requires the prefix #25764
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
Conversation
|
@butonic, thanks for your PR! By analyzing the annotation information on this pull request, we identified @icewind1991, @nickvergessen and @Xenopathic to be potential reviewers |
|
cc @PVince81 because he wanted me to give him oracle |
|
Just another case where unit testing would have helped. |
a231020 to
6b3c653
Compare
|
@butonic any chance to add a quick unit test for this ? Even if it just calls the method with a single test case, just to give it a pass. |
|
👍 otherwise |
|
@butonic backport? |
|
@PVince81 there are tests that cover this method: https://github.com/owncloud/core/blob/master/apps/files_external/tests/Service/DBConfigServiceTest.php#L66 But I assume that our files external tests only run on sqlite or mysql ... @DeepDiver1975 ? I'll create backports. |
yes indeed - bloody hell .... let's ignore for now - @PVince81 will move this code to core anyhow within 9.2 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
otherwise we get a "sequence does not exist error" on oracle. just check all other occurences of lastInsertId.
without this files_external is broken on oracle