Commit graph

92 commits

Author SHA1 Message Date
Kijin Sung
51762315de Support "if" in <group> inside <groups> #2595 2025-09-01 00:31:20 +09:00
Kijin Sung
e7d14be6bb Fix inappropriate quoting of "distinct" in XML query
https://rhymix.org/qna/1914711
2025-08-19 00:22:02 +09:00
Kijin Sung
6e325526c8 Add notnull property to <group> tag in conditions 2025-05-29 23:08:05 +09:00
Kijin Sung
0a3fa5c77b Prevent unnecessary length calculation if minlength/maxlength are not set 2025-04-16 12:06:57 +09:00
Kijin Sung
a208e0dbbc Fix RVE-2025-1 potential SQL injection via third-party program 2025-02-16 14:55:40 +09:00
Kijin Sung
ae0e13eca9 Add unit tests for if="var" support in XML query 2025-02-15 22:42:11 +09:00
Kijin Sung
658a28dfd8 Support "if" attribute in navigation elements of XML query 2025-02-15 22:32:42 +09:00
Kijin Sung
fd0491cb0d Reorder return values of VariableBase::getValue() so that the value can be quickly accessed 2025-02-15 22:25:25 +09:00
Kijin Sung
848a45cabe Fix #2313 inconsistent email validation rules 2024-04-17 23:15:24 +09:00
Kijin Sung
dd4d04f409 Allow passing falsey values to if="" attribute of XML queries 2024-03-19 22:52:39 +09:00
Kijin Sung
8ba0d351a0 Fix warning when order_var is not set 2023-12-06 16:55:08 +09:00
Kijin Sung
f589737dcf Fix column name "unknown" in error message for insert/update queries 2023-10-04 20:57:54 +09:00
Kijin Sung
c01ba1d3cf Clean up missing or inconsistent types in remainder of parser classes 2023-10-03 16:35:20 +09:00
Kijin Sung
0484d8db27 Fix #2111 IDN not being accepted in queries 2023-05-06 22:01:11 +09:00
Kijin Sung
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +09:00
Kijin Sung
5f4e7946a3 Fix deprecation warning in PHP 8 2023-01-06 18:37:02 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Kijin Sung
23a827923e Support timestamp() with customizable format in XML query 2022-12-24 22:38:18 +09:00
Kijin Sung
4926a44ecc Fix warnings when executing unusual queries 2022-11-22 13:34:17 +09:00
Kijin Sung
b8641c3501 Use constants to control alias handling (#1956 보완) 2022-07-03 17:48:52 +09:00
dewekk
ecda6ddcb8 Update 쿼리에서 alias 기본 값 사용 안 함 2022-06-02 17:21:28 +09:00
dewekk
4907e293de
Use alias in Update Query 2022-05-31 10:54:56 +09:00
Kijin Sung
237134f64d Fix #1897 incorrect error message when query variable exceeds maxlength 2022-03-11 01:43:26 +09:00
Kijin Sung
7f6e020d97 PROPERLY fix null value handling in both read and write queries 2022-01-25 14:54:17 +09:00
Kijin Sung
7f5f67992d Revert "Fix incorrect querystring when comparing column against null value"
This reverts commit a6f771c155.
2022-01-25 14:15:08 +09:00
Kijin Sung
a6f771c155 Fix incorrect querystring when comparing column against null value 2022-01-20 16:37:12 +09:00
Kijin Sung
6a4d3d912c Fix #1706 support default="null" in XML query parser 2021-06-19 20:26:09 +09:00
Kijin Sung
6b6c0eacfc Fix SQL error when list count is 0 2021-02-26 16:25:11 +09:00
Kijin Sung
6b7486e74f Add 'ifvar' attribute to most query elements
XML 쿼리에서 'ifvar' 속성을 사용하여, 특정 변수가 있을 때만 유효한 테이블이나
컬럼, 인덱스 힌트 등을 지정할 수 있도록 합니다. 어떤 변수를 넣는지에 따라
<condition> 뿐 아니라 <table>, <column>, <index_hint? 등의 적용 여부도
XML 쿼리 수정 없이 자유롭게 컨트롤할 수 있게 됩니다.
2021-02-09 21:58:07 +09:00
Kijin Sung
800f323b9c Fix count error when searching by extra_vars
https://xetown.com/questions/1519425
2021-01-31 01:34:56 +09:00
Kijin Sung
957be16a25 Replace all wildcard columns with '1' in count-only subquery #1575 2021-01-29 14:40:28 +09:00
Kijin Sung
9bedd75a37 Wrap count query if there is a subquery column #1575 2021-01-24 11:00:09 +09:00
Kijin Sung
12ccb356b0
Merge pull request #1566 from mackeyhan/dbquery-patch
Fix 'not in' operation
2021-01-18 16:31:33 +09:00
mackeyhan
e64cbfbb9e
Fix 'not in' operation 2021-01-18 15:18:25 +09:00
Kijin Sung
03e5909036 Add ability to configure index hint with variable
See #1560
2021-01-14 00:40:57 +09:00
Kijin Sung
cf1f4f3a3b Fix incorrect handling of subquery in some SELECT DISTINCT queries 2021-01-07 01:05:32 +09:00
Kijin Sung
3f766a937c Fix incorrect handling of auto-generated COUNT(*) queries when there are GROUP BY or DISTINCT clauses 2021-01-07 00:55:43 +09:00
Kijin Sung
74d2575db7 #1517 보완: 유닛 테스트 결과를 동일하게 유지하면서 일부 로직 최적화 2021-01-02 23:01:27 +09:00
Kijin Sung
a0b324993c #1517 보완: 괄호 안의 첫 글자와 마지막 글자가 잘리는 문제 수정 2021-01-02 22:46:50 +09:00
Min-Soo Kim
f8ed3b49f2
Merge branch 'develop' into db-search-operator 2020-12-27 21:24:02 +09:00
Min-Soo Kim
96fde908ba 정규 표현식 다듬기 2020-12-27 20:58:37 +09:00
Min-Soo Kim
86b8664862 필요 없어진 flag 제거 2020-12-27 20:34:42 +09:00
Min-Soo Kim
21bf8cdaca code refining2 2020-12-27 19:54:28 +09:00
Min-Soo Kim
9e847dadcb code refining! 2020-12-27 19:44:18 +09:00
Min-Soo Kim
1bb569c84b 너무 많은 문제 수정. too much problems 2020-12-26 09:27:05 +09:00
Min-Soo Kim
09def40ee0 따옴표로 묶인 구문도 NOT LIKE 가 가능하도록 수정 2020-12-25 21:55:08 +09:00
Min-Soo Kim
510d1671be 파라미터 escape 목록 수정 2020-12-25 21:31:48 +09:00
Min-Soo Kim
e86b2ec311 따옴표 내의 빼기 기호는 의미를 부여하지 않도록 수정 2020-12-25 18:20:44 +09:00
Min-Soo Kim
8e48abd0db 주석 수정 2020-12-23 10:32:00 +09:00
Min-Soo Kim
b6698eb5e5 Fix input parmameters 2020-12-23 10:17:01 +09:00