summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-05-15 13:50:38 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-05-15 13:50:38 +0300
commitc5bfcc9d7f3c77def9a8df65da11a6b55c2edea5 (patch)
treea860fbee06b7b609760f7c02085992e96887e9ce /sql/structs.h
parent2b0dd9c9666314f57f5f3aae6af7087b02d0b316 (diff)
downloadmariadb-git-c5bfcc9d7f3c77def9a8df65da11a6b55c2edea5.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 */