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

The into clause is missing in prepare into outfile #49166

Closed
keeplearning20221 opened this issue Dec 5, 2023 · 0 comments · Fixed by #49357
Closed

The into clause is missing in prepare into outfile #49166

keeplearning20221 opened this issue Dec 5, 2023 · 0 comments · Fixed by #49357
Assignees

Comments

@keeplearning20221
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE t (
c int DEFAULT NULL
);
insert into t value(1);
prepare stmt from "select c from t limit 1 into outfile 'text'";

2. What did you expect to see? (Required)

image

3. What did you see instead (Required)

image

4. What is your TiDB version? (Required)

mysql> SELECT tidb_version();
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v7.6.0-alpha-372-g0fd779c623
Edition: Community
Git Commit Hash: 0fd779c
Git Branch: master
UTC Build Time: 2023-12-05 02:29:50
GoVersion: go1.21.1
Race Enabled: false
Check Table Before Drop: false
Store: unistore

@keeplearning20221 keeplearning20221 added the type/bug The issue is confirmed as a bug. label Dec 5, 2023
ti-chi-bot bot pushed a commit that referenced this issue Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants