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
0d08e9b2
Commit
0d08e9b2
authored
Jan 11, 2005
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Housekeeping: removed a few unreferenced variables, noticed while doing
Windows builds
parent
af7dcec5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
sql/sql_base.cc
sql/sql_base.cc
+0
-1
sql/strfunc.cc
sql/strfunc.cc
+2
-2
No files found.
sql/sql_base.cc
View file @
0d08e9b2
...
@@ -2305,7 +2305,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
...
@@ -2305,7 +2305,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
List
<
Item
>
*
sum_func_list
,
List
<
Item
>
*
sum_func_list
,
uint
wild_num
)
uint
wild_num
)
{
{
bool
is_stmt_prepare
;
DBUG_ENTER
(
"setup_wild"
);
DBUG_ENTER
(
"setup_wild"
);
if
(
!
wild_num
)
if
(
!
wild_num
)
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
...
...
sql/strfunc.cc
View file @
0d08e9b2
...
@@ -147,7 +147,7 @@ uint find_type(TYPELIB *lib, const char *find, uint length, bool part_match)
...
@@ -147,7 +147,7 @@ uint find_type(TYPELIB *lib, const char *find, uint length, bool part_match)
uint
find_type2
(
TYPELIB
*
typelib
,
const
char
*
x
,
uint
length
,
CHARSET_INFO
*
cs
)
uint
find_type2
(
TYPELIB
*
typelib
,
const
char
*
x
,
uint
length
,
CHARSET_INFO
*
cs
)
{
{
int
find
,
pos
,
findpos
;
int
find
,
pos
;
const
char
*
j
;
const
char
*
j
;
DBUG_ENTER
(
"find_type2"
);
DBUG_ENTER
(
"find_type2"
);
DBUG_PRINT
(
"enter"
,(
"x: '%s' lib: 0x%lx"
,
x
,
typelib
));
DBUG_PRINT
(
"enter"
,(
"x: '%s' lib: 0x%lx"
,
x
,
typelib
));
...
@@ -157,7 +157,7 @@ uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs)
...
@@ -157,7 +157,7 @@ uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs)
DBUG_PRINT
(
"exit"
,(
"no count"
));
DBUG_PRINT
(
"exit"
,(
"no count"
));
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
LINT_INIT
(
findpos
);
for
(
find
=
0
,
pos
=
0
;
(
j
=
typelib
->
type_names
[
pos
])
;
pos
++
)
for
(
find
=
0
,
pos
=
0
;
(
j
=
typelib
->
type_names
[
pos
])
;
pos
++
)
{
{
if
(
!
my_strnncoll
(
cs
,
(
const
uchar
*
)
x
,
length
,
if
(
!
my_strnncoll
(
cs
,
(
const
uchar
*
)
x
,
length
,
...
...
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