{"version":"1.0","title":" MySQL/Ruby 2.8.2","width":"100%","author_url":"https://blog.hatena.ne.jp/tmtms/","author_name":"tmtms","blog_title":"tmtms \u306e\u30e1\u30e2","blog_url":"https://blog.tmtms.net/","image_url":null,"height":"190","type":"rich","published":"2010-02-16 00:48:32","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"MySQL/Ruby \u306b\u30d0\u30b0\u304c\u3042\u3063\u305f\u306e\u3067 2.8.2 \u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3053\u306e\u8fba\u304b\u3089\u2192 http://rubyforge.org/projects/mysql-ruby/Mysql#insert_id \u304c 32bit \u3092\u8d85\u3048\u308b\u5834\u5408\u306b\u4e0d\u6b63\u306a\u5024\u3092\u8fd4\u3059\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u5177\u4f53\u7684\u306b\u306f BIGINT AUTO_INCREMENT \u306e\u5834\u5408\u306b\u3001\u81ea\u52d5\u7684\u306b 2147483648(UNSIGNED BIGINT \u306e\u5834\u5408\u306f 4294967296)\u4ee5\u4e0a\u306e\u5834\u5408\u306b\u3001\u4e0d\u6b63\u306a\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002 mysql> create table t (id bigint auto_increment, unique(id)); m\u2026","categories":["MySQL","Ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F20100216%2F1266335312\" title=\" MySQL/Ruby 2.8.2 - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.tmtms.net/entry/20100216/1266335312"}