Exemplo n.º 1
0
 internal Cursor (sqlite3_stmt stmt, object dbLock)
 {
     this.dbLock = dbLock;
     this.statement = stmt;
     currentRow = -1;
     lock (dbLock) { currentStep = statement.step(); }
 }
Exemplo n.º 2
0
        //NOTE.JHB: Can throw an exception
        internal Cursor (sqlite3_stmt stmt)
        {
            this._statement = stmt;
            _currentRow = -1;
            _currentStep = _statement.step();

            if (_currentStep != raw.SQLITE_OK && _currentStep != raw.SQLITE_ROW && _currentStep != raw.SQLITE_DONE) {
                Log.E ("Cursor", "currentStep: " + _currentStep);
            }
        }