How to insert zero at the beggining? #302
Unanswered
Bug-terminator
asked this question in
Q&A
Replies: 1 comment
-
In my opinion, whether a location is inserted or not is determined by reading the array——readable_[index], so when inserting key = 000 at index=1, we should judge whether the readable_[1]=1 to determine whether key=000 is insert , not the key itself |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since project 2 requires unique key, and all pages are initialized to zero. If 0 is inserted right after the database is created, the database will mistakenly assume that a 0 has been inserted before, and reject the insertion. Is this a bug? Or is there something deep int this that I don't understand?Please correct me if I was wrong.
Beta Was this translation helpful? Give feedback.
All reactions