| 2360 | |
| 2361 | |
| 2362 | static void update_timestamp_format(MYSQL_THD thd, st_mysql_sys_var *, void *, |
| 2363 | const void *save) |
| 2364 | { |
| 2365 | char *new_val= *static_cast<char*const*>(save); |
| 2366 | if (!new_val) |
| 2367 | new_val= empty_str; |
| 2368 | |
| 2369 | lock_operations.wr_lock(); |
| 2370 | strncpy(timestamp_format_buffer, new_val, sizeof(timestamp_format_buffer)-1); |
| 2371 | timestamp_format_buffer[sizeof(timestamp_format_buffer)-1]= 0; |
| 2372 | timestamp_format= timestamp_format_buffer; |
| 2373 | lock_operations.wr_unlock(); |
| 2374 | } |
| 2375 | |
| 2376 | |
| 2377 | static void update_file_rotations(MYSQL_THD, st_mysql_sys_var *, |
no test coverage detected