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

Convert all varchar db columns used as binary to binary format #94

Closed
4 tasks done
stevewgr opened this issue Aug 10, 2022 · 3 comments
Closed
4 tasks done

Convert all varchar db columns used as binary to binary format #94

stevewgr opened this issue Aug 10, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@stevewgr
Copy link
Member

stevewgr commented Aug 10, 2022

Description

Note that there are some columns in database being read as binary, but specify column data type as varchar.

This causes other issues, as it breaks scripting when special characters are produced from the binary format, varchar is being treated as string.

Tasks

  • Convert USERDATA strSkill and strItem to binary
  • Update all dependents stored procedures to use binary format
  • Verify that server code reads it right
  • Produce a migration script and a PR for ko-db repo
@stevewgr stevewgr added the enhancement New feature or request label Aug 10, 2022
@stevewgr stevewgr self-assigned this Aug 10, 2022
@ko4life-psko ko4life-psko moved this to In Progress in ko-project Aug 11, 2022
@xGuTeK xGuTeK assigned xGuTeK and unassigned stevewgr Oct 18, 2022
@stevewgr
Copy link
Member Author

@xGuTeK, let me know if interesting working on this, otherwise I'll un-assign you so that it's easier to know who is working on what.

@srmeier
Copy link
Contributor

srmeier commented Mar 27, 2024

The [UPDATE_WAREHOUSE] procedure and WAREHOUSE table also need adjusting.

stevewgr pushed a commit that referenced this issue Apr 30, 2024
Now character data will be properly saved.

@srmeier:
+ Update variable name to reflect datatype
+ Adjusting DB dtypes for USERDATA table to start addressing issue #94
stevewgr added a commit that referenced this issue Apr 30, 2024
Adjusting DB types for USERDATA table to start addressing issue #94
@stevewgr
Copy link
Member Author

Nice work @srmeier! Thanks for the help with that. We can now close this ticket as solved. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants