-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added to_mysql function for UUID conversion to string. * Fixed missing require * changed uuid read/write to binary and added spec tests * fixed spec test * correct fix for uuid spec test * Update spec/db_spec.cr Co-Authored-By: Brian J. Cardiff <[email protected]> * update uuid specs * update spec test for 5.6 tests * fix for uuid slice * added better read for uuid * added missing uuid logic to text_result_set * Remove code * Refactor null_bitmap handling into mysql_read * Handle nillable UUID * Use sample_value helper to test read/write UUIDs * Support UUID for binary columns only unify behavior across sql versions.The user will need to do String <-> UUID conversion manually or via mapping converters if UUID are wanted to be stored as text * Avoid dup in slice, allow StaticArray args as blobs Co-authored-by: Brian J. Cardiff <[email protected]>
- Loading branch information
Showing
5 changed files
with
103 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters