Skip to content

Commit 8799a76

Browse files
committed
Fix PR15343 and PR1441 from Vladimir Gajić
1 parent c3a388e commit 8799a76

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

web-server-doc/web-server/scribblings/tutorial/continue.scrbl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,8 +1054,12 @@ We can now write the code to initialize a @racket[blog] structure:
10541054
the-blog)
10551055
]
10561056

1057-
Given the @racket['create] flag, @racket[sqlite3-connect] creates a database if
1058-
one does not already exist at the @racket[home] path.
1057+
Given the @racket['create] flag, @racket[sqlite3-connect] creates a
1058+
database if one does not already exist at the @racket[home] path. At
1059+
this time, it would be good to change your call to
1060+
@racket[initialize-blog!] to use a different path, because otherwise
1061+
you will be trying to parse the old S-expression datafile as an SQLite
1062+
database, which will fail.
10591063

10601064
We still need to initialize the database with the table
10611065
definitions and initial data. Previously we used @racket[blog-insert-post!] and

0 commit comments

Comments
 (0)