diff options
author | unknown <joerg@trift2.> | 2007-06-07 23:05:18 +0200 |
---|---|---|
committer | unknown <joerg@trift2.> | 2007-06-07 23:05:18 +0200 |
commit | db5aab1d2c7fcdb8a35a30063b63c8ce5b9fca55 (patch) | |
tree | 65e7173555675326d0b8627b01f103e7220a9856 /include/errmsg.h | |
parent | bc671e2f904da70f42a8d6971295681720213e79 (diff) | |
download | mariadb-git-db5aab1d2c7fcdb8a35a30063b63c8ce5b9fca55.tar.gz |
Do not use the "thd" pointer to identify a thread in the embedded lib,
but rather use the "thread_id" counter.
Fixes bug#27078:
Compile error: lib_sql.cc cast from 'THD*' to 'pthread_t' loses precision
libmysqld/lib_sql.cc:
Avoid casting a pointer to a (possibly) int, which will not compile on some platforms:
Do not use the "thd" pointer to identify a thread in the embedded lib,
but rather use the "thread_id" counter.
Patch is proposed by Monty. Fixes bug#27078.
Diffstat (limited to 'include/errmsg.h')
0 files changed, 0 insertions, 0 deletions