]> source.dussan.org Git - jackcess.git/commitdiff
set table name earlier in constructor
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 4 Aug 2006 12:26:51 +0000 (12:26 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 4 Aug 2006 12:26:51 +0000 (12:26 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@90 f203690c-595d-4dc9-a70b-905162fa7fd2

src/java/com/healthmarketscience/jackcess/Table.java

index 6a23316dcba81154ffb77b2bbdea3aec61663ac9..405478e567fa090356b0bdc13829d4564abf0ad1 100644 (file)
@@ -122,6 +122,7 @@ public class Table {
     _pageChannel = pageChannel;
     _format = format;
     _tableDefPageNumber = pageNumber;
+    _name = name;
     int nextPage;
     ByteBuffer nextPageBuffer = null;
     nextPage = _buffer.getInt(_format.OFFSET_NEXT_TABLE_DEF_PAGE);
@@ -140,7 +141,6 @@ public class Table {
       _buffer.flip();
     }
     readPage();
-    _name = name;
   }
 
   /**