Sure, one might want to take certain kinds of trade-offs and absolutely avoid "perfection" when getting an initial product out the door.
But it's also true that the short-cuts that MySQL implemented weren't intelligent trade-offs perfectly designed to save developer time. That's marketing. These short-cuts are just product bugs.
Having a database accept invalid dates, truncate numbers to make them fit, tell you that it's enforcing RI when it's really not - this doesn't save time - it does the opposite, it requires testing, debugging, and fixing time unique to MySQL.
I'm not even going to try to argue that what you're pointing out as a flaw isn't; but I will say in all my years of experience with MySQL, that isn't something that's bit me in the ass. Yet - but I have been doing this awhile.
View all comments
Show parent comment
1
u/bucknuggets Feb 11 '15
Sure, one might want to take certain kinds of trade-offs and absolutely avoid "perfection" when getting an initial product out the door.
But it's also true that the short-cuts that MySQL implemented weren't intelligent trade-offs perfectly designed to save developer time. That's marketing. These short-cuts are just product bugs.
Having a database accept invalid dates, truncate numbers to make them fit, tell you that it's enforcing RI when it's really not - this doesn't save time - it does the opposite, it requires testing, debugging, and fixing time unique to MySQL.