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
d98fe8b7
Commit
d98fe8b7
authored
May 03, 2006
by
mikael@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.(none):/home/mikael/bug19313
parents
55ccf0fe
fdb8043e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
sql/sql_table.cc
sql/sql_table.cc
+11
-5
No files found.
sql/sql_table.cc
View file @
d98fe8b7
...
...
@@ -428,10 +428,6 @@ static uint read_ddl_log_header()
bool
successful_open
=
FALSE
;
DBUG_ENTER
(
"read_ddl_log_header"
);
bzero
(
file_entry_buf
,
sizeof
(
global_ddl_log
.
file_entry_buf
));
global_ddl_log
.
inited
=
FALSE
;
global_ddl_log
.
recovery_phase
=
TRUE
;
global_ddl_log
.
io_size
=
IO_SIZE
;
create_ddl_log_file_name
(
file_name
);
if
((
global_ddl_log
.
file_id
=
my_open
(
file_name
,
O_RDWR
|
O_BINARY
,
MYF
(
MY_WME
)))
>=
0
)
...
...
@@ -1067,6 +1063,15 @@ void execute_ddl_log_recovery()
char
file_name
[
FN_REFLEN
];
DBUG_ENTER
(
"execute_ddl_log_recovery"
);
/*
Initialise global_ddl_log struct
*/
bzero
(
global_ddl_log
.
file_entry_buf
,
sizeof
(
global_ddl_log
.
file_entry_buf
));
global_ddl_log
.
inited
=
FALSE
;
global_ddl_log
.
recovery_phase
=
TRUE
;
global_ddl_log
.
io_size
=
IO_SIZE
;
global_ddl_log
.
file_id
=
(
File
)
-
1
;
/*
To be able to run this from boot, we allocate a temporary THD
*/
...
...
@@ -1130,7 +1135,8 @@ void release_ddl_log()
my_free
((
char
*
)
free_list
,
MYF
(
0
));
free_list
=
tmp
;
}
VOID
(
my_close
(
global_ddl_log
.
file_id
,
MYF
(
0
)));
if
(
global_ddl_log
.
file_id
!=
(
File
)
-
1
)
VOID
(
my_close
(
global_ddl_log
.
file_id
,
MYF
(
0
)));
pthread_mutex_unlock
(
&
LOCK_gdl
);
VOID
(
pthread_mutex_destroy
(
&
LOCK_gdl
));
DBUG_VOID_RETURN
;
...
...
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