1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

removed compiler warning

shortened help text
This commit is contained in:
tomas@poseidon.ndb.mysql.com
2004-10-25 10:23:45 +00:00
parent 36a2a5e277
commit fbc245e63c
2 changed files with 16 additions and 10 deletions

View File

@@ -116,6 +116,11 @@ int main(int argc, const char** argv){
ndbout << " Table " << _tabname << " does not exist!" << endl;
return NDBT_ProgramExit(NDBT_WRONGARGS);
}
if(_order && pIdx == NULL){
ndbout << " Order flag given without an index" << endl;
return NDBT_ProgramExit(NDBT_WRONGARGS);
}
if (scanReadRecords(&MyNdb,
pTab,
@@ -146,7 +151,7 @@ int scanReadRecords(Ndb* pNdb,
int check;
NdbConnection *pTrans;
NdbScanOperation *pOp;
NdbIndexScanOperation * pIOp;
NdbIndexScanOperation * pIOp= 0;
NDBT_ResultRow * row = new NDBT_ResultRow(*pTab, delimiter);