You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-02 06:13:16 +03:00
fix(crash, plugin), chore(ci): catch missed exception, set FE identity, install dgb_symbols
This commit is contained in:
committed by
Leonid Fedorov
parent
3fea9bf825
commit
6e464bcd18
@@ -130,7 +130,8 @@ prepare_container() {
|
||||
if [[ "$RESULT" == *rocky* ]]; then
|
||||
execInnerDockerWithRetry "$CONTAINER_NAME" 'yum install -y MariaDB-columnstore-engine MariaDB-test'
|
||||
else
|
||||
execInnerDockerWithRetry "$CONTAINER_NAME" 'apt update -y && apt install -y mariadb-plugin-columnstore mariadb-test mariadb-test-data mariadb-plugin-columnstore-dbgsym'
|
||||
#TODO think about server version!
|
||||
execInnerDockerWithRetry "$CONTAINER_NAME" 'apt update -y && apt install -y mariadb-plugin-columnstore mariadb-test mariadb-test-data mariadb-plugin-columnstore-dbgsym mariadb-client-10.6-dbgsym mariadb-client-core-10.6-dbgsym mariadb-server-10.6-dbgsym mariadb-server-core-10.6-dbgsym mariadb-test-dbgsym '
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
|
||||
@@ -62,12 +62,25 @@ static int is_columnstore_columns_fill(THD* thd, TABLE_LIST* tables, COND* cond)
|
||||
InformationSchemaCond isCond;
|
||||
|
||||
execplan::CalpontSystemCatalog csc;
|
||||
const std::vector<
|
||||
std::pair<execplan::CalpontSystemCatalog::OID, execplan::CalpontSystemCatalog::TableName> >
|
||||
catalog_tables = csc.getTables();
|
||||
|
||||
// Use FE path for syscat queries issued from mysqld
|
||||
csc.identity(execplan::CalpontSystemCatalog::FE);
|
||||
|
||||
std::vector<
|
||||
std::pair<execplan::CalpontSystemCatalog::OID, execplan::CalpontSystemCatalog::TableName> >
|
||||
catalog_tables;
|
||||
try
|
||||
{
|
||||
catalog_tables = csc.getTables("", lower_case_table_names);
|
||||
}
|
||||
catch (IDBExcept&)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
catch (std::exception&)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (cond)
|
||||
{
|
||||
isCond.getCondItems(cond);
|
||||
|
||||
Reference in New Issue
Block a user