Fix TemporaryTableTest by deriving columns for temp table show commands in the usual way,
rather than taking all the columns from the info schema table.
Remove the default_value_is_constant flag, since it is redundant.
Fix projection metadata generation to use correct column name.
Add upgrade.