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
6ae2b46c
Commit
6ae2b46c
authored
Aug 13, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
parents
5b7da426
7d2f363e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2353 additions
and
2345 deletions
+2353
-2345
Docs/manual.texi
Docs/manual.texi
+2337
-2337
innobase/row/row0sel.c
innobase/row/row0sel.c
+1
-0
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+5
-5
sql/ha_innobase.cc
sql/ha_innobase.cc
+10
-3
No files found.
Docs/manual.texi
View file @
6ae2b46c
This diff is collapsed.
Click to expand it.
innobase/row/row0sel.c
View file @
6ae2b46c
...
@@ -2103,6 +2103,7 @@ row_sel_store_mysql_rec(
...
@@ -2103,6 +2103,7 @@ row_sel_store_mysql_rec(
if
(
extern_field_heap
)
{
if
(
extern_field_heap
)
{
mem_heap_free
(
extern_field_heap
);
mem_heap_free
(
extern_field_heap
);
extern_field_heap
=
NULL
;
}
}
}
else
{
}
else
{
mysql_rec
[
templ
->
mysql_null_byte_offset
]
|=
mysql_rec
[
templ
->
mysql_null_byte_offset
]
|=
...
...
innobase/srv/srv0start.c
View file @
6ae2b46c
...
@@ -141,21 +141,21 @@ srv_normalize_path_for_win(
...
@@ -141,21 +141,21 @@ srv_normalize_path_for_win(
}
}
/*************************************************************************
/*************************************************************************
Adds a slash or a backslash to the end of a string if it is missing. */
Adds a slash or a backslash to the end of a string if it is missing
and the string is not empty. */
static
static
char
*
char
*
srv_add_path_separator_if_needed
(
srv_add_path_separator_if_needed
(
/*=============================*/
/*=============================*/
/* out, own: string which has the separator */
/* out, own: string which has the separator if the
string is not empty */
char
*
str
)
/* in: null-terminated character string */
char
*
str
)
/* in: null-terminated character string */
{
{
char
*
out_str
;
char
*
out_str
;
if
(
ut_strlen
(
str
)
==
0
)
{
if
(
ut_strlen
(
str
)
==
0
)
{
out_str
=
ut_malloc
(
2
);
sprintf
(
out_str
,
"%s"
,
SRV_PATH_SEPARATOR
);
return
(
out_
str
);
return
(
str
);
}
}
if
(
str
[
ut_strlen
(
str
)
-
1
]
==
SRV_PATH_SEPARATOR
[
0
])
{
if
(
str
[
ut_strlen
(
str
)
-
1
]
==
SRV_PATH_SEPARATOR
[
0
])
{
...
...
sql/ha_innobase.cc
View file @
6ae2b46c
...
@@ -259,12 +259,15 @@ innobase_parse_data_file_paths_and_sizes(void)
...
@@ -259,12 +259,15 @@ innobase_parse_data_file_paths_and_sizes(void)
str
=
innobase_data_file_path
;
str
=
innobase_data_file_path
;
/* First calculate the number of data files and check syntax:
/* First calculate the number of data files and check syntax:
path:size[M];path:size[M]... */
path:size[M];path:size[M]... . Note that a Windows path may
contain a drive name and a ':'. */
while
(
*
str
!=
'\0'
)
{
while
(
*
str
!=
'\0'
)
{
path
=
str
;
path
=
str
;
while
(
*
str
!=
':'
&&
*
str
!=
'\0'
)
{
while
((
*
str
!=
':'
&&
*
str
!=
'\0'
)
||
(
*
str
==
':'
&&
(
*
(
str
+
1
)
==
'\\'
||
*
(
str
+
1
)
==
'/'
)))
{
str
++
;
str
++
;
}
}
...
@@ -335,7 +338,11 @@ innobase_parse_data_file_paths_and_sizes(void)
...
@@ -335,7 +338,11 @@ innobase_parse_data_file_paths_and_sizes(void)
while
(
*
str
!=
'\0'
)
{
while
(
*
str
!=
'\0'
)
{
path
=
str
;
path
=
str
;
while
(
*
str
!=
':'
&&
*
str
!=
'\0'
)
{
/* Note that we must ignore the ':' in a Windows path */
while
((
*
str
!=
':'
&&
*
str
!=
'\0'
)
||
(
*
str
==
':'
&&
(
*
(
str
+
1
)
==
'\\'
||
*
(
str
+
1
)
==
'/'
)))
{
str
++
;
str
++
;
}
}
...
...
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