Commit Graph

19 Commits

Author SHA1 Message Date
54liuyao d94f3c5c41 fix(stream):fix stream memory leak 2024-08-30 10:53:17 +08:00
sima 1d77ea76e8 feat:[TS-4893] Backward Compatibility. 2024-08-14 09:19:25 +08:00
sima a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
Haojun Liao dc8e2e9e0d fix(query):fix error. 2024-07-28 18:03:13 +08:00
Haojun Liao 51b90819ca fix(test): fix syntax error. 2024-07-28 16:07:06 +08:00
Haojun Liao 7fbb76b441 fix(query): check return value. 2024-07-28 15:52:30 +08:00
Haojun Liao 848b4aab4f fix(util): fix error 2024-07-28 15:46:19 +08:00
Haojun Liao 1e47cb7eba other: update the test case. 2024-06-07 11:15:23 +08:00
Haojun Liao 64ae35affe fix(test): fix syntax error. 2024-05-08 09:18:36 +08:00
Haojun Liao 87dfc1f931 fix(stream):fix error in unit test cases. 2024-04-15 18:40:51 +08:00
Haojun Liao dbd3b4e2b9 test: remove print info. 2024-02-22 10:02:25 +08:00
Haojun Liao 045a30035f test(stream): init lock. 2024-02-22 09:52:47 +08:00
Haojun Liao 637e604368 test(stream): add print info. 2024-02-22 09:38:44 +08:00
Haojun Liao 5c817d101a test(stream): add print info. 2024-02-22 09:29:40 +08:00
Haojun Liao 705ae7d827 test(stream): init mnode lock. 2024-02-22 09:04:57 +08:00
Haojun Liao 03bc2d7c6d test(stream): add unit test cases. 2024-02-20 10:27:02 +08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
Haojun Liao fc218a1f69 fix(test): fix syntax errors on windows. 2024-02-05 11:09:19 +08:00
Haojun Liao 3111a01a12 test: add unit test files. 2024-02-05 09:10:43 +08:00