1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Portability fixes for AIX43

include/my_base.h:
  Portability fix
include/my_global.h:
  Portability fix for AIX43
  (Having _Export gave a lot of errors/warnings and I think this is not needed anymore)
include/my_sys.h:
  Remove compiler warning on AIX43 with xlc_r compiler
include/mysql.h:
  Portability fix
innobase/fil/fil0fil.c:
  Fixed compiler warnings (xlc_r)
libmysql/libmysql.c:
  Portability fix
strings/my_strtoll10.c:
  Portability fix (for AIX43)
This commit is contained in:
unknown
2003-11-20 02:48:09 +02:00
parent 29b99eaa0d
commit 46401ab384
7 changed files with 23 additions and 20 deletions

View File

@ -2990,7 +2990,8 @@ int STDCALL cli_unbuffered_fetch(MYSQL *mysql, char **row)
if (packet_error == net_safe_read(mysql))
return 1;
*row= (mysql->net.read_pos[0] == 254) ? NULL : (mysql->net.read_pos+1);
*row= ((mysql->net.read_pos[0] == 254) ? NULL :
(char*) (mysql->net.read_pos+1));
return 0;
}