| 53 | } |
| 54 | |
| 55 | int get_user_var_real(const char *name, |
| 56 | double *value, int *null_value) |
| 57 | { |
| 58 | my_bool null_val; |
| 59 | user_var_entry *entry= |
| 60 | (user_var_entry*) my_hash_search(¤t_thd->user_vars, |
| 61 | (uchar*) name, strlen(name)); |
| 62 | if (!entry) |
| 63 | return 1; |
| 64 | *value= entry->val_real(&null_val); |
| 65 | if (null_value) |
| 66 | *null_value= null_val; |
| 67 | return 0; |
| 68 | } |
| 69 | |
| 70 | int get_user_var_str(const char *name, char *value, |
| 71 | size_t len, unsigned int precision, int *null_value) |
nothing calls this directly
no outgoing calls
no test coverage detected