#include <ft_global.h>Include dependency graph for item_func.h:

Go to the source code of this file.
| enum Cast_target |
| ITEM_CAST_BINARY | |
| ITEM_CAST_SIGNED_INT | |
| ITEM_CAST_UNSIGNED_INT | |
| ITEM_CAST_DATE | |
| ITEM_CAST_TIME | |
| ITEM_CAST_DATETIME | |
| ITEM_CAST_CHAR | |
| ITEM_CAST_DECIMAL |
Definition at line 1395 of file item_func.h.
01396 { 01397 ITEM_CAST_BINARY, ITEM_CAST_SIGNED_INT, ITEM_CAST_UNSIGNED_INT, 01398 ITEM_CAST_DATE, ITEM_CAST_TIME, ITEM_CAST_DATETIME, ITEM_CAST_CHAR, 01399 ITEM_CAST_DECIMAL 01400 };
| void item_user_lock_free | ( | void | ) |
Definition at line 3025 of file item_func.cc.
References hash_free(), hash_user_locks, and pthread_mutex_destroy.
Referenced by clean_up().
03026 { 03027 if (item_user_lock_inited) 03028 { 03029 item_user_lock_inited= 0; 03030 hash_free(&hash_user_locks); 03031 pthread_mutex_destroy(&LOCK_user_locks); 03032 } 03033 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void item_user_lock_init | ( | void | ) |
Definition at line 3017 of file item_func.cc.
References hash_init, hash_user_locks, MY_MUTEX_INIT_SLOW, NULL, pthread_mutex_init, system_charset_info, and ull_get_key().
Referenced by item_init().
03018 { 03019 pthread_mutex_init(&LOCK_user_locks,MY_MUTEX_INIT_SLOW); 03020 hash_init(&hash_user_locks,system_charset_info, 03021 16,0,0,(hash_get_key) ull_get_key,NULL,0); 03022 item_user_lock_inited= 1; 03023 }
Here is the call graph for this function:

Here is the caller graph for this function:

| void item_user_lock_release | ( | User_level_lock * | ull | ) |
Definition at line 3035 of file item_func.cc.
References User_level_lock::cond, User_level_lock::count, User_level_lock::locked, and User_level_lock::thread_id.
Referenced by Item_func_get_lock::val_int(), and Item_func_release_lock::val_int().
03036 { 03037 ull->locked=0; 03038 ull->thread_id= 0; 03039 if (--ull->count) 03040 pthread_cond_signal(&ull->cond); 03041 else 03042 delete ull; 03043 }
Here is the caller graph for this function:

1.4.7

