1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

A fix (bug #6057: Data Type Problem in manager.c).

libmysql/manager.c:
  Code clean-up: as my_net_read() returns ulong value we should use ulong here.
This commit is contained in:
unknown
2004-10-18 12:43:52 +05:00
parent 221d51ebb1
commit 037f07006d

View File

@@ -237,7 +237,7 @@ int STDCALL mysql_manager_fetch_line(MYSQL_MANAGER* con, char* res_buf,
char* res_buf_end=res_buf+res_buf_size;
char* net_buf=(char*) con->net.read_pos, *net_buf_end;
int res_buf_shift=RES_BUF_SHIFT;
uint num_bytes;
ulong num_bytes;
if (res_buf_size<RES_BUF_SHIFT)
{