summaryrefslogtreecommitdiff
path: root/sql/time.cc
diff options
context:
space:
mode:
authorunknown <Reggie@vm-xp.>2007-04-03 15:05:33 -0500
committerunknown <Reggie@vm-xp.>2007-04-03 15:05:33 -0500
commit73fb1aed614d77539debaa0c2f4445d09b6af010 (patch)
tree8e80795cba3956d258db793c07f98605f7174270 /sql/time.cc
parent780212301367ada0b9166bf5bfdcaa2ccdb141b2 (diff)
downloadmariadb-git-73fb1aed614d77539debaa0c2f4445d09b6af010.tar.gz
Bug #20376 Doesn't auto-detect data dir
This changeset fixes the problem where mysql, when run as a service, can't "detect" it's own data directory. sql/mysqld.cc: When running on Windows we check to see if we have a hard path in my_progname. If not, then we use GetModuleFilename to get the full path for the executing module. This allows the program to determine where it's at when running as a service.
Diffstat (limited to 'sql/time.cc')
0 files changed, 0 insertions, 0 deletions