Author: spadkins
Date: Thu Dec  7 13:10:28 2006
New Revision: 8372

Modified:
   p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm

Log:
added comments about mysql_local_infile=1

Modified: p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm       (original)
+++ p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm       Thu Dec  7 
13:10:28 2006
@@ -372,6 +372,12 @@
     * Throws:    App::Exception::Repository
     * Since:     0.01
 
+    Note: If you want to call this with $options->{local}, you will probably
+    need to make sure that mysql_local_infile=1 is in your DSN.  This might
+    require a line like the following in your "app.conf" file.
+
+      dbioptions = mysql_local_infile=1
+
     Sample Usage: 
 
     $rep->import_rows("usr","usr.dat");

Reply via email to