[MDEV-19781] Create MariaDB named commands on Windows Created: 2019-06-17 Updated: 2019-11-27 Resolved: 2019-11-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows |
| Affects Version/s: | None |
| Fix Version/s: | 10.4.11 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Rasmus Johansson (Inactive) | Assignee: | Rasmus Johansson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Windows needs a different solution for MariaDB named commands. For linux the commands ar added as symlinks in cmake, which doesn't work on Windows. |
| Comments |
| Comment by Thirunarayanan Balathandayuthapani [ 2019-07-10 ] | ||||||||||||||||||
|
The following commits have wrongly committed as
| ||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2019-08-16 ] | ||||||||||||||||||
|
wlad, Can you give commit 08b1917 in branch bb-10.4- | ||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2019-11-10 ] | ||||||||||||||||||
|
wlad I finally got further with this. Can you review latest revision 10092fdc4f4d351918 in the branch bb-10.4- | ||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2019-11-11 ] | ||||||||||||||||||
|
Hi Rasmus,
static struct { wstring exe, wstring symlink}symlinks[] = , It is easier to read, because you do have to rely on the positions in the arrays to correspond.
| ||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2019-11-17 ] | ||||||||||||||||||
|
I've now removed C++17 and changed to use CreateSymbolicLinkW. Now the lists of executables are read from cmake where they are present for the Linux implementation. The new commit is 0a6fb738c00 | ||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2019-11-22 ] | ||||||||||||||||||
|
Hi Rasmus. | ||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2019-11-26 ] | ||||||||||||||||||
|
Pushed https://github.com/MariaDB/server/commit/b6f7ec6a5b8da27866136d50f50337fcce64eff5 |