This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 81a4e5045 fix issue 3975:reslove the postgresql error during 
ShenYu-Admin startup. (#3978)
81a4e5045 is described below

commit 81a4e50452e8b53843a55fc39135f48db4baee71
Author: Wu Daifu <[email protected]>
AuthorDate: Thu Sep 22 12:01:23 2022 +0800

    fix issue 3975:reslove the postgresql error during ShenYu-Admin startup. 
(#3978)
---
 shenyu-admin/src/main/resources/mappers/plugin-sqlmap.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shenyu-admin/src/main/resources/mappers/plugin-sqlmap.xml 
b/shenyu-admin/src/main/resources/mappers/plugin-sqlmap.xml
index ae98bf380..ceb32dbfa 100644
--- a/shenyu-admin/src/main/resources/mappers/plugin-sqlmap.xml
+++ b/shenyu-admin/src/main/resources/mappers/plugin-sqlmap.xml
@@ -154,7 +154,7 @@
         from plugin p
                  left join plugin_handle ph on p.id = ph.plugin_id
                  left join selector s on p.id = s.plugin_id
-        where p.enabled = true
+        where p.enabled = 1
         <if test="userId != null">
             and p.name in (
                 select r.name

Reply via email to