lib/sequel/adapters/shared/mysql.rb in sequel-5.28.0 vs lib/sequel/adapters/shared/mysql.rb in sequel-5.29.0
- old
+ new
@@ -689,10 +689,10 @@
def delete_from(*tables)
clone(:delete_from=>tables)
end
# Return the results of an EXPLAIN query as a string. Options:
- # :extended :: Use EXPLAIN EXPTENDED instead of EXPLAIN if true.
+ # :extended :: Use EXPLAIN EXTENDED instead of EXPLAIN if true.
def explain(opts=OPTS)
# Load the PrettyTable class, needed for explain output
Sequel.extension(:_pretty_table) unless defined?(Sequel::PrettyTable)
ds = db.send(:metadata_dataset).with_sql(((opts[:extended] && (db.mariadb? || db.server_version < 50700)) ? 'EXPLAIN EXTENDED ' : 'EXPLAIN ') + select_sql).naked