1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

BUG#20809 mysqldump does not backup TS and LG information correctly

restore of the dump (ndb_dd_dump test) was failing for probably a merge problem. fixed now.
This commit is contained in:
stewart@willster.(none)
2006-10-05 00:56:06 +10:00
parent a96d7250e8
commit 276aaa2164

View File

@@ -2758,7 +2758,7 @@ static int dump_all_tablespaces()
char *endsemi;
if (mysql_query_with_error_report(mysql, &tableres,
"SELECT DISTINCT"
"SELECT"
" LOGFILE_GROUP_NAME,"
" FILE_NAME,"
" TOTAL_EXTENTS,"
@@ -2768,6 +2768,8 @@ static int dump_all_tablespaces()
" FROM INFORMATION_SCHEMA.FILES"
" WHERE FILE_TYPE = \"UNDO LOG\""
" AND FILE_NAME IS NOT NULL"
" GROUP BY LOGFILE_GROUP_NAME, FILE_NAME"
", ENGINE"
" ORDER BY LOGFILE_GROUP_NAME"))
return 1;