equal
deleted
inserted
replaced
171 __SQLASSERT(entry != NULL, ESqlPanicInternalError); |
171 __SQLASSERT(entry != NULL, ESqlPanicInternalError); |
172 if(entry) |
172 if(entry) |
173 { |
173 { |
174 if(entry->Release() == 0) |
174 if(entry->Release() == 0) |
175 { |
175 { |
176 iEntries.Remove(idx); |
176 iEntries.Remove(idx); |
|
177 #ifdef _DEBUG |
|
178 //This is used prevent the failure of the resource allocation checking for debug mode. |
|
179 if(iEntries.Count() == 0) |
|
180 { |
|
181 iEntries.Reset(); |
|
182 } |
|
183 #endif |
177 } |
184 } |
178 } |
185 } |
179 } |
186 } |
180 SQLCOMPACTOR_INVARIANT(); |
187 SQLCOMPACTOR_INVARIANT(); |
181 } |
188 } |