Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ createTablespaceInnodb
(FILE_BLOCK_SIZE EQ_ fileSizeLiteral)?
(ENCRYPTION EQ_ y_or_n=string_)?
(ENGINE EQ_? identifier)?
(COMMENT EQ_? string_)?
;

createTablespaceNdb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
-->

<sql-parser-test-cases>
<create-tablespace sql-case-id="create_tablespace_with_comment" />
<create-tablespace sql-case-id="create_tablespace_with_maxsize" />
<create-tablespace sql-case-id="create_tablespace_for_innodb" />
<create-tablespace sql-case-id="create_tablespace_for_myisam" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
-->

<sql-cases>
<sql-case id="create_tablespace_with_comment" value="CREATE TABLESPACE ts1 ADD DATAFILE 'df1.ibd' COMMENT 'tsdolphin'" db-types="MySQL" />
<sql-case id="create_tablespace_with_maxsize" value="CREATE TABLESPACE ts1 LOCATION '/openGauss/tbspc_test' maxsize=19M" db-types="openGauss" />
<sql-case id="create_tablespace_for_innodb" value="CREATE TABLESPACE `ts1` ADD DATAFILE '/my/tablespace/directory/ts1.ibd' Engine=InnoDB;" db-types="MySQL" />
<sql-case id="create_tablespace_for_myisam" value="CREATE TABLESPACE ndb_ts1 ADD DATAFILE 'ndb_ts1.dat' USE LOGFILE GROUP ndb_lg1 MAX_SIZE=10M ENGINE=MyISAM " db-types="MySQL" />
Expand Down