9 Mar
2010
9 Mar
'10
2:01 a.m.
hi, all: When radiusd is running, shutdown the oracle server, then occur "segment fail". [root@RADSERVER1 rlm_sql]# diff -u sql.c.orig sql.c --- sql.c.orig 2010-03-09 14:49:01.000000000 +0800 +++ sql.c 2010-03-09 14:49:48.000000000 +0800 @@ -507,7 +507,7 @@ /* * If there's no query, return an error. */ - if (!query || !*query) { + if (!query || !*query || !sqlsocket || !sqlsocket->conn) { return -1; } @@ -552,7 +552,7 @@ /* * If there's no query, return an error. */ - if (!query || !*query) { + if (!query || !*query || !sqlsocket || !sqlsocket->conn) { return -1; }
5965
Age (days ago)
5965
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alan DeKok -
zhongwei feng