![]() |
MySQL 26.10.0
Source Code Documentation
|
#include "backup_page_tracker.h"#include <algorithm>#include <cerrno>#include <cstdlib>#include <string>#include <errno.h>#include <fcntl.h>#include <sys/stat.h>#include "backup_comp_constants.h"#include "mysql/components/services/bits/my_err_bits.h"#include "mysqld_error.h"Macros | |
| #define | OS_PATH_SEPARATOR '/' |
Functions | |
| static bool | has_invalid_udf_int_args (UDF_ARGS *args, unsigned int arg_count) |
| Validate that a UDF argument list contains the expected number of integer-valued arguments and that each argument has a non-null value pointer. More... | |
| int | page_track_callback (MYSQL_THD opaque_thd, const uchar *buffer, size_t buffer_length, int page_count, void *context) |
| Callback method from InnoDB page-tracking to return the changed pages. More... | |
Variables | |
| char * | mysqlbackup_backup_id |
| #define OS_PATH_SEPARATOR '/' |
|
static |
Validate that a UDF argument list contains the expected number of integer-valued arguments and that each argument has a non-null value pointer.
This guards UDFs against typed SQL NULL inputs such as CAST(NULL AS SIGNED), which may report INT_RESULT in args->arg_type[] while still providing a null entry in args->args[].
| args | UDF argument descriptor supplied by the server. |
| arg_count | Expected number of integer arguments. |
| true | The argument list is invalid. |
| false | The argument list is valid. |
| int page_track_callback | ( | MYSQL_THD | opaque_thd, |
| const uchar * | buffer, | ||
| size_t | buffer_length, | ||
| int | page_count, | ||
| void * | context | ||
| ) |
Callback method from InnoDB page-tracking to return the changed pages.
| [in] | opaque_thd | Current thread context. |
| [in] | buffer | Buffer filled with 8 byte page ids. |
| [in] | buffer_length | Total buffer length |
| [in] | page_count | Number of pages in the buffer |
| [in] | context | User data pointer passed to the InnoDB service |
| 0 | success |
| non-zero | failure |
|
extern |