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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
78845aba
Commit
78845aba
authored
Dec 30, 2005
by
svoj@april.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into april.(none):/home/svoj/devel/mysql/mysql-5.1-new
parents
83d8979c
a1e8e4ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
sql/mysqld.cc
sql/mysqld.cc
+2
-3
sql/table.cc
sql/table.cc
+2
-2
No files found.
sql/mysqld.cc
View file @
78845aba
...
@@ -7477,10 +7477,9 @@ static void fix_paths(void)
...
@@ -7477,10 +7477,9 @@ static void fix_paths(void)
(
void
)
my_load_path
(
mysql_home
,
mysql_home
,
""
);
// Resolve current dir
(
void
)
my_load_path
(
mysql_home
,
mysql_home
,
""
);
// Resolve current dir
(
void
)
my_load_path
(
mysql_real_data_home
,
mysql_real_data_home
,
mysql_home
);
(
void
)
my_load_path
(
mysql_real_data_home
,
mysql_real_data_home
,
mysql_home
);
(
void
)
my_load_path
(
pidfile_name
,
pidfile_name
,
mysql_real_data_home
);
(
void
)
my_load_path
(
pidfile_name
,
pidfile_name
,
mysql_real_data_home
);
strmake
(
opt_plugin_dir
,
get_relative_path
(
LIBDIR
),
(
void
)
my_load_path
(
opt_plugin_dir
,
opt_plugin_dir_ptr
?
opt_plugin_dir_ptr
:
sizeof
(
opt_plugin_dir
)
-
1
);
get_relative_path
(
LIBDIR
),
mysql_home
);
opt_plugin_dir_ptr
=
opt_plugin_dir
;
opt_plugin_dir_ptr
=
opt_plugin_dir
;
(
void
)
my_load_path
(
opt_plugin_dir
,
opt_plugin_dir_ptr
,
mysql_home
);
char
*
sharedir
=
get_relative_path
(
SHAREDIR
);
char
*
sharedir
=
get_relative_path
(
SHAREDIR
);
if
(
test_if_hard_path
(
sharedir
))
if
(
test_if_hard_path
(
sharedir
))
...
...
sql/table.cc
View file @
78845aba
...
@@ -538,7 +538,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
...
@@ -538,7 +538,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
#endif
#endif
next_chunk
+=
str_db_type_length
+
2
;
next_chunk
+=
str_db_type_length
+
2
;
}
}
if
(
next_chunk
+
4
<
buff_end
)
if
(
next_chunk
+
5
<
buff_end
)
{
{
uint32
partition_info_len
=
uint4korr
(
next_chunk
);
uint32
partition_info_len
=
uint4korr
(
next_chunk
);
#ifdef WITH_PARTITION_STORAGE_ENGINE
#ifdef WITH_PARTITION_STORAGE_ENGINE
...
@@ -561,7 +561,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
...
@@ -561,7 +561,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
goto
err
;
goto
err
;
}
}
#endif
#endif
next_chunk
+=
4
+
partition_info_len
;
next_chunk
+=
5
+
partition_info_len
;
}
}
keyinfo
=
share
->
key_info
;
keyinfo
=
share
->
key_info
;
for
(
i
=
0
;
i
<
keys
;
i
++
,
keyinfo
++
)
for
(
i
=
0
;
i
<
keys
;
i
++
,
keyinfo
++
)
...
...
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