mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
fixed compilation warnings
This commit is contained in:
parent
3df67bc294
commit
45c70a2ec5
2 changed files with 2 additions and 2 deletions
|
@ -3113,7 +3113,7 @@ int key_cache_write(KEY_CACHE *keycache,
|
|||
/* Used in the server. */
|
||||
keycache->global_cache_write++;
|
||||
keycache_pthread_mutex_unlock(&keycache->cache_lock);
|
||||
if (my_pwrite(file, (uchar*) buff, read_length, filepos + offset,
|
||||
if (my_pwrite(file, (byte*) buff, read_length, filepos + offset,
|
||||
MYF(MY_NABP | MY_WAIT_IF_FULL)))
|
||||
error=1;
|
||||
keycache_pthread_mutex_lock(&keycache->cache_lock);
|
||||
|
|
|
@ -4201,7 +4201,7 @@ void Item_func_set_user_var::save_item_result(Item *item)
|
|||
bool
|
||||
Item_func_set_user_var::update()
|
||||
{
|
||||
bool res= NULL;
|
||||
bool res= 0;
|
||||
DBUG_ENTER("Item_func_set_user_var::update");
|
||||
|
||||
switch (cached_result_type) {
|
||||
|
|
Loading…
Reference in a new issue