]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add a uctx to fr_sql_query_t
authorNick Porter <nick@portercomputing.co.uk>
Mon, 25 Nov 2024 14:33:58 +0000 (14:33 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 25 Nov 2024 16:06:03 +0000 (16:06 +0000)
Allowing additional driver specific data needs to be held against a
query ctx.

src/modules/rlm_sql/rlm_sql.h

index b890cb2e1f3897b2bfe78449aea00595d3a4aee9..67075370c0b4ddaf37f0fab3ef3d7cc4b81f13de 100644 (file)
@@ -146,6 +146,7 @@ typedef struct {
        fr_sql_query_status_t   status;                         //!< Status of the query.
        sql_rcode_t             rcode;                          //!< Result code.
        rlm_sql_row_t           row;                            //!< Row data from the last query.
+       void                    *uctx;                          //!< Driver specific data.
 } fr_sql_query_t;
 
 /** Context used when fetching attribute value pairs as a map list