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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a3fe7c09
Commit
a3fe7c09
authored
Jul 04, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove compiler warnings
Simple cleanup of previous pull
parent
22bce83c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
6 deletions
+14
-6
sql/item_strfunc.cc
sql/item_strfunc.cc
+1
-1
sql/log_event.h
sql/log_event.h
+7
-2
sql/sql_cache.cc
sql/sql_cache.cc
+1
-1
sql/sql_handler.cc
sql/sql_handler.cc
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+4
-1
No files found.
sql/item_strfunc.cc
View file @
a3fe7c09
...
...
@@ -1558,7 +1558,7 @@ longlong Item_func_elt::val_int()
if
((
tmp
=
(
uint
)
item
->
val_int
())
==
0
||
tmp
>
arg_count
)
return
0
;
int
result
=
args
[
tmp
-
1
]
->
val_int
();
longlong
result
=
args
[
tmp
-
1
]
->
val_int
();
null_value
=
args
[
tmp
-
1
]
->
null_value
;
return
result
;
}
...
...
sql/log_event.h
View file @
a3fe7c09
...
...
@@ -406,10 +406,15 @@ class Load_log_event: public Log_event
/* fname doesn't point to memory inside Log_event::temp_buf */
void
set_fname_outside_temp_buf
(
const
char
*
afname
,
uint
alen
)
{
fname
=
afname
;
fname_len
=
alen
;}
{
fname
=
afname
;
fname_len
=
alen
;
}
/* fname doesn't point to memory inside Log_event::temp_buf */
int
check_fname_outside_temp_buf
()
{
return
fname
<
temp_buf
||
fname
>
temp_buf
+
cached_event_len
;}
{
return
fname
<
temp_buf
||
fname
>
temp_buf
+
cached_event_len
;
}
#ifndef MYSQL_CLIENT
String
field_lens_buf
;
...
...
sql/sql_cache.cc
View file @
a3fe7c09
sql/sql_handler.cc
View file @
a3fe7c09
...
...
@@ -234,7 +234,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
}
if
(
cond
&&
!
cond
->
val_int
())
continue
;
if
(
!
err
&&
num_rows
>=
offset_limit
)
if
(
num_rows
>=
offset_limit
)
{
String
*
packet
=
&
thd
->
packet
;
Item
*
item
;
...
...
sql/sql_parse.cc
View file @
a3fe7c09
...
...
@@ -501,7 +501,10 @@ check_connections(THD *thd)
#if !defined(HAVE_SYS_UN_H) || defined(HAVE_mit_thread)
/* Fast local hostname resolve for Win32 */
if
(
!
strcmp
(
thd
->
ip
,
"127.0.0.1"
))
thd
->
host
=
thd
->
host_or_ip
=
(
char
*
)
localhost
;
{
thd
->
host
=
(
char
*
)
localhost
;
thd
->
host_or_ip
=
localhost
;
}
else
#endif
if
(
!
(
specialflag
&
SPECIAL_NO_RESOLVE
))
...
...
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