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
0968cc9d
Commit
0968cc9d
authored
Dec 27, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb: remove compiler warnings
parent
e5dd5e06
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+1
-1
storage/ndb/src/kernel/blocks/backup/Backup.cpp
storage/ndb/src/kernel/blocks/backup/Backup.cpp
+1
-1
storage/ndb/src/mgmapi/mgmapi.cpp
storage/ndb/src/mgmapi/mgmapi.cpp
+6
-6
No files found.
sql/ha_ndbcluster.cc
View file @
0968cc9d
...
@@ -7337,7 +7337,7 @@ static void print_share(const char* where, NDB_SHARE* share)
...
@@ -7337,7 +7337,7 @@ static void print_share(const char* where, NDB_SHARE* share)
fprintf
(
DBUG_FILE
,
fprintf
(
DBUG_FILE
,
"%s %s.%s: use_count: %u, commit_count: %llu
\n
"
,
"%s %s.%s: use_count: %u, commit_count: %llu
\n
"
,
where
,
share
->
db
,
share
->
table_name
,
share
->
use_count
,
where
,
share
->
db
,
share
->
table_name
,
share
->
use_count
,
share
->
commit_count
);
(
long
long
unsigned
int
)
share
->
commit_count
);
fprintf
(
DBUG_FILE
,
fprintf
(
DBUG_FILE
,
" - key: %s, key_length: %d
\n
"
,
" - key: %s, key_length: %d
\n
"
,
share
->
key
,
share
->
key_length
);
share
->
key
,
share
->
key_length
);
...
...
storage/ndb/src/kernel/blocks/backup/Backup.cpp
View file @
0968cc9d
...
@@ -3948,7 +3948,7 @@ Backup::checkScan(Signal* signal, BackupFilePtr filePtr)
...
@@ -3948,7 +3948,7 @@ Backup::checkScan(Signal* signal, BackupFilePtr filePtr)
filePtr
.
p
->
tableId
>=
2
&&
filePtr
.
p
->
tableId
>=
2
&&
filePtr
.
p
->
operation
.
noOfRecords
>
0
)
filePtr
.
p
->
operation
.
noOfRecords
>
0
)
{
{
ndbout_c
(
"halting backup for table %d fragment: %d after %
d
records"
,
ndbout_c
(
"halting backup for table %d fragment: %d after %
llu
records"
,
filePtr
.
p
->
tableId
,
filePtr
.
p
->
tableId
,
filePtr
.
p
->
fragmentNo
,
filePtr
.
p
->
fragmentNo
,
filePtr
.
p
->
operation
.
noOfRecords
);
filePtr
.
p
->
operation
.
noOfRecords
);
...
...
storage/ndb/src/mgmapi/mgmapi.cpp
View file @
0968cc9d
...
@@ -1273,13 +1273,13 @@ ndb_mgm_get_clusterlog_severity_filter(NdbMgmHandle handle,
...
@@ -1273,13 +1273,13 @@ ndb_mgm_get_clusterlog_severity_filter(NdbMgmHandle handle,
MGM_ARG
(
clusterlog_severity_names
[
5
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_severity_names
[
5
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_severity_names
[
6
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_severity_names
[
6
],
Int
,
Mandatory
,
""
),
};
};
CHECK_HANDLE
(
handle
,
NULL
);
CHECK_HANDLE
(
handle
,
-
1
);
CHECK_CONNECTED
(
handle
,
NULL
);
CHECK_CONNECTED
(
handle
,
-
1
);
Properties
args
;
Properties
args
;
const
Properties
*
reply
;
const
Properties
*
reply
;
reply
=
ndb_mgm_call
(
handle
,
getinfo_reply
,
"get info clusterlog"
,
&
args
);
reply
=
ndb_mgm_call
(
handle
,
getinfo_reply
,
"get info clusterlog"
,
&
args
);
CHECK_REPLY
(
reply
,
NULL
);
CHECK_REPLY
(
reply
,
-
1
);
for
(
unsigned
int
i
=
0
;
i
<
severity_size
;
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
severity_size
;
i
++
)
{
reply
->
get
(
clusterlog_severity_names
[
severity
[
i
].
category
],
&
severity
[
i
].
value
);
reply
->
get
(
clusterlog_severity_names
[
severity
[
i
].
category
],
&
severity
[
i
].
value
);
...
@@ -1430,13 +1430,13 @@ ndb_mgm_get_clusterlog_loglevel(NdbMgmHandle handle,
...
@@ -1430,13 +1430,13 @@ ndb_mgm_get_clusterlog_loglevel(NdbMgmHandle handle,
MGM_ARG
(
clusterlog_names
[
10
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_names
[
10
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_names
[
11
],
Int
,
Mandatory
,
""
),
MGM_ARG
(
clusterlog_names
[
11
],
Int
,
Mandatory
,
""
),
};
};
CHECK_HANDLE
(
handle
,
NULL
);
CHECK_HANDLE
(
handle
,
-
1
);
CHECK_CONNECTED
(
handle
,
NULL
);
CHECK_CONNECTED
(
handle
,
-
1
);
Properties
args
;
Properties
args
;
const
Properties
*
reply
;
const
Properties
*
reply
;
reply
=
ndb_mgm_call
(
handle
,
getloglevel_reply
,
"get cluster loglevel"
,
&
args
);
reply
=
ndb_mgm_call
(
handle
,
getloglevel_reply
,
"get cluster loglevel"
,
&
args
);
CHECK_REPLY
(
reply
,
NULL
);
CHECK_REPLY
(
reply
,
-
1
);
for
(
int
i
=
0
;
i
<
loglevel_count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
loglevel_count
;
i
++
)
{
reply
->
get
(
clusterlog_names
[
loglevel
[
i
].
category
],
&
loglevel
[
i
].
value
);
reply
->
get
(
clusterlog_names
[
loglevel
[
i
].
category
],
&
loglevel
[
i
].
value
);
...
...
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