[Bast-commits] r9115 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Sun Apr 11 08:43:56 GMT 2010


Author: ribasushi
Date: 2010-04-11 09:43:56 +0100 (Sun, 11 Apr 2010)
New Revision: 9115

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod
Log:
RT 55865

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod	2010-04-09 12:16:23 UTC (rev 9114)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod	2010-04-11 08:43:56 UTC (rev 9115)
@@ -158,5 +158,13 @@
 
 The solution is to use the smallest practical value for LongReadLen.
 
+=head2 create_ddl_dir does not produce DDL for MySQL views
+
+L<SQL::Translator> does not create DDL for MySQL views if it doesn't know you
+are using mysql version 5.000001 or higher.  To explicity set this version, add
+C<mysql_version> to the C<producer_args> in the C<%sqlt> options.
+
+  $schema->create_ddl_dir(['MySQL'], '1.0', './sql/', undef, { producer_args => { mysql_version => 5.000058 } })
+
 =cut
 




More information about the Bast-commits mailing list