Hi Martijn, I agree that metadata is important, but I respectfully disagree that it should have blocked the release of 10.2. My company is using check constraints in production and (after 6 years of using MySQL) we are glad to finally have check constraints available to us. In fact, check constraints are the main reason we switched from MySQL to maria. I'm not a MariaDB developer, just a user, so it's just my opinion. -Jared On Wed, Jan 10, 2018 at 3:28 AM, Martijn Tonies (Upscene Productions) <m.tonies@upscene.com> wrote:
Hello Sergei,
On Jan 09, Martijn Tonies (Upscene Productions) wrote:
Hi,
Where can I find meta information for check constraints on tables?
You can see the list of check constraints in INFORMATION_SCHEMA.TABLE_CONSTRAINTS table.
I noticed they are listed, yes, but not with a definition.
Individual constraint definitions are currently only visible in SHOW CREATE TABLE.
Well, that is... not quite ideal.
They'll be in INFORMATION_SCHEMA.CHECK_CONSTRAINTS when https://jira.mariadb.org/browse/MDEV-14474 will be implemented.
But version 10.2 is the release version, right? I'm surprised that this has been released without such functionality. As a tool developer and as a database developer, I'd say this MDEV-14474 would be a requirement before a stable release is ready.
I've checked with both MySQL and MariaDB 10.2, this 12 year old issue hasn't changed either: https://lists.mysql.com/internals/25437
Meta data information is very important.
With regards,
Martijn Tonies Upscene Productions http://www.upscene.com
Database Workbench - developer tool for Oracle, MS SQL Server, PostgreSQL, SQL Anywhere, MySQL, InterBase, NexusDB and Firebird.
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
-- Jared Beck • (607) 216-5373 • jared@jaredbeck.com