Topic: Two bugs in backup module
Hi joe
I found 2 bugs in admin/db/maintenance_db.inc:
1. Backup files made on MySQL (as of version 5.0.32) are unusable. This is because of bad interpretation of NULL fields in response of 'SHOW COLUMNS xxx' clause at db_export() function. These fields are filled with with 'NO' value (not empty field) at least in above MySQL version.
2. At start of function db_import() there are 2 lines with str_replace() calls which seems to be garbage from any earlier FA version. Anyway with these two lines uncommented database is corrupted after export/import cycle.
BTW I think available range of backup (all tables vs data for one company) could depend on current user privileges. However this implies separate per user folders.
PS. If you want I can send diff for above changes.
janusz