fixed sql config setting reading
Merge pull request #125 from mtpoutanen/fixed_sql_config_read

fixed sql config setting reading