You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/27 09:20:20 UTC
[GitHub] [shardingsphere] TeslaCN commented on issue #15037: Invalid PostgreSQL field alias query in ShardingSphere-Proxy 5.0
TeslaCN commented on issue #15037:
URL: https://github.com/apache/shardingsphere/issues/15037#issuecomment-1110770060
Cannot reproduce in latest version.
```
wuweijie-ubuntu% mysql8 -h127.0.0.1 -P13306 -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.7.22-ShardingSphere-Proxy 5.1.2-SNAPSHOT-f4ee891 MySQL Community Server - GPL
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select 1;
+------+
| 1 |
+------+
| 1 |
+------+
1 row in set (0.01 sec)
mysql> select 'a';
+------+
| a |
+------+
| a |
+------+
1 row in set (0.03 sec)
mysql> select 'a' as b;
+------+
| b |
+------+
| a |
+------+
1 row in set (0.02 sec)
mysql> ^DBye
```
```
wuweijie-ubuntu% mysql8 -h 127.0.0.1 -proot --ssl-mode=disable
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 43
Server version: 8.0.28 MySQL Community Server - GPL
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select 'a' as b;
+---+
| b |
+---+
| a |
+---+
1 row in set (0.00 sec)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org