瀏覽代碼

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;