Re: PATCH: Fix use of uninitialized variable (mysql port) in sqlbox

2015-11-09 Thread Vyronas Tsingaras
) @@ -396,6 +396,9 @@ if (have_port) { db_conf->mysql->port = mysql_port; } +else { +db_conf->mysql->port = 0; +} pool = dbpool_create(DBPOOL_MYSQL, db_conf, pool_size); gw_assert(pool != NULL); On Mon, Nov 9, 2015 at 4:23 PM, Vyronas Tsinga

PATCH: Fix use of uninitialized variable (mysql port) in sqlbox

2015-11-09 Thread Vyronas Tsingaras
@@ if (have_port) { db_conf->mysql->port = mysql_port; } +else { +db_conf->mysql->port = 3306; +} pool = dbpool_create(DBPOOL_MYSQL, db_conf, pool_size); gw_assert(pool != NULL); -- *Vyronas Tsingaras **| IT Department* 12th Km Thessaloniki

Re: PATCH: Fix use of uninitialized variable (mysql port) in sqlbox

2015-11-09 Thread Vyronas Tsingaras
to specify a value for port and providing '0' instead of an unitialized variable seems best in my opinion. Kind Regards, Vyronas Tsingaras On Mon, Nov 9, 2015 at 5:37 PM, spameden <spame...@gmail.com> wrote: > That's correct, host should be 'localhost'. > > 2015-11-09 18:31 GMT+03:00 Vy

Re: PATCH: Fix use of uninitialized variable (mysql port) in sqlbox

2015-11-09 Thread Vyronas Tsingaras
nd Regards, Vyronas Tsingaras On Mon, Nov 9, 2015 at 5:24 PM, spameden <spame...@gmail.com> wrote: > If port wasn't specified that means kannel will use socket instead, so no > need to specify default port. > > 2015-11-09 17:23 GMT+03:00 Vyronas Tsingaras <vtsinga...@amdtele