fix: character and bit columns with fixed length not inserting/updating properly
Fixes the error "value too long for type character(1)" when the char length of the column was bigger than one.
This commit is contained in:
Vendored
+4
@@ -849,3 +849,7 @@ INSERT INTO datarep_todos VALUES (4, 'Opus Magnum', NULL, NULL);
|
||||
TRUNCATE TABLE datarep_next_two_todos CASCADE;
|
||||
INSERT INTO datarep_next_two_todos VALUES (1, 2, 3, 'school related');
|
||||
INSERT INTO datarep_next_two_todos VALUES (2, 1, 3, 'do these first');
|
||||
|
||||
TRUNCATE TABLE bitchar_with_length CASCADE;
|
||||
INSERT INTO bitchar_with_length(bit, char) VALUES ('00000', 'aaaaa');
|
||||
INSERT INTO bitchar_with_length(bit, char) VALUES ('11111', 'bbbbb');
|
||||
|
||||
Reference in New Issue
Block a user