Incorrect datadir value being stored

Bug #658752 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Monty Taylor
7.0
Fix Released
Medium
Monty Taylor

Bug Description

We are seeing "../" as the datadir value, regardless of what --datadir arguments have been passed to the server.

For example, when we run ./test-run --record --verbose $test_file
where $test_file contains:
SELECT @@datadir

We see:
> running Drizzle with:drizzle-master/drizzled/drizzled --no-defaults --default-storage-engine=innodb --secure-file-priv=drizzle-master/tests/var --tmpdir=drizzle-master/tests/var/tmp --mysql-protocol.connect-timeout=60 --user=root --pid-file=drizzle-master/tests/var/run/master.pid --mysql-protocol.port=9306 --drizzle-protocol.port=9356 --datadir=drizzle-master/tests/var/master-data --server-id=1 --innodb.data-file-path=ibdata1:20M:autoextend --sort-buffer-size=256K --max-heap-table-size=1M --core-file

NOTE the datadir value

However, the .result file shows us:
SELECT @@datadir;
@@datadir
../

Related branches

Changed in drizzle:
status: New → Confirmed
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
Changed in drizzle:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.