Skip to content

Commit 57dabaf

Browse files
committed
Fixing up LOAD DATA call so it's friendly for MySQL 5.5
1 parent 717ba30 commit 57dabaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/sphinx_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def setup_mysql
3737
structure = File.open("spec/fixtures/sql/structure.sql") { |f| f.read }
3838
structure.split(/;/).each { |sql| client.query sql }
3939
client.query <<-SQL
40-
LOAD DATA LOCAL INFILE '#{@path}/fixtures/sql/data.tsv' INTO TABLE
40+
LOAD DATA INFILE '#{@path}/fixtures/sql/data.tsv' INTO TABLE
4141
`riddle`.`people` FIELDS TERMINATED BY ',' ENCLOSED BY "'" (gender,
4242
first_name, middle_initial, last_name, street_address, city, state,
4343
postcode, email, birthday)

0 commit comments

Comments
 (0)