# File lib/mysql2/error.rb, line 22 def sql_state=(state) @sql_state = ''.respond_to?(:encode) ? state.encode(ENCODE_OPTS) : state end