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-962 returned wrong value.
This commit is contained in:
@ -1879,7 +1879,7 @@ long long mcssystemreadonly(UDF_INIT* initid, UDF_ARGS* args,
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user