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 ;
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 sql_yacc. yy 2011-04-27 19:47:37 +0000
+++ drizzled/
@@ -980,12 +980,14 @@
opt_create_ database_ options: collation_ schema {} custom_ options {} collation_ schema opt_database_ custom_ options collation_ schema ',' opt_database_ custom_ options custom_ options
/* empty */ {}
- | default_
- | opt_database_
+ | default_
+ | default_
+ | opt_database_
;
opt_database_ custom_ options:
custom_ database_ option database_ option opt_database_ custom_ options database_ option ',' opt_database_ custom_ options
+ | custom_
| custom_
;