Package org.tmatesoft.sqljet.core

Examples of org.tmatesoft.sqljet.core.SqlJetErrorCode


     * replayed.
     *
     * @param e
     */
    private void error(final SqlJetException e) {
        final SqlJetErrorCode c = e.getErrorCode();
        if (SqlJetErrorCode.FULL == c || SqlJetErrorCode.IOERR == c || SqlJetErrorCode.CORRUPT == c) {
            errCode = c;
            if (SqlJetPagerState.UNLOCK == state && pageCache.getRefCount() == 0) {
                /*
                 * If the pager is already unlocked, call pager_unlock() now to
View Full Code Here


     * if the database is locked. SQLITE_NOMEM is returned if we run out of
     * memory.
     */
    private void lockBtree() throws SqlJetException {

        SqlJetErrorCode rc = null;
        SqlJetMemPage pPage1;
        int nPage;

        assert (pBt.mutex.held());

View Full Code Here

TOP

Related Classes of org.tmatesoft.sqljet.core.SqlJetErrorCode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.