1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Bug #30389: connection_id() always return 0 in embedded server

Initialize thd->variables.pseudo_thread_id when a new embedded
thd is created.
This commit is contained in:
tsmith@ramayana.hindu.god
2007-08-27 14:31:27 -06:00
parent c0fd09224b
commit 2c44def1ee
5 changed files with 33 additions and 0 deletions

View File

@@ -199,3 +199,11 @@ drop function func_26093_a;
drop function func_26093_b;
--echo End of 5.0 tests
#
# Bug #30389: connection_id() always return 0 in embedded server
#
select connection_id() > 0;
--echo End of tests