File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
web-server-doc/web-server/scribblings/tutorial Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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
10601064We still need to initialize the database with the table
10611065definitions and initial data. Previously we used @racket[blog-insert-post!] and
You can’t perform that action at this time.
0 commit comments