project-hatohol/hatohol — pull request #788 by kz0817 (2014-11-27 08:12:00+00:00)
Title: [DBAgentMySQL] Fix a problem in which getLastInsertId() doesn't work on upsert

According to http://dev.mysql.com/doc/refman/5.1/en/insert-on-duplicate.html
Prior to MySQL 5.1.12, it's necessary to do workaround like this
patch.