mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
removed compiler warning
This commit is contained in:
parent
fbc245e63c
commit
879d986d99
2 changed files with 5 additions and 2 deletions
|
@ -172,7 +172,7 @@ Dbtux::execTUX_BOUND_INFO(Signal* signal)
|
|||
BoundInfo& b = boundInfo[j][attrId];
|
||||
if (b.type != -1) {
|
||||
// compare with previous bound
|
||||
if (b.type != type2 ||
|
||||
if (b.type != (int)type2 ||
|
||||
b.size != 2 + dataSize ||
|
||||
memcmp(&data[b.offset + 2], &data[offset + 2], dataSize << 2) != 0) {
|
||||
jam();
|
||||
|
|
|
@ -1656,7 +1656,10 @@ MgmtSrvr::setSignalLoggingMode(int processId, LogMode mode,
|
|||
logSpec = TestOrd::InputOutputSignals;
|
||||
break;
|
||||
default:
|
||||
assert("Unexpected value, MgmtSrvr::setSignalLoggingMode" == 0);
|
||||
ndbout_c("Unexpected value %d, MgmtSrvr::setSignalLoggingMode, line %d",
|
||||
(unsigned)mode, __LINE__);
|
||||
assert(false);
|
||||
return -1;
|
||||
}
|
||||
|
||||
NdbApiSignal* signal = getSignal();
|
||||
|
|
Loading…
Reference in a new issue