question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement `IndexColumns` schema table population for MySql on our side

See original GitHub issue

I’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:

image

(via)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MaceWinducommented, Feb 14, 2019

Actually Oracle was informed about it 4+ years ago: https://bugs.mysql.com/bug.php?id=75301 🤦‍♂️

1reaction
MaceWinducommented, Feb 14, 2019

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’s GetSchema support is even less functional.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found