Explorar o código

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

Andreas Granig %!s(int64=20) %!d(string=hai) anos
pai
achega
d93913f1c9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;