Skip to content

Commit

Permalink
Remove references to sqlite3_filename
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Jan 29, 2024
1 parent 0cc6212 commit 2df8015
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/vfs2.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ struct vfs2_file
/* if this file object is a WAL */
struct
{
sqlite3_filename
moving_name; /* e.g. /path/to/my.db-wal */
const char *moving_name; /* e.g. /path/to/my.db-wal */
char
*wal_cur_fixed_name; /* e.g. /path/to/my.db-xwal1 */
sqlite3_file
Expand Down Expand Up @@ -122,7 +121,7 @@ struct vfs2_file
/* if this file object is a main file */
struct
{
sqlite3_filename name; /* e.g. /path/to/my.db */
const char *name; /* e.g. /path/to/my.db */

/* Copy of the WAL index header that reflects the last
* really-committed (i.e. in Raft too) transaction. */
Expand Down Expand Up @@ -673,7 +672,7 @@ static struct sqlite3_io_methods vfs2_io_methods = {3,
/* sqlite3_vfs implementations begin here */

static int vfs2_open_wal(sqlite3_vfs *vfs,
sqlite3_filename name,
const char *name,
struct vfs2_file *xout,
int flags,
int *out_flags)
Expand Down Expand Up @@ -833,7 +832,7 @@ static int vfs2_open_wal(sqlite3_vfs *vfs,
}

static int vfs2_open_db(sqlite3_vfs *vfs,
sqlite3_filename name,
const char *name,
struct vfs2_file *xout,
int flags,
int *out_flags)
Expand Down Expand Up @@ -875,7 +874,7 @@ static int vfs2_open_db(sqlite3_vfs *vfs,
}

static int vfs2_open(sqlite3_vfs *vfs,
sqlite3_filename name,
const char *name,
sqlite3_file *out,
int flags,
int *out_flags)
Expand Down

0 comments on commit 2df8015

Please sign in to comment.