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

Fix ouuid_to_uuid in readme to be deterministic #150

Closed
wants to merge 1 commit into from
Closed

Fix ouuid_to_uuid in readme to be deterministic #150

wants to merge 1 commit into from

Conversation

vhenzl
Copy link

@vhenzl vhenzl commented Jul 17, 2020

The ouuid_to_uuid function in README is deterministic as uuid_to_ouuid is and should be declared as such. It prevents the following error:

General error: 1418 This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

Declaring the function as DETERMINISTIC prevents this error:

```
General error: 1418 This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
```
@ramsey
Copy link
Owner

ramsey commented Aug 7, 2021

Thank you for contributing! I've accepted a different PR that changes these functions and also adds the DETERMINISTIC keyword.

@ramsey ramsey closed this Aug 7, 2021
@vhenzl vhenzl deleted the fix-readme branch August 8, 2021 07:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants