This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

B&S: Very important question about delete  RSS feed

 
Liang Anmian
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following comment exists in the specs:



In the first place what does it mean by "record number and associated disk storage available for reuse"? If a record is deleted, it is not physically removed from the file, isn't it? All I need to do is set the flag to 0xFF.
 
Liang Anmian
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops I'm so sorry. I got the idea. I just need to change the flag. The next time I create a new record, I merely overwrite the deleted record.

Sorry but I didn't pay enough attention to the create method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!