summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-05-15 13:50:38 +0300
committerSinisa@sinisa.nasamreza.org <>2002-05-15 13:50:38 +0300
commitd65671f778d70ac82e444d27fbf0875505d46605 (patch)
treea860fbee06b7b609760f7c02085992e96887e9ce /sql/structs.h
parent9ec99388be10101729f339ccdee9b49912dc0521 (diff)
downloadmariadb-git-d65671f778d70ac82e444d27fbf0875505d46605.tar.gz
Features made for Schlund plus several bug fixes.
Read a manual for more detail
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/sql/structs.h b/sql/structs.h
index 2250ea784f2..75280b34715 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -162,13 +162,16 @@ typedef struct st_lex_user {
} LEX_USER;
+typedef struct user_resources {
+ uint questions, updates, connections;
+} USER_RESOURCES;
+
typedef struct user_conn {
- char *user;
- uint len, connections, questions, max_questions;
+ char *user, *host;
+ uint len, connections, conn_per_hour, updates, questions, user_len;
+ USER_RESOURCES user_resources;
time_t intime;
-} UC;
-
-
+} USER_CONN;
/* Bits in form->update */
#define REG_MAKE_DUPP 1 /* Make a copy of record when read */
#define REG_NEW_RECORD 2 /* Write a new record if not found */