From: Joshua Colp Date: Wed, 21 Sep 2016 15:48:47 +0000 (+0000) Subject: res_odbc: Make pooling option deprecation notice more useful. X-Git-Tag: 13.12.0-rc1~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c180760ccd34e39d8cd3a8ca48cfde7adb7a84;p=thirdparty%2Fasterisk.git res_odbc: Make pooling option deprecation notice more useful. This changes the notice for the deprecation of the old pooling options to point to the new option for doing pooling. This gives a clearer direction as to what to look into. ASTERISK-26389 #close Change-Id: I2ca9cdfdcd75aec170a7db9d5ff69a4cd25b7c10 --- diff --git a/res/res_odbc.c b/res/res_odbc.c index 2477def5b1..48273c4acf 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -523,7 +523,7 @@ static int load_odbc_config(void) !strncasecmp(v->name, "share", 5) || !strcasecmp(v->name, "limit") || !strcasecmp(v->name, "idlecheck")) { - ast_log(LOG_WARNING, "The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options are deprecated. Please see UPGRADE.txt for information\n"); + ast_log(LOG_WARNING, "The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'. See res_odbc.conf.sample.\n"); } else if (!strcasecmp(v->name, "enabled")) { enabled = ast_true(v->value); } else if (!strcasecmp(v->name, "pre-connect")) {