Skip to content

Commit

Permalink
Merge pull request #34 from shaqsnake/patch-1
Browse files Browse the repository at this point in the history
Fixed error in part3.md.
  • Loading branch information
cstack authored Apr 30, 2019
2 parents 858ed7a + 1807570 commit ba97461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _parts/part3.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ That means we need to upgrade our `prepare_statement` function to parse argument
We store those parsed arguments into a new `Row` data structure inside the statement object:

```diff
+#define COLUMN_USERNAME_SIZE = 32;
+#define COLUMN_EMAIL_SIZE = 255;
+#define COLUMN_USERNAME_SIZE 32
+#define COLUMN_EMAIL_SIZE 255
+struct Row_t {
+ uint32_t id;
+ char username[COLUMN_USERNAME_SIZE];
Expand Down

0 comments on commit ba97461

Please sign in to comment.