Skip to content

Commit ab7e232

Browse files
committed
Fix typo.
1 parent 2b939d6 commit ab7e232

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_parts/part3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Lastly, we need to initialize the table and handle a few more error cases:
213213
- execute_statement(&statement);
214214
- printf("Executed.\n");
215215
+ switch (execute_statement(&statement, table)) {
216-
+ case (PREPARE_SUCCESS):
216+
+ case (EXECUTE_SUCCESS):
217217
+ printf("Executed.\n");
218218
+ break;
219219
+ case (EXECUTE_TABLE_FULL):
@@ -417,7 +417,7 @@ We'll address those issues in the next part. For now, here's the complete diff f
417417
- execute_statement(&statement);
418418
- printf("Executed.\n");
419419
+ switch (execute_statement(&statement, table)) {
420-
+ case (PREPARE_SUCCESS):
420+
+ case (EXECUTE_SUCCESS):
421421
+ printf("Executed.\n");
422422
+ break;
423423
+ case (EXECUTE_TABLE_FULL):

db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ int main(int argc, char* argv[]) {
215215
}
216216

217217
switch (execute_statement(&statement, table)) {
218-
case (PREPARE_SUCCESS):
218+
case (EXECUTE_SUCCESS):
219219
printf("Executed.\n");
220220
break;
221221
case (EXECUTE_TABLE_FULL):

0 commit comments

Comments
 (0)