Hi Steven,
I have an a problem with the system update. Whenever i run it it changes the database engine of all my tables from InnoDB back to MyISAM.
I use transaction statements on some of the tables. MyISAM is not a transaction engine.
At them moment i have run an sql statement to generate an ALTER TABLE list to convert them back. I leave all the 'zzzz' systems tables as MyISAM
Is there any reason why it alters the db engine of non system tables?
Andrew
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
System Update Issue
-
- Posts: 75
- Joined: Tue Dec 26, 2017 8:58 pm
Re: System Update Issue
Hi Steven,
I have run a couple of system update off the last couple of fixes and all my tables are still being converted to MyISAM
After each update im having to run
to generate an sql statement to convert them all back
Andrew
I have run a couple of system update off the last couple of fixes and all my tables are still being converted to MyISAM
After each update im having to run
Code: Select all
SELECT CONCAT('ALTER TABLE `', table_name, '` ENGINE=InnoDB;') AS sql_statements
FROM information_schema.tables AS tb
WHERE table_schema = **MY DATABASE NAME**
AND `ENGINE` = 'MyISAM'
AND `TABLE_TYPE` = 'BASE TABLE'
AND TABLE_NAME NOT LIKE '%zzzz%'
Andrew
-
- Posts: 30
- Joined: Fri Nov 09, 2018 5:42 pm
Re: System Update Issue
Strange, this shouldn't happen. nuSetCollation included only tables starting with "zzzzsys"
https://github.com/nuSoftware/nuBuilder ... telibs.php
Code: Select all
if(substr($tab, 0, 8) == 'zzzzsys_'){
-
- Posts: 75
- Joined: Tue Dec 26, 2017 8:58 pm
Re: System Update Issue
Hi
I've just down the latest pull from Github and ran the update. It hasn't done it on this pull.
Since Steven's post i havent paid much attention to the table structure and have done multiple updates since, so i'm not completely sure when this has happened.
I will monitor it from now on and if i have any more problems i will let you know
Andrew
I've just down the latest pull from Github and ran the update. It hasn't done it on this pull.
Since Steven's post i havent paid much attention to the table structure and have done multiple updates since, so i'm not completely sure when this has happened.
I will monitor it from now on and if i have any more problems i will let you know
Andrew