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
31c1efdb
Commit
31c1efdb
authored
Dec 10, 2009
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix: pthread_mutext_[un]lock -> mysql_mutex_[un]lock.
parent
a806fd13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/myisam/ha_myisam.cc
storage/myisam/ha_myisam.cc
+2
-2
No files found.
storage/myisam/ha_myisam.cc
View file @
31c1efdb
...
@@ -561,7 +561,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
...
@@ -561,7 +561,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
THD
*
cur_thd
;
THD
*
cur_thd
;
LIST
*
element
;
LIST
*
element
;
char
buf
[
1024
];
char
buf
[
1024
];
pthread
_mutex_lock
(
&
file
->
s
->
intern_lock
);
mysql
_mutex_lock
(
&
file
->
s
->
intern_lock
);
if
((
cur_thd
=
(
THD
*
)
file
->
in_use
.
data
))
if
((
cur_thd
=
(
THD
*
)
file
->
in_use
.
data
))
sql_print_error
(
"Got an error from thread_id=%lu, %s:%d"
,
cur_thd
->
thread_id
,
sql_print_error
(
"Got an error from thread_id=%lu, %s:%d"
,
cur_thd
->
thread_id
,
sfile
,
sline
);
sfile
,
sline
);
...
@@ -575,7 +575,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
...
@@ -575,7 +575,7 @@ void _mi_report_crashed(MI_INFO *file, const char *message,
sql_print_error
(
"%s"
,
thd
?
thd_security_context
(
thd
,
buf
,
sizeof
(
buf
),
0
)
sql_print_error
(
"%s"
,
thd
?
thd_security_context
(
thd
,
buf
,
sizeof
(
buf
),
0
)
:
"Unknown thread accessing table"
);
:
"Unknown thread accessing table"
);
}
}
pthread
_mutex_unlock
(
&
file
->
s
->
intern_lock
);
mysql
_mutex_unlock
(
&
file
->
s
->
intern_lock
);
}
}
}
}
...
...
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