Build 9.0.665: JSON_MERGE automatically saving view as JSON_MERGE_PRESERVE
Posted: Sun 15 Aug 2021 04:39
I am using the latest version [9.0.665] with AWS Aurora MySQL, which is compatible with MySQL up to version 5.7.12.
MySQL deprecated JSON_MERGE in favor of JSON_MERGE_PRESERVE starting with MySQL v5.7.22, but because AWS Aurora does not yet support this version, I need to save a view using the still supported JSON_MERGE at the existing compatibility level of 5.7.`12! Although I appreciate dbForge's cleverness in making this change for me on saving of the view definition, it is NOT something I need or want when connecting to my production AWS Aurora databases. And there is no indication that Aurora will be migrating/updating to 5.7.22 in the near future.
Is there a way I can turn off this automatic syntax-checking and replacement on saving of my views. Right now, I am stuck and cannot update my view definitions at all. Incidentally, the same un-modified SQL query works fine in the sql query window. The issue only occurs on saving the query as a view. Please help - thank you.
MySQL deprecated JSON_MERGE in favor of JSON_MERGE_PRESERVE starting with MySQL v5.7.22, but because AWS Aurora does not yet support this version, I need to save a view using the still supported JSON_MERGE at the existing compatibility level of 5.7.`12! Although I appreciate dbForge's cleverness in making this change for me on saving of the view definition, it is NOT something I need or want when connecting to my production AWS Aurora databases. And there is no indication that Aurora will be migrating/updating to 5.7.22 in the near future.
Is there a way I can turn off this automatic syntax-checking and replacement on saving of my views. Right now, I am stuck and cannot update my view definitions at all. Incidentally, the same un-modified SQL query works fine in the sql query window. The issue only occurs on saving the query as a view. Please help - thank you.