<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -25,4 +25,8 @@ end
 
 cols = [:name, :surname]
 vals = [[&quot;paolo&quot;, &quot;dona&quot;], [&quot;james&quot;, &quot;dean&quot;]]
-User.import_with_load_data_infile(cols, vals)
+User.import_with_load_data_infile(cols, vals) # this generates a LOAD DATA LOCAL INFILE statement
+
+# if your db is on the same machine of the app server, you can switch off the LOCAL flag
+User.import_with_load_data_infile(cols, vals, :local =&gt; false) # this generates LOAD DATA INFILE
+</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>10748dc0fd42bb0e1def4ef68b6616696ac668e7</id>
    </parent>
  </parents>
  <author>
    <name>Paolo Dona</name>
    <email>paolo.dona@gmail.com</email>
  </author>
  <url>http://github.com/paolodona/import_with_load_data_in_file/commit/1d7a9779d962ab9133485039143bd6110eb778b9</url>
  <id>1d7a9779d962ab9133485039143bd6110eb778b9</id>
  <committed-date>2008-10-15T12:26:57-07:00</committed-date>
  <authored-date>2008-10-15T12:26:57-07:00</authored-date>
  <message>updated readme</message>
  <tree>85aedc7b1f3ed67c9cc9048b0a4eae0db2f5c831</tree>
  <committer>
    <name>Paolo Dona</name>
    <email>paolo.dona@gmail.com</email>
  </committer>
</commit>
