]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Comment out timeout set in db2
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 23 Jun 2017 21:34:30 +0000 (17:34 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 23 Jun 2017 21:34:30 +0000 (17:34 -0400)
src/modules/rlm_sql/drivers/rlm_sql_db2/rlm_sql_db2.c

index fcf6014d69429dc5600615c25da9c4c129a111fe..8409bd2e39dd5ae5200161abe3b2cdd2cf65a51a 100644 (file)
@@ -74,8 +74,10 @@ static sql_rcode_t sql_socket_init(rlm_sql_handle_t *handle, rlm_sql_config_t *c
        SQLAllocHandle(SQL_HANDLE_DBC, conn->env_handle, &(conn->dbc_handle));
 
        /* Set the connection timeout */
+#if 0
+       /* Not suported ? */
        SQLSetConnectAttr(conn->dbc_handle, SQL_ATTR_LOGIN_TIMEOUT, &timeout_ms, SQL_IS_UINTEGER);
-
+#endif
        /*
         *      The db2 API doesn't qualify arguments as const even when they should be.
         */