Skip to content

Commit

Permalink
dbcheck: quote yet another MySQL v8 reserved work
Browse files Browse the repository at this point in the history
Forum user reports being unable to upgrade a 0.25 DB to v31.

Enclose the function column name in grave accents.
  • Loading branch information
Bill Meek committed Jul 30, 2020
1 parent f7a1f4b commit 05a613f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -1787,7 +1787,7 @@ nullptr
" ADD COLUMN tid INT(11) NOT NULL DEFAULT '0' AFTER pid, "
" ADD COLUMN filename VARCHAR(255) NOT NULL DEFAULT '' AFTER thread, "
" ADD COLUMN line INT(11) NOT NULL DEFAULT '0' AFTER filename, "
" ADD COLUMN function VARCHAR(255) NOT NULL DEFAULT '' AFTER line;",
" ADD COLUMN `function` VARCHAR(255) NOT NULL DEFAULT '' AFTER line;",
nullptr
};

Expand Down

0 comments on commit 05a613f

Please sign in to comment.