summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-02-01 15:40:38 +0200
committerunknown <Sinisa@sinisa.nasamreza.org>2002-02-01 15:40:38 +0200
commit6d862d0f70d6d677129348e331193af0ecc2af4b (patch)
tree3b8c3705772e21d6ace38591a0445f056030eed2 /sql/structs.h
parent5b968bb8ee49008e8adfba898472b20b0cf0524f (diff)
downloadmariadb-git-6d862d0f70d6d677129348e331193af0ecc2af4b.tar.gz
Changes required for maximum queries per hour
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h
index e0f32ebbe43..9e577128c8d 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -160,6 +160,14 @@ typedef struct st_lex_user {
LEX_STRING user, host, password;
} LEX_USER;
+
+typedef struct user_conn {
+ char *user;
+ uint len, connections, questions, max_questions;
+ time_t intime;
+} UC;
+
+
/* 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 */