From eb949f7afca58a78013d143585d9d295dfd138d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=8B=B1=E5=BC=BA?= Date: Thu, 17 Oct 2024 11:52:19 +0800 Subject: [PATCH] update test fn name --- parser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser_test.go b/parser_test.go index 4a55cc1..1373777 100644 --- a/parser_test.go +++ b/parser_test.go @@ -1017,7 +1017,7 @@ func AssertParseExprError(tb testing.TB, s string, want string) { } } -func TestSql_1(t *testing.T) { +func TestSql_support_values_call(t *testing.T) { sql := "INSERT INTO `daily_asset` (`trade_date`,`fund_account`,`client_id`,`day_income`,`hold_income`,`acc_income`,`day_income_ratio`,`acc_income_sw_ratio`,`acc_income_nav_ratio`,`market_value`,`fund_asset`,`total_asset`,`sw_total_net`,`bank_transfer_in`,`bank_transfer_out`,`acc_bank_transfer_in`,`acc_bank_transfer_out`,`net_in_balance`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `fund_asset`=VALUES(`fund_asset`),`hold_income`=VALUES(`hold_income`),`market_value`=VALUES(`market_value`),`total_asset`=VALUES(`total_asset`),`bank_transfer_in`=VALUES(`bank_transfer_in`),`bank_transfer_out`=VALUES(`bank_transfer_out`),`net_in_balance`=VALUES(`net_in_balance`)" stmt, err := sqlparser.NewParser(strings.NewReader(sql)).ParseStatement() if err != nil {