Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem if Views exist #11

Open
klikar3 opened this issue Sep 27, 2017 · 1 comment
Open

Problem if Views exist #11

klikar3 opened this issue Sep 27, 2017 · 1 comment

Comments

@klikar3
Copy link

klikar3 commented Sep 27, 2017

If Views exist in the database an error occurs in helpers\MysqlBackup.php because "SHOW TABLES" also lists Views.

Line 62 is now:
$sql = 'SHOW TABLES';
it should be
$sql = "SHOW FULL TABLES where Table_Type != 'VIEW'";
so that only Tables get scripted and saved...

Later on the scripting of Views but not their content could be added... ;-)

Regards
Karl

@spanjeta
Copy link
Owner

Thanks @klikar3 . We shall update it in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants