From 5d6e0f2e9ad72851aea0cb339907aa27815716b4 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 14 Jan 2025 11:07:09 +0800
Subject: [PATCH] fix(connector): improve mysql error message (#20135) (#20143)
Co-authored-by: Noel Kwan <47273164+kwannoel@users.noreply.github.com>
---
src/connector/src/parser/mysql.rs | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/connector/src/parser/mysql.rs b/src/connector/src/parser/mysql.rs
index 8be9f736281c9..fbe2b7306ef99 100644
--- a/src/connector/src/parser/mysql.rs
+++ b/src/connector/src/parser/mysql.rs
@@ -32,8 +32,8 @@ use risingwave_common::types::{
use rust_decimal::Decimal as RustDecimal;
macro_rules! handle_data_type {
- ($row:expr, $i:expr, $name:expr, $type:ty) => {{
- match $row.take_opt::