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

Separator in AssetInfo table #15

Open
WavescapTorben opened this issue Mar 11, 2022 · 1 comment
Open

Separator in AssetInfo table #15

WavescapTorben opened this issue Mar 11, 2022 · 1 comment

Comments

@WavescapTorben
Copy link

WavescapTorben commented Mar 11, 2022

I want to suggest not to use NUL byte as separator in AssetInfo table because Sqlite has issues when using it in strings and search for them:
https://sqlite.org/nulinstr.html
The separator is set here:
https://github.com/deemru/w8io/blob/1.4/include/BlockchainParser.php#L256

@deemru
Copy link
Owner

deemru commented Mar 15, 2022

That is not a separator. It is a byte to handle support data:

Also kvAssetInfo is one way key > value. There are no needs to search by value in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants