You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#11885602 - mysql_upgrade fails upgrading from 7.1.8 to later release
- It was allowed to CREATE TABLE which was not in NDB, but
creating a view on that table failed since the table has to
be opened as part of the create.
- Make it possible to workaround this with a new "ndbinfo_offline"
mode which allows tables to be created and opened although they
don't exist or have different table definition. This is exactly
the same behaviour as when NDBCLUSTER is disabled. SELECTs on a
table which has been opened in offline mode, return no rows
and a warning is printed(like before).
SELECT * FROM view_on_table_which_does_not_exist_in_ndb;
272
+
node_id message
273
+
Warnings:
274
+
Note 1 'NDBINFO' has been started in offline mode since the 'NDBCLUSTER' engine is disabled or @@global.ndbinfo_offline is turned on - no rows can be returned
275
+
SELECT * FROM ndb$does_not_exist_in_ndb;
276
+
node_id message
277
+
Warnings:
278
+
Note 1 'NDBINFO' has been started in offline mode since the 'NDBCLUSTER' engine is disabled or @@global.ndbinfo_offline is turned on - no rows can be returned
279
+
SELECT DISTINCT(node_id) FROM ndbinfo.counters ORDER BY node_id;
280
+
node_id
281
+
Warnings:
282
+
Note 1 'NDBINFO' has been started in offline mode since the 'NDBCLUSTER' engine is disabled or @@global.ndbinfo_offline is turned on - no rows can be returned
283
+
284
+
DROP VIEW view_on_table_which_does_not_exist_in_ndb;
285
+
DROP TABLE ndb$does_not_exist_in_ndb;
286
+
287
+
set @@global.ndbinfo_offline = FALSE;
288
+
289
+
SELECT DISTINCT(node_id) FROM ndbinfo.counters ORDER BY node_id;
0 commit comments