-
Notifications
You must be signed in to change notification settings - Fork 409
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
Failed to parse TiDB schema with binary default value #9461
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Comments
TEST(JSONParser, TestUnicode)
try
{
String json_str = R"json({"default":"\u0007\u0007"})json";
Poco::JSON::Parser parser;
Poco::Dynamic::Var result = parser.parse(json_str);
const auto & obj = result.extract<Poco::JSON::Object::Ptr>();
auto default_val = obj->get("default");
Poco::JSON::Object::Ptr json = new Poco::JSON::Object();
json->set("default", default_val);
std::stringstream ss;
json->stringify(ss);
std::cout << ss.str() << std::endl;
ASSERT_TRUE(ss.str() == json_str);
}
CATCH |
12 tasks
This was referenced Sep 27, 2024
ti-chi-bot bot
pushed a commit
that referenced
this issue
Sep 27, 2024
close #9461 ddl: fix TypeBit default value Signed-off-by: JaySon-Huang <[email protected]> Co-authored-by: JaySon-Huang <[email protected]>
12 tasks
ti-chi-bot bot
pushed a commit
that referenced
this issue
Sep 30, 2024
close #9461 ddl: fix TypeBit default value Signed-off-by: Lloyd-Pottiger <[email protected]> Co-authored-by: Lloyd-Pottiger <[email protected]> Co-authored-by: JaySon-Huang <[email protected]>
12 tasks
ti-chi-bot bot
pushed a commit
that referenced
this issue
Nov 4, 2024
close #9461 Signed-off-by: Lloyd-Pottiger <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
No error in TiFlash
3. What did you see instead (Required)
Error log like
4. What is your TiFlash version? (Required)
master
The text was updated successfully, but these errors were encountered: