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
6f511796
Commit
6f511796
authored
Jan 11, 2005
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging fixed
parent
38baa28a
Changes
2
Show 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 @
6f511796
...
...
@@ -112,20 +112,14 @@ static int search_files(const char *conf_file, int *argc, char ***argv,
DBUG_ENTER
(
"search_files"
);
/* Check if we want to force the use a specific default file */
forced_default_file
=
0
;
if
(
*
argc
>=
2
)
{
if
(
is_prefix
(
argv
[
0
][
1
],
"--defaults-file="
))
{
forced_default_file
=
strchr
(
argv
[
0
][
1
],
'='
)
+
1
;
(
*
args_used
)
++
;
}
else
if
(
is_prefix
(
argv
[
0
][
1
],
"--defaults-extra-file="
))
{
defaults_extra_file
=
strchr
(
argv
[
0
][
1
],
'='
)
+
1
;
(
*
args_used
)
++
;
}
}
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
);
if
(
forced_default_file
)
{
...
...
@@ -355,15 +349,6 @@ int load_defaults(const char *conf_file, const char **groups,
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
.
name
=
"defaults"
;
group
.
type_names
=
groups
;
...
...
sql/sql_base.cc
View file @
6f511796
...
...
@@ -2644,7 +2644,6 @@ int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields,
List
<
Item
>
*
sum_func_list
,
uint
wild_num
)
{
DBUG_ENTER
(
"setup_wild"
);
if
(
!
wild_num
)
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