Skip to content

Commit 3bbe79e

Browse files
author
Tatiana Azundris Nuernberg
committed
Code change so session_tracker_trx_state passes with --valgrind
1 parent 0aa81a3 commit 3bbe79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/session_tracker.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ bool Transaction_state_tracker::store(THD *thd, String &buf)
12041204
to= net_store_length((uchar *) to, length);
12051205

12061206
/* Transaction characteristics (length-encoded string). */
1207-
store_lenenc_string(buf, tx.c_ptr(), tx.length());
1207+
store_lenenc_string(buf, tx.ptr(), tx.length());
12081208
}
12091209
}
12101210

0 commit comments

Comments
 (0)