mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb - csc#4847 release scan op early to save memory
ndb/include/ndbapi/NdbConnection.hpp: release scan op of hupped trans at scan close to save memory ndb/include/ndbapi/NdbScanOperation.hpp: release scan op of hupped trans at scan close to save memory ndb/src/ndbapi/NdbConnection.cpp: release scan op of hupped trans at scan close to save memory ndb/src/ndbapi/NdbResultSet.cpp: release scan op of hupped trans at scan close to save memory ndb/src/ndbapi/NdbScanOperation.cpp: release scan op of hupped trans at scan close to save memory ndb/tools/desc.cpp: release scan op of hupped trans at scan close to save memory
This commit is contained in:
@ -89,7 +89,7 @@ int main(int argc, char** argv){
|
||||
unsigned j;
|
||||
for (j= 0; (int)j < pTab->getNoOfPrimaryKeys(); j++)
|
||||
{
|
||||
const NdbDictionary::Column * col = pTab->getColumn(j);
|
||||
const NdbDictionary::Column * col = pTab->getColumn(pTab->getPrimaryKey(j));
|
||||
ndbout << col->getName();
|
||||
if ((int)j < pTab->getNoOfPrimaryKeys()-1)
|
||||
ndbout << ", ";
|
||||
|
Reference in New Issue
Block a user