]> source.dussan.org Git - jackcess.git/commitdiff
fix writing index type value on index creation
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 18 Mar 2011 21:15:15 +0000 (21:15 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 18 Mar 2011 21:15:15 +0000 (21:15 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@530 f203690c-595d-4dc9-a70b-905162fa7fd2

src/java/com/healthmarketscience/jackcess/Index.java

index 9ba24ccf174b0e152d6e795d4c4419dd9cc8636e..c9c2bf41612c404a57dcef2846903e29dcbf90ca 100644 (file)
@@ -360,7 +360,7 @@ public class Index implements Comparable<Index> {
       buffer.putInt(0); // related table definition page number
       buffer.put((byte)0); // cascade updates flag
       buffer.put((byte)0); // cascade deletes flag
-      buffer.put(idx.getFlags()); // index flags
+      buffer.put(idx.getType()); // index type flags
       buffer.putInt(0); // unknown
     }