• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LIVE_RECORD

 
Kevin Nido
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone
I have completed my data conversion tool. Before moving on I am testing it with the data class. I am stuck on the following;
if(buffer[0]==LIVE_RECORD)
from the readRecord(). I know the byte buffer is sized to contain a record and db.read(buffer) will read in a record. This is confusing for me. Any help appreciated.
TIA Kevin
 
Ricardo Polero
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
It funny, in my requirement I don't have to make data conversion tool !
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, what is this notorious "data conversion" tool that is never mentioned in my assignment?
 
Toyin Sogeke
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
The LIVE_RECORD variable is used to identify
record(s) that have not been deleted while
DELETED_RECORD indicates a record has been
deleted and is no longer active.
Deleted record(s) are not actually removed
from the database file.
Cheer
Originally posted by Kevin Nido:
Hi everyone
I have completed my data conversion tool. Before moving on I am testing it with the data class. I am stuck on the following;
if(buffer[0]==LIVE_RECORD)
from the readRecord(). I know the byte buffer is sized to contain a record and db.read(buffer) will read in a record. This is confusing for me. Any help appreciated.
TIA Kevin

 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand the requirement to write a conversion tool has been removed from recent versions of the assignment. Don't worry. Just stick to what your own assignment tells you to do.
- Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic