恐怖的mysql….

看到一篇anti-mysql的文章,mysql因為是免費的,所以廣為人用,但其實當中的一些bug實在很恐怖,例如:

  • SELECT ‘A’ = ‘a’ is true
  • Int(10) is the same as int(1) eventhough the manual says differently.
  • Insert a NULL value in a NOT NULL field and the query gets executed. In short, you can’t force NOT NULL
  • This is correct according to mysql: SELECT a, b, count© FROM d GROUP BY a; what will MySQL do with the b?

Related Link: Anti-MySQL list, MySQL Gotchas,

  • 發表日期: Tuesday, September 7th, 2004
  • 發表時間: 10:13 PM
  • 分類:電腦
  • 文章 RSS:RSS 2.0
  • 留言:開放留言
  • Trackback:開放
  • Tags: ,

回覆

*必需
*必需 (不會公開)