Expand description
MySQL Source implementation.
Module layout (mirrors postgres/):
mod.rs(this file) —MysqlSourcestruct + connect/TLS path, the extraction-pressure sampler, thelean_pool_opts/connect_pool/build_mysql_ssl_optshelpers,introspect_mysql_table_for_chunkingtogether with the InnoDBAVG_ROW_LENGTHcorrection, the cursor-boundexec_iterexport loop (mysql_run_export), and theSourcetrait impl.- [
arrow_convert] — the entire row → ArrowRecordBatchpipeline:mysql_type_to_rivet+mysql_native_type_name,mysql_schema_and_arrow_types, BIT / TIME / DECIMAL decoders, and the array builders. Kept in a sibling because it is the largest single-purpose cluster in this driver (~510 LoC) and has zero reverse dependency back into the connection / pool / cursor layer. - [
proxy] —MysqlProxyKindenum, the pureclassify_mysql_proxyclassifier, the I/O wrapperdetect_mysql_proxy_kind, andwarn_proxy_kind. Detection runs once at connect time; the classifier is exhaustively unit-tested in isolation (no live MySQL needed).
Structs§
Enums§
- Mysql
Proxy Kind - What the MySQL connection is actually talking to.