Commit Graph
102 Commits
Author SHA1 Message Date
朱金勇 d10e96a387 * [pgsql] Use "IF" insteal of IF. 2025-12-28 21:23:01 +08:00
liugang 5fb29024ec * [refac] Refactor the pdoInit() method. 2025-12-24 15:12:52 +08:00
liugang 3d0d9d9e7f * [refac] Set schema according to driver and database configuration. 2025-12-24 15:12:52 +08:00
liugang 5c9a7b5b3a + [refac] Add a method to get pdo driver name. 2025-12-24 15:12:52 +08:00
liugang 822d0c9f23 - [misc] Remove useless code. 2025-12-24 15:12:52 +08:00
liugang 30ef498fe3 * [misc] Fix typo. 2025-12-24 15:12:51 +08:00
liugang 3e31fd075f * [refac] Refactor to support kingbase database. 2025-12-23 12:43:37 +08:00
liugang 0e1e398ced * [misc] Add the keyword DEFAULT when installing MySQL or MariaDB. 2025-11-24 16:17:01 +08:00
朱金勇 d9e542fd1d * [dm] Remove comment 2025-11-21 13:34:08 +08:00
liugang db655d40c8 * [refac] Simplify DBH constructor query execution by using rawQuery method 2025-11-21 09:40:21 +08:00
liugang ecdd8060aa * [refac] Refactor dbh constructor to optimize property initialization. 2025-11-21 09:36:56 +08:00
liugang 6283bc548e * [refac] Simplify MySQL collation handling by allowing empty collation values 2025-11-21 09:25:55 +08:00
liugang a57f571361 - [refac] Remove useless methods. 2025-11-20 18:16:34 +08:00
liugang cea6678027 * [refac] Made getServerCharsetAndCollation method public in dbh class for broader usage. 2025-11-20 18:16:34 +08:00
liugang 0d51fa5b88 * [refac] Simplify database creation logic by using unified charset method. 2025-11-20 18:16:33 +08:00
liugang a253a09cab + [refac] Add a method to get database charset and collation. 2025-11-20 18:16:33 +08:00
liugang dc3fa3bdac + [refac] Add a method to get the server charset and collation. 2025-11-20 18:16:33 +08:00
liugang 3d56851172 * [refac] Improve charset encoding validation in dbh constructor. 2025-11-20 18:16:33 +08:00
朱金勇 e4885a3c19 * [highgo] Remove comment. 2025-11-19 08:44:34 +08:00
朱金勇 d72fcc90cb - [highgo] Remove default value. 2025-11-18 08:59:08 +08:00
朱金勇 5f61972baa * [highgo] Format attr. 2025-11-07 09:52:55 +08:00
朱金勇 a06bb630b5 * [highgo] Add iqchar. 2025-11-06 16:02:51 +08:00
liugang 2b1e26303a + [misc] Set the 'collation_connection' variable after connecting to MySQL or MariaDB. 2025-11-04 15:33:54 +08:00
liugang 09db14b46f + [misc] Add a method to get the database collation of MySQL or MariaDB. 2025-11-04 15:33:53 +08:00
liugang 9e3477f6fe * [misc] Set collation when creating database in MySQL or MariaDB. 2025-11-04 15:33:53 +08:00
liugang ebdff9d1b0 * [misc] Remove the unnecessary keyword DEFAULT when installing MySQL or MariaDB. 2025-11-04 15:33:53 +08:00
liugang 8e1143a198 + [misc] Add a method to get the server collation of MySQL or MariaDB. 2025-11-04 15:33:53 +08:00
刘刚 903df5662c Merge branch release/21.7.6 of zentao/zentaopms (#11803) 2025-10-11 17:49:19 +08:00
liugang ad08b75c7b * [misc] Fix issues scanned by SonarQube. 2025-10-11 17:47:36 +08:00
liugang 48efd1779d - [misc] Remove useless code. 2025-10-11 17:47:36 +08:00
sunguangming eae3be5ca7 * [task#66022,done,0.5h] fix bug. 2025-10-11 07:29:32 +00:00
朱金勇 bf0746e81c * [highgo] Fix dbh.class 2025-10-11 00:16:46 +08:00
wangyuting d5a6089465 * [bug#65031,done,0.2h,0h] Fix sql repalce exec error. 2025-08-28 16:48:03 +08:00
wangyidong 12e3f62fd3 * [refac bug #65052] Fix error for php8.1 2025-08-28 14:55:45 +08:00
liugang 26834dbb2a * [refac] Refactor: simplify formatAttr method by removing switch statement. 2025-08-27 16:15:37 +08:00
liugang cd787eef11 * [refac] Refactor: simplify tableExists method by removing switch statement. 2025-08-27 16:13:48 +08:00
liugang 0218f07a54 * [refac] Keep 6 decimal places. 2025-08-27 15:48:41 +08:00
liugang df0078ba19 * [refac] Refactor the dbh class to record duration and trace info when execute sql. 2025-08-27 15:14:56 +08:00
liugang ca05e041e0 * [refac] Rename dbh::config to dbh::dbConfig. 2025-08-27 14:58:19 +08:00
wangyuting 72fc1765f7 Merge branch 'release/21.7.2' into feature/projecttpl 2025-06-04 03:16:26 +00:00
liugang 274ab84cda * [bug#62977] fix undefined array key error. 2025-05-28 16:51:48 +08:00
caoyanyi 7e36e240f1 * [misc] adjsut trace check rule. 2025-05-28 14:57:00 +08:00
liugang f680926a97 * [refac] remove base path when sending trace information to z-monitor. 2025-05-27 16:03:44 +08:00
liugang a1f8a28715 + [refac] save traces of queries. 2025-05-27 15:58:02 +08:00
liugang ba65ec3d77 + [refac] add a method to save traces of queries. 2025-05-27 15:57:38 +08:00
liugang bb94448951 + [refac] add a method to get trace information. 2025-05-27 15:56:46 +08:00
liugang 3d43cd1e63 + [refac] add variable to save traces of queries. 2025-05-27 15:55:06 +08:00
liugang fc89846014 * [refac] remove boolean value from the condition. 2025-05-26 17:42:15 +08:00
liugang 4753fd38eb * [refac] use dbh::$queries instead of dao::$querys. 2025-05-26 17:33:42 +08:00
liugang 9d07dce9c2 * [refac] save queries when instantiate an object of the dbh class. 2025-05-26 17:31:41 +08:00