Making a vain attempt to sync oracle with current driver (mysql) changes.
authorjcarneal <jcarneal>
Tue, 16 Jan 2001 23:18:08 +0000 (23:18 +0000)
committerjcarneal <jcarneal>
Tue, 16 Jan 2001 23:18:08 +0000 (23:18 +0000)
This is one of the main reasons we should go with ODBC.

src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.h

index 3090ba4..f26d292 100644 (file)
@@ -46,9 +46,10 @@ typedef struct sql_config {
 
 typedef struct sql {
        SQL_CONFIG *config;
-       SQLSOCK *socks[MAX_SQL_SOCKS];
+       SQLSOCK *sqlpool;
 #if HAVE_PTHREAD_H
-       pthread_mutex_t sqlsock_mutex;
+       pthread_mutex_t *lock;
+       pthread_cond_t *notfull;
 #endif
 } SQL_INST;