Comment 3 for bug 771572

Revision history for this message
Joe Daly (skinny.moey) wrote :

Does this look like the correct fix for this? Admittedly I just hacked on this until I got something to work.

--- drizzled/sql_yacc.yy 2011-04-13 22:07:01 +0000
+++ drizzled/sql_yacc.yy 2011-04-27 19:47:37 +0000
@@ -980,12 +980,14 @@

 opt_create_database_options:
           /* empty */ {}
- | default_collation_schema {}
- | opt_database_custom_options {}
+ | default_collation_schema opt_database_custom_options
+ | default_collation_schema ',' opt_database_custom_options
+ | opt_database_custom_options
         ;

 opt_database_custom_options:
         custom_database_option
+ | custom_database_option opt_database_custom_options
         | custom_database_option ',' opt_database_custom_options
         ;