Skip to content

Commit

Permalink
Fix nullptr literal appearing in SQL code
Browse files Browse the repository at this point in the history
Closes #2128.
  • Loading branch information
lmoureaux committed Jan 4, 2024
1 parent d1f50af commit 3a3b1d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/fcmp/mpdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ void create_mpdb(const char *filename, bool scenario_db)

if (ret == SQLITE_OK) {
ret = mpdb_query(*handle,
"create table modpacks (name VARCHAR(60) NOT nullptr, "
"type VARCHAR(32), version VARCHAR(32) NOT nullptr);");
"create table modpacks (name VARCHAR(60) NOT null, "
"type VARCHAR(32), version VARCHAR(32) NOT null);");
}

if (ret == SQLITE_OK) {
Expand Down

0 comments on commit 3a3b1d7

Please sign in to comment.