-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Get SQL databases working again #5646
base: dev/feature
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With a quick initial review of the current progress, these changes look excellent. Fantastic work! I would definitely like a review from others too as I am not the most familiar with SQL/the libraries being used
Wow, am I dreaming? Awesome that someone is taking on the SQL problem! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks fine, but I know very little about SQL so I don't feel I'm the right person to be reviewing this.
bd134d0
to
3f08853
Compare
Hello, do you have an implementation date already planned? |
It needs people to review it first. |
Test jar available when checks are complete at https://github.com/SkriptLang/Skript/actions/runs/9070821309 |
https://pastebin.com/KjWeRQsE #skript config |
What's being waited on to merge this? |
There has to be a lot of testing done before this can be merged, considering this is a big change, it will most likely come in 2.10. |
If they fix it, I'll be happy. |
Description
commit changes
option which is essentially how Skript used to operate. Changed the JDBC standard to auto commit after every edit (Make the 5-min variable saving period configurable #2007). This is standard and better for performance. Skript didn't for some reason. I speculate it was to allow MySQL to sync with other servers, so either way it's an option now.Perks
TODO
MERGE INTO
instead ofINSERT
.Optional
Notes:
Testing and using this jar
To test this experimental feature out, go to the "checks" tab and then click a Java version on the side and then click the nightly artifacts to get a built jar of the latest commit.
Target Minecraft Versions: any
Requirements: none
Related Issues: #1168, #2007, #1478 and #3948