summaryrefslogtreecommitdiff
path: root/sql/password.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-12-03 13:08:25 +0200
committermonty@hundin.mysql.fi <>2002-12-03 13:08:25 +0200
commit8830eb4aa9fcfd4467407a8c1236d24c2af6bdfb (patch)
tree4cad7c11d248679cf59fce6e92c37d2d7dc6e486 /sql/password.c
parentce56f927fa2a059f02654b30537f9da2afdd1d33 (diff)
downloadmariadb-git-8830eb4aa9fcfd4467407a8c1236d24c2af6bdfb.tar.gz
Change of internal key_field=NULL handling to avoid error messages.
Optimized SELECT DISTINCT ... ORDER BY ... LIMIT Fixed reference to uninitalized variable
Diffstat (limited to 'sql/password.c')
-rw-r--r--sql/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/password.c b/sql/password.c
index 48181ea18e6..318c8e84db3 100644
--- a/sql/password.c
+++ b/sql/password.c
@@ -43,7 +43,7 @@
void randominit(struct rand_struct *rand_st,ulong seed1, ulong seed2)
{ /* For mysql 3.21.# */
#ifdef HAVE_purify
- bzero((char*) rand_st,sizeof(*rand_st)); /* Avoid UMC varnings */
+ bzero((char*) rand_st,sizeof(*rand_st)); /* Avoid UMC varnings */
#endif
rand_st->max_value= 0x3FFFFFFFL;
rand_st->max_value_dbl=(double) rand_st->max_value;