Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
45c70a2e
Commit
45c70a2e
authored
Sep 24, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation warnings
parent
3df67bc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysys/mf_keycache.c
mysys/mf_keycache.c
+1
-1
sql/item_func.cc
sql/item_func.cc
+1
-1
No files found.
mysys/mf_keycache.c
View file @
45c70a2e
...
@@ -3113,7 +3113,7 @@ int key_cache_write(KEY_CACHE *keycache,
...
@@ -3113,7 +3113,7 @@ int key_cache_write(KEY_CACHE *keycache,
/* Used in the server. */
/* Used in the server. */
keycache
->
global_cache_write
++
;
keycache
->
global_cache_write
++
;
keycache_pthread_mutex_unlock
(
&
keycache
->
cache_lock
);
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
)))
MYF
(
MY_NABP
|
MY_WAIT_IF_FULL
)))
error
=
1
;
error
=
1
;
keycache_pthread_mutex_lock
(
&
keycache
->
cache_lock
);
keycache_pthread_mutex_lock
(
&
keycache
->
cache_lock
);
...
...
sql/item_func.cc
View file @
45c70a2e
...
@@ -4201,7 +4201,7 @@ void Item_func_set_user_var::save_item_result(Item *item)
...
@@ -4201,7 +4201,7 @@ void Item_func_set_user_var::save_item_result(Item *item)
bool
bool
Item_func_set_user_var
::
update
()
Item_func_set_user_var
::
update
()
{
{
bool
res
=
NULL
;
bool
res
=
0
;
DBUG_ENTER
(
"Item_func_set_user_var::update"
);
DBUG_ENTER
(
"Item_func_set_user_var::update"
);
switch
(
cached_result_type
)
{
switch
(
cached_result_type
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment