You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-477 Change autoincrement on ALTER TABLE
This patch allows the following syntax to change the current autoincrement value for the table: ALTER TABLE table_name COMMENT='autoincrement=value'; Where "value" is the new integer to be used.
This commit is contained in:
@ -136,6 +136,17 @@ namespace ddlpackageprocessor
|
||||
ddlpackage::AtaRenameColumn& ataRenameColumn,
|
||||
ddlpackage::QualifiedName& fTableName, const uint64_t uniqueId);
|
||||
|
||||
/** @brief change a table autoincrement via a comment
|
||||
*
|
||||
* @param result the result of the operation
|
||||
* @param ataTableComment the AtaTableComment object
|
||||
* @param fTableName the QualifiedName for the table
|
||||
*/
|
||||
EXPORT void tableComment(uint32_t sessionID, execplan::CalpontSystemCatalog::SCN txnID, DDLResult& result,
|
||||
ddlpackage::AtaTableComment& ataTableComment,
|
||||
ddlpackage::QualifiedName& fTableName, const uint64_t uniqueId);
|
||||
|
||||
|
||||
protected:
|
||||
void rollBackAlter(const std::string& error, BRM::TxnID txnID, int sessionId, DDLResult& result, uint64_t uniqueId);
|
||||
|
||||
|
Reference in New Issue
Block a user