فهرست منبع

Removed connected attribute

Jan Janak 21 سال پیش
والد
کامیت
297ea3b33d
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  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)