MySQL is a special snowflake and depending on which show command you run, you need to treat the output slightly different.  Additionally, somwhere in 5.1 the metadata for the show output changed the value column name, so we need to deal with that if we want to remain consistent for folks that are upgrading