Implement `IndexColumns` schema table population for MySql on our side
See original GitHub issueI’m able to use linq2db to connect to my database successfully in the create connection dialog using the test button. However, when I go to actually expand the tree view to start using the connect, It throws a SqlNullValueException, with the message “Data is Null. This method or property cannot be called on Null Values”. I’ve attached the MessageBox with the full call stack below.
Connection string: Server=<redacted>.amazonaws.com;Database=<redacted>;Uid=<redacted>;Pwd=<redacted>;
I do have rows with null values in them.
Full error MessageBox:
(via)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
4.34 The INFORMATION_SCHEMA STATISTICS Table
The STATISTICS table provides information about table indexes. Columns in STATISTICS that represent table statistics hold cached values.
Read more >How can I add an INDEX with Doctrine 2 to a column ...
I want to add an index to a table column in my MySQL database. I am using Doctrine 2 to create my database...
Read more >Chapter 4, Optimizing Schema and Data Types
This chapter and the following one, which focuses on indexing, cover the MySQL-specific bits of schema design.
Read more >An in-depth look at Database Indexing
Here we see that MySQL has defined a composite index (we will discuss composite indices later) on DB_ROW_ID , DB_TRX_ID , DB_ROLL_PTR ,...
Read more >How to Get the Size of a Table in MySQL
Query on a tables metadata to actually extract the size of various tables in the system. The INFORMATION_SCHEMA metadata provides everything from views...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Actually Oracle was informed about it 4+ years ago: https://bugs.mysql.com/bug.php?id=75301 🤦♂️
Interesting, basically it is a bug in
MySql.Data
provider’s GetSchema implementation (not surprising). Looks like we need to implement it on our side after we can reproduce it as MySqlConnector provider’sGetSchema
support is even less functional.