Skip to content
Snippets Groups Projects
Commit 1a2a793d authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

mysql update message text on empty db

parent aac557be
No related branches found
No related tags found
1 merge request!60mysql update message text on empty db
......@@ -101,7 +101,7 @@ function mysql.db.dump(){
_iTables=$( mysql --skip-column-names --batch -e "use $_dbname; show tables ;" | wc -l )
if [ $_iTables -eq 0 ];
then
echo -n "NO DATA in database"
echo -n "EMPTY DATABASE ... "
else
echo "ERROR: no data - the dump doesn't contain any CREATE or INSERT statement."
# force an error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment