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
02d318e4
Commit
02d318e4
authored
Mar 16, 2007
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines
into chilla.local:/home/mydev/mysql-5.1-bug26782
parents
dba23b56
ef885b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
storage/myisam/mi_create.c
storage/myisam/mi_create.c
+5
-3
No files found.
storage/myisam/mi_create.c
View file @
02d318e4
...
...
@@ -603,10 +603,12 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
}
else
{
char
*
iext
=
strrchr
(
name
,
'.'
);
int
have_iext
=
iext
&&
!
strcmp
(
iext
,
MI_NAME_IEXT
);
fn_format
(
filename
,
name
,
""
,
MI_NAME_IEXT
,
(
MY_UNPACK_FILENAME
|
(
flags
&
HA_DONT_TOUCH_DATA
)
?
MY_RETURN_REAL_PATH
:
0
)
|
MY_APPEND_EXT
);
MY_UNPACK_FILENAME
|
(
(
flags
&
HA_DONT_TOUCH_DATA
)
?
MY_RETURN_REAL_PATH
:
0
)
|
(
have_iext
?
MY_REPLACE_EXT
:
MY_APPEND_EXT
)
);
linkname_ptr
=
0
;
/* Replace the current file */
create_flag
=
MY_DELETE_OLD
;
...
...
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