Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error retrieving index list #4

Closed
dartNNN opened this issue Jul 17, 2019 · 1 comment
Closed

Error retrieving index list #4

dartNNN opened this issue Jul 17, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dartNNN
Copy link

dartNNN commented Jul 17, 2019

  1. Error in log:

Pre-describe #0 failed: <>. Rescan...
Arithmetic overflow error for data type tinyint, value = 398.
The statement has been terminated.
Warning: Null value is eliminated by an aggregate or other SET operation.

  1. Noninformative message on error: "No indexes found".

UPD:
after small debug:

diff --git a/Server/Query.cs b/Server/Query.cs
index 232d5fa..8b6b47a 100644
--- a/Server/Query.cs
+++ b/Server/Query.cs
@@ -133,7 +133,7 @@ CREATE TABLE #IndexColumns (
       ObjectID      INT NOT NULL
     , IndexID       INT NOT NULL
     , IndexColumnID INT NOT NULL
-    , ColumnID      TINYINT NOT NULL
+    , ColumnID      INT NOT NULL
     , IsIncluded    BIT NOT NULL
     , PRIMARY KEY (ObjectID, IndexID, ColumnID)
 )
@sergiisyrovatchenko
Copy link
Owner

Already fixed by last commit. Please download v1.0.0.42. Thanks.

@sergiisyrovatchenko sergiisyrovatchenko added the bug Something isn't working label Dec 17, 2019
@sergiisyrovatchenko sergiisyrovatchenko self-assigned this Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants