[GH-ISSUE #126] Binary UUIDs Result in Empty Fields #92

Closed
opened 2026-02-25 21:33:14 +03:00 by kerem · 1 comment
Owner

Originally created by @arminlinzbauer on GitHub (Dec 15, 2021).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/126

When trying to diff two databases with BINARY data (in my case UUIDs), the resulting diff contains empty strings instead of the UUIDs - this effectively means SQL code like this, for example: a merge table:

INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
INSERT INTO `mytable` VALUES('','','');
Originally created by @arminlinzbauer on GitHub (Dec 15, 2021). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/126 When trying to diff two databases with BINARY data (in my case UUIDs), the resulting diff contains empty strings instead of the UUIDs - this effectively means SQL code like this, for example: a merge table: ```sql INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); INSERT INTO `mytable` VALUES('','',''); ```
kerem closed this issue 2026-02-25 21:33:14 +03:00
Author
Owner

@jasdeepkhalsa commented on GitHub (Dec 15, 2021):

Closing as a duplicate of #127

<!-- gh-comment-id:994696054 --> @jasdeepkhalsa commented on GitHub (Dec 15, 2021): Closing as a duplicate of #127
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#92
No description provided.