1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

- Fix a compile error (MDEV-6723)

modified:
  storage/connect/tabwmi.cpp

- Was change in revision 4029 but not listed then.
modified:
  storage/connect/mysql-test/connect/r/updelx.result
This commit is contained in:
Olivier Bertrand
2014-09-17 00:51:40 +02:00
parent a1c3656e01
commit 6a00401a60

View File

@ -200,7 +200,7 @@ PQRYRES WMIColumns(PGLOBAL g, char *nsp, char *cls, bool info)
} // endif res
len = (unsigned)SysStringLen(propname);
length[0] = max(length[0], len);
length[0] = MY_MAX(length[0], len);
} // enfor i
res = SafeArrayDestroy(prnlist);