-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](ip)fix default value for ip (#45194)
before this pr: we do not support create table for IP type with default value like this: ``` mysql> CREATE TABLE table2 -> ( -> col0 BIGINT NOT NULL DEFAULT '1' , -> col24 IPV4 NULL DEFAULT '127.0.0.1' -> ) -> DUPLICATE KEY(col0) -> DISTRIBUTED BY HASH(col0) BUCKETS 4 -> PROPERTIES ( -> "replication_num" = "1" -> ); ERROR 1105 (HY000): errCode = 2, detailMessage = Unsupported type: ipv4 ``` after this pr we deal with this problem
- Loading branch information
Showing
5 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters