diff options
author | unknown <serg@serg.mylan> | 2006-01-04 10:36:49 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2006-01-04 10:36:49 +0100 |
commit | 88469c807ea8e4a7a45a4e47604f45c211a34d11 (patch) | |
tree | 6b50b0a3eb23eed5ff9c6d15baa6035567eaf858 /mysys/my_once.c | |
parent | c81a379c5b8e25aab55a090627f65a5b72ddef4d (diff) | |
download | mariadb-git-88469c807ea8e4a7a45a4e47604f45c211a34d11.tar.gz |
cleanup
include/my_sys.h:
sort_dynamic()
mysys/my_once.c:
MY_ZEROFILL support in my_once_alloc
plugin/fulltext/Makefile.am:
no lib prefix for modules. really build .so
scripts/mysql_create_system_tables.sh:
remove obsolete syntax (and warnings)
sql/sql_parse.cc:
don't call add_to_status/bzero in a loop
Diffstat (limited to 'mysys/my_once.c')
-rw-r--r-- | mysys/my_once.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_once.c b/mysys/my_once.c index ab5fcc51c0e..52f8c4309d5 100644 --- a/mysys/my_once.c +++ b/mysys/my_once.c @@ -75,6 +75,8 @@ gptr my_once_alloc(unsigned int Size, myf MyFlags) point= (gptr) ((char*) next+ (next->size-next->left)); next->left-= Size; + if (MyFlags & MY_ZEROFILL) + bzero(point, Size); return(point); } /* my_once_alloc */ |