mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Mainly cleanups for gcc 4.0. Some small pieces from looking at -Wall. Removed a number of dumb things in ha_tina.
This commit is contained in:
@@ -150,10 +150,8 @@ static EXAMPLE_SHARE *get_share(const char *table_name, TABLE *table)
|
||||
|
||||
return share;
|
||||
|
||||
error2:
|
||||
thr_lock_delete(&share->lock);
|
||||
pthread_mutex_destroy(&share->mutex);
|
||||
error:
|
||||
pthread_mutex_destroy(&share->mutex);
|
||||
pthread_mutex_unlock(&example_mutex);
|
||||
my_free((gptr) share, MYF(0));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user