diff options
author | tsmith@ramayana.hindu.god <> | 2007-08-27 14:31:27 -0600 |
---|---|---|
committer | tsmith@ramayana.hindu.god <> | 2007-08-27 14:31:27 -0600 |
commit | 2c44def1eeaaebf365626619a9733a4e90faa801 (patch) | |
tree | 679a96401bec41e2c195429ae868169f2520ef9b /mysql-test/t/func_misc.test | |
parent | c0fd09224b654987053b850843421e29ddcca95a (diff) | |
download | mariadb-git-2c44def1eeaaebf365626619a9733a4e90faa801.tar.gz |
Bug #30389: connection_id() always return 0 in embedded server
Initialize thd->variables.pseudo_thread_id when a new embedded
thd is created.
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r-- | mysql-test/t/func_misc.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test index a48f619dc34..01eff55d1f6 100644 --- a/mysql-test/t/func_misc.test +++ b/mysql-test/t/func_misc.test @@ -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 |