0113-oracle-mysql-with-innodb.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. diff --git a/package/oracle-mysql/S97mysqld b/package/oracle-mysql/S97mysqld
  2. index 110ca2c..4969dc1 100644
  3. --- a/package/oracle-mysql/S97mysqld
  4. +++ b/package/oracle-mysql/S97mysqld
  5. @@ -8,6 +8,18 @@ MYSQL_USER="mysql"
  6. case "$1" in
  7. start)
  8. if [ ! -d $MYSQL_DIR/mysql ] ; then
  9. +#--- my.cnf for GfA ---
  10. +(\
  11. +cat << EOF
  12. +[mysqld]
  13. +ignore-builtin-innodb
  14. +plugin-load=innodb=ha_innodb_plugin.so
  15. +innodb_file_per_table=1
  16. +innodb_file_format=barracuda
  17. +innodb_strict_mode=1
  18. +EOF
  19. +) > /etc/my.cnf
  20. +#----------------------
  21. echo "Creating MySQL system tables..."
  22. mysql_install_db --user=$MYSQL_USER --ldata=$MYSQL_DIR
  23. fi
  24. diff --git a/package/oracle-mysql/oracle-mysql.mk b/package/oracle-mysql/oracle-mysql.mk
  25. index ccfa40c..e8b2a54 100644
  26. --- a/package/oracle-mysql/oracle-mysql.mk
  27. +++ b/package/oracle-mysql/oracle-mysql.mk
  28. @@ -89,8 +89,8 @@ ORACLE_MYSQL_CONF_OPTS += \
  29. --without-plugin-example \
  30. --without-plugin-federated \
  31. --without-plugin-ibmdb2i \
  32. - --without-plugin-innobase \
  33. - --without-plugin-innodb_plugin \
  34. + --with-plugin-innobase \
  35. + --with-plugin-innodb_plugin \
  36. --without-plugin-ndbcluster
  37. # Debugging is only available for the server, so no need for