/ Check-in [3aa47c55]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not create an error message if there is no error. (CVS 2607)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3aa47c5587819a5fc3e2cb53a7fbc79ba65f0c3b
User & Date: drh 2005-08-21 17:48:47
Context
2005-08-21
18:21
Disable malloc tests when not compiled with SQLITE_DEBUG. (CVS 2608) check-in: f372682f user: drh tags: trunk
17:48
Do not create an error message if there is no error. (CVS 2607) check-in: 3aa47c55 user: drh tags: trunk
16:54
Do not overwrite small files (less than 1024 bytes) that are not databases. Ticket #1370. (CVS 2606) check-in: 7f430268 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vdbeapi.c.

209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
    rc = sqlite3VdbeExec(p);
  }

  if( sqlite3SafetyOff(db) ){
    rc = SQLITE_MISUSE;
  }

  sqlite3Error(p->db, rc, "%s", p->zErrMsg);
  return rc;
}

/*
** Extract the user data from a sqlite3_context structure and return a
** pointer to it.
*/







|







209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
    rc = sqlite3VdbeExec(p);
  }

  if( sqlite3SafetyOff(db) ){
    rc = SQLITE_MISUSE;
  }

  sqlite3Error(p->db, rc, p->zErrMsg ? "%s" : 0, p->zErrMsg);
  return rc;
}

/*
** Extract the user data from a sqlite3_context structure and return a
** pointer to it.
*/