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
93023d31
Commit
93023d31
authored
Nov 20, 2007
by
holyfoot/hf@hfmain.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/hf/work/31868/my41-31868
into mysql.com:/home/hf/work/31868/my50-31868
parents
ddc04e76
366a87cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/sql_table.cc
sql/sql_table.cc
+5
-2
No files found.
sql/sql_table.cc
View file @
93023d31
...
@@ -2770,8 +2770,11 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST *src_table,
...
@@ -2770,8 +2770,11 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST *src_table,
strxmov
(
src_path
,
(
*
tmp_table
)
->
s
->
path
,
reg_ext
,
NullS
);
strxmov
(
src_path
,
(
*
tmp_table
)
->
s
->
path
,
reg_ext
,
NullS
);
else
else
{
{
strxmov
(
src_path
,
mysql_data_home
,
"/"
,
src_table
->
db
,
"/"
,
char
*
tablename_pos
=
strxmov
(
src_path
,
mysql_data_home
,
"/"
,
NullS
);
src_table
->
table_name
,
reg_ext
,
NullS
);
strxmov
(
tablename_pos
,
src_table
->
db
,
"/"
,
src_table
->
table_name
,
reg_ext
,
NullS
);
if
(
lower_case_table_names
)
my_casedn_str
(
files_charset_info
,
tablename_pos
);
/* Resolve symlinks (for windows) */
/* Resolve symlinks (for windows) */
fn_format
(
src_path
,
src_path
,
""
,
""
,
MYF
(
MY_UNPACK_FILENAME
));
fn_format
(
src_path
,
src_path
,
""
,
""
,
MYF
(
MY_UNPACK_FILENAME
));
if
(
access
(
src_path
,
F_OK
))
if
(
access
(
src_path
,
F_OK
))
...
...
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