提交 e9383644 authored 作者: noelgrandin's avatar noelgrandin

remove dead code

上级 48a8b9c7
...@@ -314,14 +314,6 @@ public class ValueLob extends Value { ...@@ -314,14 +314,6 @@ public class ValueLob extends Value {
return newId; return newId;
} }
/**
* Reset the directory counter as if the process was stopped. This method is
* for debugging only (to simulate stopping a process).
*/
public static void resetDirCounter() {
dirCounter = 0;
}
private static void invalidateFileList(DataHandler h, String dir) { private static void invalidateFileList(DataHandler h, String dir) {
SmallLRUCache<String, String[]> cache = h.getLobFileListCache(); SmallLRUCache<String, String[]> cache = h.getLobFileListCache();
if (cache != null) { if (cache != null) {
...@@ -785,17 +777,6 @@ public class ValueLob extends Value { ...@@ -785,17 +777,6 @@ public class ValueLob extends Value {
return 140; return 140;
} }
/**
* Remove all lobs for a given table id.
*
* @param handler the data handler
* @param tableId the table id
*/
public static void removeAllForTable(DataHandler handler, int tableId) {
String dir = ValueLob.getFileNamePrefix(handler.getDatabasePath(), 0);
removeAllForTable(handler, dir, tableId);
}
private static void removeAllForTable(DataHandler handler, String dir, int tableId) { private static void removeAllForTable(DataHandler handler, String dir, int tableId) {
for (String name : FileUtils.newDirectoryStream(dir)) { for (String name : FileUtils.newDirectoryStream(dir)) {
if (FileUtils.isDirectory(name)) { if (FileUtils.isDirectory(name)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论