Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
Statement s = conn.createStatement();
s.execute("/*\n" +
"aaaaa\n" +
"aaaaa;\n" +
"aaaaa\n" +
"aaa\n" +
"*/\n" +
"select 1 from xxxx");
7月 11, 2022 10:08:52 上午 org.opengauss.jdbc.PgResultSet getInt
非常详细: getInt columnIndex: 1
7月 11, 2022 10:08:52 上午 org.opengauss.jdbc.PgConnection initClientLogic
非常详细: Client logic is off
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl execute
非常详细: [192.168.2.209:64134/121.36.15.2:26010] simple execute, handler=org.opengauss.jdbc.PgStatement$StatementResultHandler@709ba3fb, maxRows=0, fetchSize=0, flags=17
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl sendParse
非常详细: [192.168.2.209:64134/121.36.15.2:26010] FE=> Parse(stmt=null,query="
select 1 from xxxx",oids={})
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl sendBind
非常详细: [192.168.2.209:64134/121.36.15.2:26010] FE=> Bind(stmt=null,portal=null)
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl sendDescribePortal
非常详细: [192.168.2.209:64134/121.36.15.2:26010] FE=> Describe(portal=null)
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl sendExecute
非常详细: [192.168.2.209:64134/121.36.15.2:26010] FE=> Execute(portal=null,limit=0)
7月 11, 2022 10:08:52 上午 org.opengauss.core.v3.QueryExecutorImpl sendSync
Hey @travelliu, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
这里在解析SQL直接删除了前注释。 虽然对SQL无影响但是这种做法不好,删减用户对SQL对用户不友好。 这样发给内核的SQL,如果出现了错误,返回错误位置和用户对SQL都不匹配不上
/sig connectors
Hi @travelliu,
if you want to get quick review about your issue, please contact the owner in first: @Pike ,
and then any of the maintainers: @Pike
and then any of the committers: @travelliu , @aaronwell , @Loong , @Kamus , @vimiix , @汪伟
if you have any question, please contact the SIG: Connectors.
登录 后才可以发表评论