You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4303 UPDATE..SET using another table is not updating
The change for MCOL-4264 erroneously added the "lock_type" member to cal_connection_info, which is shared between multiple tables. So some tables that were opened for write erroneously identified themselves as read only. Moving the member to ha_mcs instead.
This commit is contained in:
@ -262,8 +262,7 @@ struct cal_connection_info
|
||||
utf8(false),
|
||||
useCpimport(1),
|
||||
delimiter('\7'),
|
||||
affectedRows(0),
|
||||
lock_type(F_UNLCK)
|
||||
affectedRows(0)
|
||||
{
|
||||
// check if this is a slave mysql daemon
|
||||
isSlaveNode = checkSlave();
|
||||
@ -286,11 +285,6 @@ struct cal_connection_info
|
||||
return true;
|
||||
}
|
||||
|
||||
bool isReadOnly() const
|
||||
{
|
||||
return lock_type == F_RDLCK;
|
||||
}
|
||||
|
||||
sm::cpsm_conhdl_t* cal_conn_hndl;
|
||||
std::stack<sm::cpsm_conhdl_t*> cal_conn_hndl_st;
|
||||
int queryState;
|
||||
@ -341,7 +335,6 @@ struct cal_connection_info
|
||||
// MCOL-1101 remove compilation unit variable rmParms
|
||||
std::vector <execplan::RMParam> rmParms;
|
||||
long long affectedRows;
|
||||
int lock_type;
|
||||
};
|
||||
|
||||
const std::string infinidb_err_msg = "\nThe query includes syntax that is not supported by MariaDB Columnstore. Use 'show warnings;' to get more information. Review the MariaDB Columnstore Syntax guide for additional information on supported distributed syntax or consider changing the MariaDB Columnstore Operating Mode (infinidb_vtable_mode).";
|
||||
|
Reference in New Issue
Block a user