You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fixed warning on Windows 64-bit build
This commit is contained in:
@@ -490,7 +490,7 @@ my_bool ma_pvio_has_data(MARIADB_PVIO *pvio, ssize_t *data_len)
|
||||
/* check if we still have unread data in cache */
|
||||
if (pvio->cache)
|
||||
if (pvio->cache_pos > pvio->cache)
|
||||
return pvio->cache_pos - pvio->cache;
|
||||
return test(pvio->cache_pos - pvio->cache);
|
||||
if (pvio && pvio->methods->has_data)
|
||||
return pvio->methods->has_data(pvio, data_len);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user