private void init() throws SqlJetException { if (db.getOptions().getSchemaVersion() == 0) return; final ISqlJetBtreeSchemaTable table = openSchemaTable(false); try { table.lock(); try { readShema(table); } finally { table.unlock(); } } finally { table.close(); } }
return getOptions().isLegacyFileFormat(); } else if ("schema_version".equals(name)) { return Integer.valueOf(getOptions().getSchemaVersion()); } else if ("user_version".equals(name)) { return Integer.valueOf(getOptions().getUserVersion());