diff --git a/router/frontend/frontend.go b/router/frontend/frontend.go index 1502a62ea..332e3a2ec 100644 --- a/router/frontend/frontend.go +++ b/router/frontend/frontend.go @@ -203,7 +203,7 @@ func Frontend(qr qrouter.QueryRouter, cl client.RouterClient, cmngr poolmgr.Pool spqrlog.Zero.Error(). Uint("client", rst.Client().ID()).Int("tx-status", int(rst.TxStatus())).Err(err). Msg("client iteration done with error") - if err := rst.UnRouteWithError(rst.ActiveShards(), fmt.Errorf("client proccessing error: %v, tx status %s", err, rst.TxStatus().String())); err != nil { + if err := rst.UnRouteWithError(rst.ActiveShards(), fmt.Errorf("client processing error: %v, tx status %s", err, rst.TxStatus().String())); err != nil { return err } } diff --git a/test/regress/tests/router/expected/error.out b/test/regress/tests/router/expected/error.out index 188f7143f..328b070c9 100644 --- a/test/regress/tests/router/expected/error.out +++ b/test/regress/tests/router/expected/error.out @@ -45,7 +45,7 @@ ERROR: column "ixxxd" does not exist LINE 1: SELECT * FROM x WHERE ixxxd = 1; ^ SELECT * FROM x WHERE ixxxd = 1 iuwehiuhweui; -ERROR: client proccessing error: error processing query 'SELECT * FROM x WHERE ixxxd = 1 iuwehiuhweui;': syntax error on pos 32, tx status IDLE +ERROR: client processing error: error processing query 'SELECT * FROM x WHERE ixxxd = 1 iuwehiuhweui;': syntax error on pos 32, tx status IDLE SELECT * FROM x WHERE id = 1; NOTICE: send query to shard(s) : sh1 id diff --git a/test/regress/tests/router/expected/shard_routing.out b/test/regress/tests/router/expected/shard_routing.out index d3adbefc9..fa7cf30af 100644 --- a/test/regress/tests/router/expected/shard_routing.out +++ b/test/regress/tests/router/expected/shard_routing.out @@ -52,7 +52,7 @@ ALTER DISTRIBUTION ds1 ATTACH RELATION xxtt1 DISTRIBUTION KEY w_id; CREATE TABLE xx (w_id int); NOTICE: send query to shard(s) : sh1,sh2 CREATE TABLE xxerr (i int); -ERROR: client proccessing error: error processing query 'CREATE TABLE xxerr (i int);': create table stmt ignored: no sharding rule columns found, tx status IDLE +ERROR: client processing error: error processing query 'CREATE TABLE xxerr (i int);': create table stmt ignored: no sharding rule columns found, tx status IDLE CREATE TABLE xxtt1 (i int, j int, w_id int); NOTICE: send query to shard(s) : sh1,sh2 INSERT INTO xx (w_id) VALUES (1); diff --git a/test/regress/tests/router/expected/single_shard_joins.out b/test/regress/tests/router/expected/single_shard_joins.out index e904312b3..ed322c854 100644 --- a/test/regress/tests/router/expected/single_shard_joins.out +++ b/test/regress/tests/router/expected/single_shard_joins.out @@ -54,7 +54,7 @@ NOTICE: send query to shard(s) : sh2 (0 rows) SELECT * FROM sshjt1 a join sshjt1 b WHERE a.i = 12 ON TRUE; -ERROR: client proccessing error: error processing query 'SELECT * FROM sshjt1 a join sshjt1 b WHERE a.i = 12 ON TRUE;': syntax error on pos 37, tx status IDLE +ERROR: client processing error: error processing query 'SELECT * FROM sshjt1 a join sshjt1 b WHERE a.i = 12 ON TRUE;': syntax error on pos 37, tx status IDLE SELECT * FROM sshjt1 a join sshjt1 b ON TRUE WHERE a.i = 12; NOTICE: send query to shard(s) : sh2 i | j | i | j diff --git a/test/regress/tests/router/expected/switch_distribution.out b/test/regress/tests/router/expected/switch_distribution.out index c3c100d63..fa4a339fe 100644 --- a/test/regress/tests/router/expected/switch_distribution.out +++ b/test/regress/tests/router/expected/switch_distribution.out @@ -1,6 +1,6 @@ \c regress SET __spqr__distribution = ds1; -ERROR: client proccessing error: setting "__spqr__distribution" is forbidden., tx status IDLE +ERROR: client processing error: setting "__spqr__distribution" is forbidden., tx status IDLE \c spqr-console SPQR router admin console