- Timestamp:
- 08/21/08 18:10:40 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centstorage/modules/recup_perf_datas/insertValInDataBase.c
r6209 r6244 68 68 extern void *db_connection; 69 69 extern int serverFailure; 70 extern pthread_mutex_t Access_DB; 70 71 71 72 #ifdef USE_MYSQL … … 94 95 int i, count; 95 96 char nbr[11]; 96 97 // serverFailure = 0; 97 unsigned char lock; 98 98 99 sprintf(client->cmd, "OK%d\n", client->nb_lines); 100 101 LOCK_MUTEX(&mutex); 102 lock = conf->dbLock; 103 UNLOCK_MUTEX(&mutex); 99 104 100 105 if (timeout && timeout < time(NULL))
