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
02f33193
Commit
02f33193
authored
Jan 11, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging fixed
parent
3ba08508
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
24 deletions
+8
-24
mysys/default.c
mysys/default.c
+8
-23
sql/sql_base.cc
sql/sql_base.cc
+0
-1
No files found.
mysys/default.c
View file @
02f33193
...
@@ -112,20 +112,14 @@ static int search_files(const char *conf_file, int *argc, char ***argv,
...
@@ -112,20 +112,14 @@ static int search_files(const char *conf_file, int *argc, char ***argv,
DBUG_ENTER
(
"search_files"
);
DBUG_ENTER
(
"search_files"
);
/* Check if we want to force the use a specific default file */
/* Check if we want to force the use a specific default file */
forced_default_file
=
0
;
get_defaults_files
(
*
argc
,
*
argv
,
if
(
*
argc
>=
2
)
(
char
**
)
&
forced_default_file
,
&
defaults_extra_file
);
{
if
(
forced_default_file
)
if
(
is_prefix
(
argv
[
0
][
1
],
"--defaults-file="
))
forced_default_file
=
strchr
(
forced_default_file
,
'='
)
+
1
;
{
if
(
defaults_extra_file
)
forced_default_file
=
strchr
(
argv
[
0
][
1
],
'='
)
+
1
;
defaults_extra_file
=
strchr
(
defaults_extra_file
,
'='
)
+
1
;
(
*
args_used
)
++
;
}
args_used
+=
(
forced_default_file
?
1
:
0
)
+
(
defaults_extra_file
?
1
:
0
);
else
if
(
is_prefix
(
argv
[
0
][
1
],
"--defaults-extra-file="
))
{
defaults_extra_file
=
strchr
(
argv
[
0
][
1
],
'='
)
+
1
;
(
*
args_used
)
++
;
}
}
if
(
forced_default_file
)
if
(
forced_default_file
)
{
{
...
@@ -355,15 +349,6 @@ int load_defaults(const char *conf_file, const char **groups,
...
@@ -355,15 +349,6 @@ int load_defaults(const char *conf_file, const char **groups,
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
get_defaults_files
(
*
argc
,
*
argv
,
(
char
**
)
&
forced_default_file
,
&
defaults_extra_file
);
if
(
forced_default_file
)
forced_default_file
=
strchr
(
forced_default_file
,
'='
)
+
1
;
if
(
defaults_extra_file
)
defaults_extra_file
=
strchr
(
defaults_extra_file
,
'='
)
+
1
;
args_used
+=
(
forced_default_file
?
1
:
0
)
+
(
defaults_extra_file
?
1
:
0
);
group
.
count
=
0
;
group
.
count
=
0
;
group
.
name
=
"defaults"
;
group
.
name
=
"defaults"
;
group
.
type_names
=
groups
;
group
.
type_names
=
groups
;
...
...
sql/sql_base.cc
View file @
02f33193
...
@@ -2644,7 +2644,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
...
@@ -2644,7 +2644,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
)
{
{
DBUG_ENTER
(
"setup_wild"
);
if
(
!
wild_num
)
if
(
!
wild_num
)
return
(
0
);
return
(
0
);
...
...
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