diff options
author | Sinisa@sinisa.nasamreza.org <> | 2001-12-26 16:49:10 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2001-12-26 16:49:10 +0200 |
commit | 038db406c15f3ebe90639218a447d98467749796 (patch) | |
tree | 1924b9282a4aed314ccafcecea76220ffcee2576 /libmysqld | |
parent | ec761d573022bd586349ea22001f1cfc49fb2a45 (diff) | |
download | mariadb-git-038db406c15f3ebe90639218a447d98467749796.tar.gz |
This is a large push. Included are :
* multi-table updates
* new paid feature for limiting number of queries per hour for users
* optional syntax for multi-table deletes
* optimization for SQL_CALC_FOUND_ROWS
* a small addition for CREATE .. SELECT that will be of future use
I know that all this will require many additions to documentation,
which I have not done, but I am at Arjen's disposal to help him document
all this.
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 139f9b9c0c7..d4072f73522 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -228,11 +228,11 @@ check_connections2(THD * thd) return 0; } - static bool check_user(THD *thd,enum_server_command command, const char *user, const char *passwd, const char *db, bool check_count) { NET *net= &thd->net; + uint max=0; thd->db=0; if (!(thd->user = my_strdup(user, MYF(0)))) @@ -244,7 +244,7 @@ static bool check_user(THD *thd,enum_server_command command, const char *user, passwd, thd->scramble, &thd->priv_user, protocol_version == 9 || !(thd->client_capabilities & - CLIENT_LONG_PASSWORD)); + CLIENT_LONG_PASSWORD),&max); DBUG_PRINT("general", ("Capabilities: %d packet_length: %d Host: '%s' User: '%s' Using password: %s Access: %u db: '%s'", thd->client_capabilities, thd->max_packet_length, |