Skip to content

Commit

Permalink
Fix SRID SQL syntax for compatibility with MySQL 8.0.3 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff.dean committed Mar 4, 2025
1 parent 53a3136 commit 5ddf0f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def add_column_options!(sql, options)
sql << if @conn.database_version >= "8.0.0"
" SRID #{options[:srid]} "
else
" /*!50705 SRID #{options[:srid]} */ "
" /*!80003 SRID #{options[:srid]} */"
end
end

Expand Down

0 comments on commit 5ddf0f3

Please sign in to comment.