mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
- Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling configure.in: - Portability fix for HP compiler on HPUX11 libmysql/password.c: - Portability fix for HP compiler on HPUX11 mysys/hash.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.h: - Portability fix for HP compiler on HPUX11 mysys/my_tempnam.c: - Portability fix for HP compiler on HPUX11 sql/sql_analyse.cc: - Fixed bug in decimal handling
This commit is contained in:
parent
4fb76fc70a
commit
e955255cf6
7 changed files with 26 additions and 9 deletions
|
|
@ -92,7 +92,7 @@ void make_scrambled_password(char *to,const char *password)
|
|||
sprintf(to,"%08lx%08lx",hash_res[0],hash_res[1]);
|
||||
}
|
||||
|
||||
static inline uint char_val(char X)
|
||||
static inline unsigned int char_val(char X)
|
||||
{
|
||||
return (uint) (X >= '0' && X <= '9' ? X-'0' :
|
||||
X >= 'A' && X <= 'Z' ? X-'A'+10 :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue