rem: selectSchemaVersion.reset(); 
add: if (selectSchemaVersion) selectSchemaVersion.reset(); 
context:     versionCheck: function () {        var version = -1;        var selectSchemaVersion;        try {            selectSchemaVersion = createStatement (this.mDB, "SELECT version FROM cal_calendar_schema_version LIMIT 1");            if (selectSchemaVersion.step()) {                version = selectSchemaVersion.row.version;            }        } catch (e) {            // either the cal_calendar_schema_version table is not            // found, or something else happened            version = -1;        }        selectSchemaVersion.reset();        return version;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/75ad736a783008c7d58153b3e3be5fab02a44a89/calStorageCalendar.js/buggy/calendar/providers/storage/calStorageCalendar.js