20.03.2019, 22:38
Hello!
I want to ask if I have string with contains 3 characters, the length in Pawn needs to be 3 + 1 (+1 for the null terminator), but if I save this string in MySQL does it need my field in the database to be VARCHAR(3 + 1) or VARCHAR(3) is enough, because MySQL doesn't have null terminator unlike Pawn?
I want to ask if I have string with contains 3 characters, the length in Pawn needs to be 3 + 1 (+1 for the null terminator), but if I save this string in MySQL does it need my field in the database to be VARCHAR(3 + 1) or VARCHAR(3) is enough, because MySQL doesn't have null terminator unlike Pawn?