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 thrown when there're two table with same name but from different database in the UPDATE stmt #13202

Closed
winoros opened this issue Nov 6, 2019 · 0 comments · Fixed by #13208
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@winoros
Copy link
Member

winoros commented Nov 6, 2019

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
use test;
create table t(a int);
create database test2;
create test2.t(a int);
update test.t, test2.t set test.t.a=test.t.a+100;
  1. What did you expect to see?

Executes successfully.

  1. What did you see instead?

Error ambiguous column returned.

  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
@winoros winoros added the type/bug The issue is confirmed as a bug. label Nov 6, 2019
@winoros winoros self-assigned this Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant