mysql – SHA() method gives different result for same value of binary type with different sizes
SHA() method giving different result for same value of binary with different sizes. Created a table, columns with X1 binary(1), X2 binary(10) size. CREATE TABLE TEST_binary10_2 ( PK bigint NOT NULL, VERSION int NOT NULL, X1 binary(1) DEFAULT NULL, X2…