Explorar o código

Removed connected attribute

Jan Janak %!s(int64=21) %!d(string=hai) anos
pai
achega
297ea3b33d
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      db/db_con.h

+ 1 - 3
db/db_con.h

@@ -38,13 +38,11 @@
  */
 typedef struct {
 	char* table;           /* Default table to use */
-	int connected;         /* 1 if database is connected */
-	unsigned long tail[1]; /* Variable length tail
+	unsigned long tail;    /* Variable length tail
 				* database module specific */    
 } db_con_t;
 
 
-#define CON_CONNECTED(cn)  ((cn)->connected)
 #define CON_TABLE(cn)      ((cn)->table)
 #define CON_TAIL(cn)       ((cn)->tail)