1
0
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:
David Hall
2018-01-30 16:25:15 -06:00
parent 243e9e9fb8
commit 59f7e14230

View File

@ -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;
} }