Don't check lockSanity at startup v3.2.0
authorAbhijit Menon-Sen <ams@toroid.org>
Mon, 10 Mar 2014 13:44:59 +0000 (19:14 +0530)
committerAbhijit Menon-Sen <ams@toroid.org>
Mon, 10 Mar 2014 13:44:59 +0000 (19:14 +0530)
commit0f78cadd53a9193a22cbdf887110448727c8fa13
treecb4097b65b351030a4e0fed5dc19053cea6afba0
parent01c4f9d6ba3f17f30ebed19820f143e4d79e0567
Don't check lockSanity at startup

We composed the query before the server_version was discovered, so the
test to decide whether to generate procpid or pid was always generating
procpid.

The point of the failing query was to warn users about locks at startup,
but the utility of the nice log message is outweighed by the price of
having to generate version-dependent queries.

(LockSpotter stays, because it runs much later.)
db/schema.cpp