mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Removed compiler warnings
Ensure that my_size_t is always unsigned (to get predictiable results from system to system) Removed some %lld, as these are not portable
This commit is contained in:
@@ -2427,7 +2427,7 @@ repeat:
|
||||
do
|
||||
{
|
||||
DBUG_PRINT("info", ("external_lock(thd, %d) iteration %d",
|
||||
lock_type, (file - m_file)));
|
||||
lock_type, (int) (file - m_file)));
|
||||
if ((error= (*file)->external_lock(thd, lock_type)))
|
||||
{
|
||||
if (F_UNLCK != lock_type)
|
||||
@@ -2508,7 +2508,7 @@ THR_LOCK_DATA **ha_partition::store_lock(THD *thd,
|
||||
file= m_file;
|
||||
do
|
||||
{
|
||||
DBUG_PRINT("info", ("store lock %d iteration", (file - m_file)));
|
||||
DBUG_PRINT("info", ("store lock %d iteration", (int) (file - m_file)));
|
||||
to= (*file)->store_lock(thd, to, lock_type);
|
||||
} while (*(++file));
|
||||
DBUG_RETURN(to);
|
||||
|
Reference in New Issue
Block a user