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
bff3ed00
Commit
bff3ed00
authored
Sep 07, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
c0458bb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
sql/item_strfunc.cc
sql/item_strfunc.cc
+2
-3
sql/sql_load.cc
sql/sql_load.cc
+4
-4
No files found.
sql/item_strfunc.cc
View file @
bff3ed00
...
...
@@ -2422,9 +2422,8 @@ String *Item_load_file::val_str(String *str)
)
goto
err
;
(
void
)
fn_format
(
path
,
file_name
->
c_ptr
(),
mysql_real_data_home
,
""
,
MY_RELATIVE_PATH
);
unpack_filename
(
path
,
path
);
/* Convert to system format */
(
void
)
fn_format
(
path
,
file_name
->
c_ptr
(),
mysql_real_data_home
,
""
,
MY_RELATIVE_PATH
|
MY_UNPACK_FILENAME
);
if
(
!
my_stat
(
path
,
&
stat_info
,
MYF
(
MY_WME
)))
goto
err
;
...
...
sql/sql_load.cc
View file @
bff3ed00
...
...
@@ -182,13 +182,13 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
if
(
!
dirname_length
(
ex
->
file_name
))
{
strxnmov
(
name
,
FN_REFLEN
,
mysql_real_data_home
,
tdb
,
NullS
);
(
void
)
fn_format
(
name
,
ex
->
file_name
,
name
,
""
,
MY_RELATIVE_PATH
);
unpack_filename
(
name
,
name
);
(
void
)
fn_format
(
name
,
ex
->
file_name
,
name
,
""
,
MY_RELATIVE_PATH
|
MY_UNPACK_FILENAME
);
}
else
{
(
void
)
fn_format
(
name
,
ex
->
file_name
,
mysql_real_data_home
,
""
,
MY_RELATIVE_PATH
);
unpack_filename
(
name
,
name
);
(
void
)
fn_format
(
name
,
ex
->
file_name
,
mysql_real_data_home
,
""
,
MY_RELATIVE_PATH
|
MY_UNPACK_FILENAME
);
#if !defined(__WIN__) && !defined(OS2) && ! defined(__NETWARE__)
MY_STAT
stat_info
;
if
(
!
my_stat
(
name
,
&
stat_info
,
MYF
(
MY_WME
)))
...
...
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