summaryrefslogtreecommitdiff
path: root/storage/connect/user_connect.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-02-01 12:49:04 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-02-01 12:49:04 +0400
commitf09ae60d306bb559700e64a8fa43148286760693 (patch)
tree5e71a59a2477216cfcaffb7165e95250a7cd71c8 /storage/connect/user_connect.cc
parent3d8ef8bf2f9bf2aef5e80136cb2e63ec72f1e341 (diff)
downloadmariadb-git-f09ae60d306bb559700e64a8fa43148286760693.tar.gz
Fixing to use my_interval_timer() instead of ftime().
The later is not portable (e.g. it does not exist on FreeBSD) modified: storage/connect/ha_connect.cc storage/connect/user_connect.cc storage/connect/user_connect.h
Diffstat (limited to 'storage/connect/user_connect.cc')
-rw-r--r--storage/connect/user_connect.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/connect/user_connect.cc b/storage/connect/user_connect.cc
index e7a09f93886..e1a8d6d6c8b 100644
--- a/storage/connect/user_connect.cc
+++ b/storage/connect/user_connect.cc
@@ -76,8 +76,7 @@ user_connect::user_connect(THD *thd, const char *dbn)
// Statistics
nrd= fnd= nfd= 0;
- bzero((char*) &tb1, sizeof(struct timeb));
- bzero((char*) &tb2, sizeof(struct timeb));
+ tb1= 0;
} // end of user_connect constructor