You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
add group_concat_max_len=512 to my.cnf to prevent blob compares.
This commit is contained in:
@@ -1342,7 +1342,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, ex.what());
|
thd->raise_error_printf(ER_INTERNAL_ERROR, ex.what());
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1351,7 +1351,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, "Unknown exception caught when checking any rows in the table.");
|
thd->raise_error_printf(ER_INTERNAL_ERROR, "Unknown exception caught when checking any rows in the table.");
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1499,7 +1499,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, ex.what());
|
thd->raise_error_printf(ER_INTERNAL_ERROR, ex.what());
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1713,7 +1713,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, ex.what());
|
thd->raise_error_printf(ER_INTERNAL_ERROR, ex.what());
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1722,7 +1722,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, "Unknown exception caught when checking any existing null values in the column.");
|
thd->raise_error_printf(ER_INTERNAL_ERROR, "Unknown exception caught when checking any existing null values in the column.");
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1731,7 +1731,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
|
|||||||
{
|
{
|
||||||
rc = 1;
|
rc = 1;
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, "The existing rows in this column has null value already.");
|
thd->raise_error_printf(ER_INTERNAL_ERROR, "The existing rows in this column has null value already.");
|
||||||
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
ci->alterTableState = cal_connection_info::NOT_ALTER;
|
||||||
ci->isAlter = false;
|
ci->isAlter = false;
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1930,7 +1930,7 @@ int ha_calpont_impl_create_(const char *name, TABLE *table_arg, HA_CREATE_INFO *
|
|||||||
catch (runtime_error& ex)
|
catch (runtime_error& ex)
|
||||||
{
|
{
|
||||||
thd->get_stmt_da()->set_overwrite_status(true);
|
thd->get_stmt_da()->set_overwrite_status(true);
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, ex.what());
|
thd->raise_error_printf(ER_INTERNAL_ERROR, ex.what());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
algorithm::to_upper(tablecomment);
|
algorithm::to_upper(tablecomment);
|
||||||
|
@@ -765,7 +765,7 @@ uint32_t doUpdateDelete(THD *thd)
|
|||||||
if (rc != 0 )
|
if (rc != 0 )
|
||||||
{
|
{
|
||||||
setError(current_thd, ER_READ_ONLY_MODE, "Cannot execute the statement. DBRM is read only!");
|
setError(current_thd, ER_READ_ONLY_MODE, "Cannot execute the statement. DBRM is read only!");
|
||||||
return ER_CHECK_NOT_IMPLEMENTED;
|
return ER_READ_ONLY_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// stats start
|
// stats start
|
||||||
@@ -1352,7 +1352,7 @@ uint32_t doUpdateDelete(THD *thd)
|
|||||||
colrids = csc->columnRIDs(deleteTableName);
|
colrids = csc->columnRIDs(deleteTableName);
|
||||||
}
|
}
|
||||||
catch (IDBExcept &ie) {
|
catch (IDBExcept &ie) {
|
||||||
thd->raise_error_printf(ER_CHECK_NOT_IMPLEMENTED, ie.what());
|
thd->raise_error_printf(ER_INTERNAL_ERROR, ie.what());
|
||||||
ci->rc = -1;
|
ci->rc = -1;
|
||||||
thd->set_row_count_func(0);
|
thd->set_row_count_func(0);
|
||||||
return 0;
|
return 0;
|
||||||
@@ -4302,8 +4302,8 @@ int ha_calpont_impl_rnd_pos(uchar *buf, uchar *pos)
|
|||||||
{
|
{
|
||||||
IDEBUG( cout << "ha_calpont_impl_rnd_pos" << endl);
|
IDEBUG( cout << "ha_calpont_impl_rnd_pos" << endl);
|
||||||
string emsg = logging::IDBErrorInfo::instance()->errorMsg(ERR_ORDERBY_TOO_BIG);
|
string emsg = logging::IDBErrorInfo::instance()->errorMsg(ERR_ORDERBY_TOO_BIG);
|
||||||
setError(current_thd, ER_CHECK_NOT_IMPLEMENTED, emsg);
|
setError(current_thd, ER_INTERNAL_ERROR, emsg);
|
||||||
return ER_CHECK_NOT_IMPLEMENTED;
|
return ER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called from mysql parser to set IDB error for window functions
|
// Called from mysql parser to set IDB error for window functions
|
||||||
|
@@ -45,6 +45,7 @@ thread_stack = 512K
|
|||||||
join_buffer_size = 128M
|
join_buffer_size = 128M
|
||||||
lower_case_table_names=1
|
lower_case_table_names=1
|
||||||
default-storage-engine=Aria
|
default-storage-engine=Aria
|
||||||
|
group_concat_max_len=512
|
||||||
|
|
||||||
# Enable compression by default on create, set to 0 to turn off
|
# Enable compression by default on create, set to 0 to turn off
|
||||||
infinidb_compression_type=2
|
infinidb_compression_type=2
|
||||||
|
Reference in New Issue
Block a user