~ubuntu-branches/ubuntu/hardy/sqlite3/hardy

« back to all changes in this revision

Viewing changes to src/legacy.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2007-05-17 02:01:42 UTC
  • mfrom: (1.1.8 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070517020142-o79d5uduuhfbtknv
Tags: 3.3.17-1
* New upstream release.
* Use minor version as well in sqlite3.pc (closes: #424235).

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
** other files are for internal use by SQLite and should not be
15
15
** accessed by users of the library.
16
16
**
17
 
** $Id: legacy.c,v 1.16 2006/09/15 07:28:50 drh Exp $
 
17
** $Id: legacy.c,v 1.17 2007/04/25 11:28:17 drh Exp $
18
18
*/
19
19
 
20
20
#include "sqliteInt.h"
44
44
  char **azCols = 0;
45
45
 
46
46
  int nRetry = 0;
47
 
  int nChange = 0;
48
47
  int nCallback;
49
48
 
50
49
  if( zSql==0 ) return SQLITE_OK;
64
63
      continue;
65
64
    }
66
65
 
67
 
    db->nChange += nChange;
68
66
    nCallback = 0;
69
67
 
70
68
    nCol = sqlite3_column_count(pStmt);
101
99
      if( rc!=SQLITE_ROW ){
102
100
        rc = sqlite3_finalize(pStmt);
103
101
        pStmt = 0;
104
 
        if( db->pVdbe==0 ){
105
 
          nChange = db->nChange;
106
 
        }
107
102
        if( rc!=SQLITE_SCHEMA ){
108
103
          nRetry = 0;
109
104
          zSql = zLeftover;