From 2e26580ebcca4eca6533535f2dd062cd6bff44ac Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Tue, 1 Jul 2014 11:00:51 -0300 Subject: [PATCH] Add missing files defining raceDetector. --- raceoff.go | 6 ++++++ raceon.go | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 raceoff.go create mode 100644 raceon.go diff --git a/raceoff.go b/raceoff.go new file mode 100644 index 000000000..7470dd68d --- /dev/null +++ b/raceoff.go @@ -0,0 +1,6 @@ +// +build !race + +package mgo + +const raceDetector = false + diff --git a/raceon.go b/raceon.go new file mode 100644 index 000000000..737b08ece --- /dev/null +++ b/raceon.go @@ -0,0 +1,5 @@ +// +build race + +package mgo + +const raceDetector = true