Date: Thu Mar 20 00:59:13 2014 +0200
MDEV-5589: "Discrepancy in binlog on half-failed CREATE OR REPLACE"
'added code for not logging DROP TEMPORARY TABLE for tables where the CREATE TABLE was not logged. '
However the DROP query gets logged into binary log despite the fact of no CREATE was logged.
The connection close also create the DROP event in binlog.