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-962 returned wrong value.
This commit is contained in:
@ -1879,7 +1879,7 @@ long long mcssystemreadonly(UDF_INIT* initid, UDF_ARGS* args,
|
|||||||
{
|
{
|
||||||
rtn = 1;
|
rtn = 1;
|
||||||
}
|
}
|
||||||
if (dbrm.isReadWrite()) // Returns 0 for writable, 5 for read only
|
if (dbrm.isReadWrite() > 0) // Returns 0 for writable, 5 for read only
|
||||||
{
|
{
|
||||||
rtn = 2;
|
rtn = 2;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user