Mercurial > hg > audiodb
comparison insert.cpp @ 318:c270d9e4659a large_adb
Ammended batchinsert and status to memory map featureFilenameTables, powerFileNameTable and timesFileNameTable for O2_FLAG_LARGE_ADB
author | mas01mc |
---|---|
date | Tue, 19 Aug 2008 15:50:26 +0000 |
parents | 25572f1bd37f |
children | a995e5ad999a |
comparison
equal
deleted
inserted
replaced
317:ab411674dad4 | 318:c270d9e4659a |
---|---|
463 | 463 |
464 // Primary Keys | 464 // Primary Keys |
465 INSERT_FILETABLE_STRING(fileTable, thisKey); | 465 INSERT_FILETABLE_STRING(fileTable, thisKey); |
466 | 466 |
467 // Feature Vector fileNames | 467 // Feature Vector fileNames |
468 INSERT_FILETABLE_STRING(dbH->dataOffset, thisFile); | 468 INSERT_FILETABLE_STRING(featureFileNameTable, thisFile); |
469 | 469 |
470 // Time Stamp fileNames | 470 // Time Stamp fileNames |
471 if(usingTimes) | 471 if(usingTimes) |
472 INSERT_FILETABLE_STRING(dbH->timesTableOffset, thisTimesFileName); | 472 INSERT_FILETABLE_STRING(timesFileNameTable, thisTimesFileName); |
473 | 473 |
474 | 474 |
475 // Power fileNames | 475 // Power fileNames |
476 if(usingPower) | 476 if(usingPower) |
477 INSERT_FILETABLE_STRING(dbH->powerTableOffset, thisPowerFileName); | 477 INSERT_FILETABLE_STRING(powerFileNameTable, thisPowerFileName); |
478 | 478 |
479 // Increment file count | 479 // Increment file count |
480 dbH->numFiles++; | 480 dbH->numFiles++; |
481 | 481 |
482 // Update Header information | 482 // Update Header information |