From 48ad4a65c81690894f1d2fde5158fb7c2e9d9832 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 28 Jan 2014 09:43:25 +1100 Subject: [PATCH] #if 0/#endif debug only variable (cherry picked from commit 373b9944b66f218b3ef1a8bf8eed4731b4f7618a) --- contrib/dlz/drivers/dlz_postgres_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/dlz/drivers/dlz_postgres_driver.c b/contrib/dlz/drivers/dlz_postgres_driver.c index 5cad59e343..bf458b1247 100644 --- a/contrib/dlz/drivers/dlz_postgres_driver.c +++ b/contrib/dlz/drivers/dlz_postgres_driver.c @@ -292,8 +292,10 @@ postgres_get_resultset(const char *zone, const char *record, unsigned int i = 0; unsigned int j = 0; +#if 0 /* temporarily get a unique thread # */ unsigned int dlz_thread_num = 1+(int) (1000.0*rand()/(RAND_MAX+1.0)); +#endif REQUIRE(*rs == NULL);