You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
chore(CEJ): make error message more user-friendly
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 2014 InfiniDB, Inc.
|
/* Copyright (C) 2014 InfiniDB, Inc.
|
||||||
|
Copyright (C) 2016-2025 MariaDB Corporation
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU General Public License
|
modify it under the terms of the GNU General Public License
|
||||||
@@ -91,7 +92,7 @@ int LibMySQL::init(const char* h, unsigned int p, const char* u, const char* w,
|
|||||||
static const std::string extendNetTimeoutQuery = "SET SESSION net_write_timeout = 3600";
|
static const std::string extendNetTimeoutQuery = "SET SESSION net_write_timeout = 3600";
|
||||||
if (mysql_real_query(fCon, extendNetTimeoutQuery.c_str(), extendNetTimeoutQuery.length()) != 0)
|
if (mysql_real_query(fCon, extendNetTimeoutQuery.c_str(), extendNetTimeoutQuery.length()) != 0)
|
||||||
{
|
{
|
||||||
fErrStr = "fatal error setting net_write_timeout=3600 in libmysql_client lib";
|
fErrStr = "Set or verify credentials in CrossEngineSupport section of Columnstore.xml.";
|
||||||
ret = -1;
|
ret = -1;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user