فهرست منبع

Added data field to db_res_t to allow db backends to store auxiliary data
along with the result.

Andreas Granig 20 سال پیش
والد
کامیت
d93913f1c9
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      db/db_res.h

+ 1 - 0
db/db_res.h

@@ -43,6 +43,7 @@ typedef struct db_res {
 	} col;
 	struct db_row* rows;       /* Rows */
 	int n;                     /* Number of rows */
+	void* data;                /* Auxiliary data */
 } db_res_t;