aboutsummaryrefslogtreecommitdiff
path: root/src/legacy.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-09-06 17:24:11 +0000
committerdrh <drh@noemail.net>2004-09-06 17:24:11 +0000
commit9bb575fd72e8c92a39f35bfd75591b210908faad (patch)
treec71d1973ac94e40d9510c941a3ab0501591f59be /src/legacy.c
parent873cdcb2ce572b2c1d03d70db8ebfa03266518e9 (diff)
downloadsqlite-9bb575fd72e8c92a39f35bfd75591b210908faad.tar.gz
sqlite-9bb575fd72e8c92a39f35bfd75591b210908faad.zip
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/legacy.c b/src/legacy.c
index c5ffe70a6..3a93cb420 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: legacy.c,v 1.5 2004/08/08 23:39:19 drh Exp $
+** $Id: legacy.c,v 1.6 2004/09/06 17:24:13 drh Exp $
*/
#include "sqliteInt.h"
@@ -32,7 +32,7 @@
** is invoked, even for queries.
*/
int sqlite3_exec(
- sqlite *db, /* The database on which the SQL executes */
+ sqlite3 *db, /* The database on which the SQL executes */
const char *zSql, /* The SQL to be executed */
sqlite_callback xCallback, /* Invoke this callback routine */
void *pArg, /* First argument to xCallback() */