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
f97c11fe
Commit
f97c11fe
authored
Jul 15, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor type fixes to prev patch
parent
36777ad2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
ndb/src/mgmapi/ndb_logevent.cpp
ndb/src/mgmapi/ndb_logevent.cpp
+2
-3
ndb/src/mgmsrv/Services.cpp
ndb/src/mgmsrv/Services.cpp
+1
-1
No files found.
ndb/src/mgmapi/ndb_logevent.cpp
View file @
f97c11fe
...
...
@@ -392,9 +392,8 @@ int ndb_logevent_get_next(const NdbLogEventHandle h,
struct
timeval
now
;
gettimeofday
(
&
now
,
0
);
unsigned
elapsed_ms
=
(
now
.
tv_sec
-
start_time
.
tv_sec
)
*
1000
+
(
now
.
tv_usec
-
start_time
.
tv_usec
)
/
1000
;
unsigned
elapsed_ms
=
(
now
.
tv_sec
-
start_time
.
tv_sec
)
*
1000
+
((
signed
int
)
now
.
tv_usec
-
(
signed
int
)
start_time
.
tv_usec
)
/
1000
;
if
(
elapsed_ms
>=
timeout_in_milliseconds
)
{
...
...
ndb/src/mgmsrv/Services.cpp
View file @
f97c11fe
...
...
@@ -1308,7 +1308,7 @@ Ndb_mgmd_event_service::log(int eventType, const Uint32* theData, NodeId nodeId)
{
if
(
threshold
<=
m_clients
[
i
].
m_logLevel
.
getLogLevel
(
cat
))
{
int
fd
=
m_clients
[
i
].
m_socket
;
NDB_SOCKET_TYPE
fd
=
m_clients
[
i
].
m_socket
;
if
(
fd
!=
NDB_INVALID_SOCKET
)
{
int
r
;
...
...
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