mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02:00
InnoDB: Remove compiler warnings.
innobase/os/os0proc.c: Add UT_NOT_USED for parameters in dummy implementations of AWE functions. sql/ha_innodb.cc: Tweak casts to eliminate compiler warnings.
This commit is contained in:
parent
a5dd3d5d8f
commit
a11fc7341c
2 changed files with 12 additions and 3 deletions
|
|
@ -2116,7 +2116,7 @@ innobase_rollback_to_savepoint(
|
|||
|
||||
/* TODO: use provided savepoint data area to store savepoint data */
|
||||
|
||||
longlong2str((ulonglong)savepoint, name, 36);
|
||||
longlong2str((ulint)savepoint, name, 36);
|
||||
|
||||
error = (int) trx_rollback_to_savepoint_for_mysql(trx, name,
|
||||
&mysql_binlog_cache_pos);
|
||||
|
|
@ -2145,7 +2145,7 @@ innobase_release_savepoint(
|
|||
|
||||
/* TODO: use provided savepoint data area to store savepoint data */
|
||||
|
||||
longlong2str((ulonglong)savepoint, name, 36);
|
||||
longlong2str((ulint)savepoint, name, 36);
|
||||
|
||||
error = (int) trx_release_savepoint_for_mysql(trx, name);
|
||||
|
||||
|
|
@ -2186,7 +2186,7 @@ innobase_savepoint(
|
|||
|
||||
/* TODO: use provided savepoint data area to store savepoint data */
|
||||
char name[64];
|
||||
longlong2str((ulonglong)savepoint,name,36);
|
||||
longlong2str((ulint)savepoint,name,36);
|
||||
|
||||
error = (int) trx_savepoint_for_mysql(trx, name, (ib_longlong)0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue