1 parent 5ebb899 commit 58d0a0dCopy full SHA for 58d0a0d
1 file changed
spec/mysql2/client_spec.rb
@@ -368,7 +368,7 @@ def run_gc
368
new_client(:local_infile => true) do |client|
369
local = client.query "SHOW VARIABLES LIKE 'local_infile'"
370
local_enabled = local.any? { |x| x['Value'] == 'ON' }
371
- pending("DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.") unless local_enabled
+ skip("DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.") unless local_enabled
372
373
client.query %[
374
CREATE TABLE IF NOT EXISTS infileTest (
@@ -382,7 +382,7 @@ def run_gc
382
383
after(:all) do
384
new_client do |client|
385
- client.query "DROP TABLE infileTest"
+ client.query "DROP TABLE IF EXISTS infileTest"
386
end
387
388
0 commit comments