diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-01 12:49:04 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-01 12:49:04 +0400 |
commit | f09ae60d306bb559700e64a8fa43148286760693 (patch) | |
tree | 5e71a59a2477216cfcaffb7165e95250a7cd71c8 /storage/connect/user_connect.cc | |
parent | 3d8ef8bf2f9bf2aef5e80136cb2e63ec72f1e341 (diff) | |
download | mariadb-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.cc | 3 |
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
|