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

'...exception...string right truncation' when alter view with join [CORE2255] #2681

Closed
firebird-automations opened this issue Dec 23, 2008 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Alex Bekhtin (afgm)

Is related to QA377

CREATE TABLE TEST_VARCHAR (
ID INTEGER,
CAPTION VARCHAR(1024)
);

INSERT INTO TEST_VARCHAR (ID, CAPTION) VALUES (1, 'CAP_1');

CREATE VIEW P_TEST_VARCHAR(
ID,
CAPTION)
AS
SELECT
http://T1.ID,
T1.CAPTION
FROM TEST_VARCHAR T1;

ALTER VIEW P_TEST_VARCHAR(
ID)
AS
SELECT
http://T1.ID
FROM TEST_VARCHAR T1, TEST_VARCHAR T2
WHERE http://T1.ID = http://T2.ID;

SELECT * FROM P_TEST_VARCHAR;
-----------------------------
arithmetic exception, numeric overflow, or string truncation.
string right truncation.

Commits: f85c495

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Problem occurred when number of tables in the new query differs from the old one.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA377 [ QA377 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

QA test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants