Fix pool_status to show correct value for ignore_leading_whitespace
authorTatsuo Ishii <ishii at sraoss.co.jp>
Thu, 5 Jan 2006 13:08:44 +0000 (13:08 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Thu, 5 Jan 2006 13:08:44 +0000 (13:08 +0000)
pool_process_query.c

index b0f4c9a20fe35f3f05a475f5e5d7609b745ed76d..22ec9284b289ce9911d80a8f0b02f85c27541f2d 100644 (file)
@@ -1946,8 +1946,8 @@ static void process_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *b
        status[i].desc = "insert lock";
        i++;
 
-       status[i].name = "ignore_leading_whitespace";
-       snprintf(status[i].value, MAXVALLEN, "%d", pool_config.insert_lock);
+       status[i].name = "ignore_leading_white_space";
+       snprintf(status[i].value, MAXVALLEN, "%d", pool_config.ignore_leading_white_space);
        status[i].desc = "ignore leading white spaces";
        i++;